Known Issues | Support | YAML | Task Parameters
Create Work Item
The Create Work Item task allows you to create a work item from a build or release.
You can find the changes notes for this task here.
- Due to manifest changes in the Visual Studio Marketplace, the regular extension cannot be installed in an offline Team Foundation Server. If you need a working vsix file for your Team Foundation Server, please download the on-prem version of this extension from here.
- Due to an issue in extension handling of Team Foundation Server and Azure DevOps Services (and a complementary mistake in our extension manifests) you might get the message "Error finding the extension" when you try to open one of the custom task editors using the "three dots" buttons. If you run into this issue, please contact us via email so we can work with you to fix the problem.
If you need help with the extension, run into issues, or have feedback or ideas for new features, please contact us at email@example.com or create an issue here.
Adding the Task to a YAML Definition
To add the Create Work Item task to a YAML build or release definition, use the task name and major version like this
- task: CreateWorkItem@1 and set a display name using the
displayName property. Then add all task inputs as described under Task Parameters.
A sample YAML representation of the task is shown below.
- task: CreateWorkItem@1
displayName: 'Create work item'
title: 'Bug from Build'
assignedTo: 'Arthur Dent <ArthurD@Hitchhiker.org>'
Description=Created by build $(Build.DefinitionName)-$(Build.BuildNumber)
Repro Steps=Test from Build