develeap/Create WorkItem

Create a work item in Azure Devops/tfs

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
tokenAzure Devops/tfs personal access token [More on how to create a personal access token](https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate) yes
organization_urlAzure Devops/tfs organization url. For Azure devops: https://dev.azure.com/{organization} For tfs: https://{server:port}/tfs/{collection} [More about](https://learn.microsoft.com/en-us/rest/api/azure/devops) yes
projectThe team project in which to create the new work item. For example: myProject [More about team projects](https://learn.microsoft.com/en-us/azure/devops/organizations/projects/about-projects?#view-projects-in-your-organization) yes
workitem_typeSpecify the work item type you want to create. Example: 'Bug' or 'Task' or 'User Story' or 'Feature' or 'Epic' You can get the project work item types with REST API. [More about it](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/work-item-types/list) yes
field_MappingsWork item fields mappings to be added to the work item in TFS. Field consists of referenceName and value. Example: 'System.Title = Title of the work item' [More about work item fields](https://learn.microsoft.com/en-us/azure/devops/boards/work-items/guidance/work-item-field?view=azure-devops) You can get list of fields with REST API. [More about it](https://learn.microsoft.com/en-us/rest/api/azure/devops/wit/fields/list) yes
attach_filesFiles to attach to the work item. Can be file name in the current directory, absolute path to file or path with wildcard. Example: 'file.txt' or 'C:\file.txt' or 'C:\*.txt' no
namedescription
workitem_urlThe url of the created work item