Skip to main content

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​

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.
TypeStringYesWork item type, e.g. Bug, Task, User Story, Issue.
TitleStringYesTitle of the work item.
DescriptionStringNoDescription; simple HTML is allowed.
Assigned toStringNoPerson to assign, by sign-in email or display name.
Area pathStringNoArea path.
Iteration pathStringNoIteration (sprint) path.
TagsStringNoTags separated by semicolons.
Parent IDNumberNoId of a parent work item to link to.
FieldsDictionaryNoMore fields by reference name, e.g. {"Microsoft.VSTS.Common.Priority": 1}.

Outputs​

OutputTypeWhat it is
idNumberWork item id, e.g. 4711.
urlStringWeb address of the work item.