List work item comments
Read the comments in a work item's discussion, newest first.
Command in the Azure DevOps toolkit · id ooa.azure_devops/list_work_item_comments · 5 inputs (4 required), 2 outputs
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. | |
| Maximum results | Number | No | 200 | Most items to return; pages are read until this many are found. |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Columns: id, text, created_by, created_date. |
| count | Number | Number of comments returned. |