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
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Organization address (URL) | String | Yes | Organization or collection address, e.g. https://dev.azure.com/contoso, or https://devops.contoso.local/tfs/DefaultCollection for Azure DevOps Server. | |
| Personal access token | Credential | Yes | Personal 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. | |
| Project | String | Yes | Project name, e.g. Finance Portal. | |
| ID | Number | Yes | Work item id. | |
| Text | String | Yes | Comment text; simple HTML is allowed. |
Outputs
| Output | Type | What it is |
|---|---|---|
| comment_id | Number | Id of the new comment. |