Skip to main content

Add work item comment

Add a comment to a work item's discussion.

Command in the Azure DevOps toolkit · id ooa.azure_devops/add_work_item_comment · 5 inputs (5 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.
IDNumberYesWork item id.
TextStringYesComment text; simple HTML is allowed.

Outputs​

OutputTypeWhat it is
comment_idNumberId of the new comment.