Skip to main content

Comment on pull request

Start a new comment thread on a pull request.

Command in the Azure DevOps toolkit · id ooa.azure_devops/add_pull_request_comment · 6 inputs (6 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
Organization address (URL)StringYesOrganization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server.
Personal access tokenCredentialYesPersonal access token from the vault, with the scopes this action needs (e.g. Work Items read and write); a Microsoft Entra ID token works too. Or leave it empty and choose a connection that signs in, which gets and renews the token.
ProjectStringYesProject name, e.g. Finance Portal.
RepositoryStringYesRepository name or id, e.g. finance-portal-api.
Pull request IDNumberYesPull request id.
TextStringYesComment text in Markdown.

Outputs​

OutputTypeWhat it is
thread_idNumberId of the new thread.