Create work item
Create a work item such as a Bug, Task or User Story.
Command in the Azure DevOps toolkit · id ooa.azure_devops/create_work_item · 12 inputs (5 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. | |
| Type | String | Yes | Work item type, e.g. Bug, Task, User Story, Issue. | |
| Title | String | Yes | Title of the work item. | |
| Description | String | No | Description; simple HTML is allowed. | |
| Assigned to | String | No | Person to assign, by sign-in email or display name. | |
| Area path | String | No | Area path. | |
| Iteration path | String | No | Iteration (sprint) path. | |
| Tags | String | No | Tags separated by semicolons. | |
| Parent ID | Number | No | Id of a parent work item to link to. | |
| Fields | Dictionary | No | More fields by reference name, e.g. {"Microsoft.VSTS.Common.Priority": 1}. |
Outputs
| Output | Type | What it is |
|---|---|---|
| id | Number | Work item id, e.g. 4711. |
| url | String | Web address of the work item. |