External DocumentationTo learn more, visit the Azure DevOps documentation.
Parameters
| Parameter | Description |
|---|---|
| Fields | A JSON array of field objects to add to the created work item: “value” - the value to fill in the field. ”path” - the path of the field to be filled. Set to “/fields/System. Field Name” in case of a pre-existing field or to”/fields/Custom. Field Name in case of a custom field. Examples of common fields: System.Title, System.Description,System.State, System.Reason, System.Tags, System.AreaPath, System.IterationPath. ”from” - set to null. ”op” - set to “add”. |
| Organization | The Azure DevOps Organization. You can view the Organizations list in the Azure DevOps Organizations page. |
| Project | The Project ID or Project name. You can view the Projects list in the Azure DevOps Projects page. |
| Type | The work item type of the work item to create (Task, Issue, Epic, Test Case, Test Plan, Test Suite or any custom work item type). |
Example Output
{
"id": 999,
"rev": 310,
"fields": {
"System.AreaPath": "<string>",
"System.TeamProject": "<string>",
"System.IterationPath": "<string>",
"System.WorkItemType": "<string>",
"System.State": "<string>",
"System.Reason": "<string>",
"System.CreatedDate": "2022-09-26T01:02:05",
"System.CreatedBy": {
"displayName": "<string>",
"url": "<string>",
"_links": {
"avatar": {
"href": "<string>"
}
},
"id": "<string>",
"uniqueName": "<string>",
"imageUrl": "<string>",
"descriptor": "<string>"
},
"System.ChangedDate": "2021-12-22T10:49:02",
"System.ChangedBy": {
"displayName": "<string>",
"url": "<string>",
"_links": {
"avatar": {
"href": "<string>"
}
},
"id": "<string>",
"uniqueName": "<string>",
"imageUrl": "<string>",
"descriptor": "<string>"
},
"System.CommentCount": 754,
"System.Title": "<string>",
"Microsoft.VSTS.Common.StateChangeDate": "2023-06-21T13:44:49",
"Microsoft.VSTS.Common.Priority": 218,
"System.Description": "<string>",
"System.Tags": "<string>"
},
"_links": {
"self": {
"href": "<string>"
},
"workItemUpdates": {
"href": "<string>"
},
"workItemRevisions": {
"href": "<string>"
},
"workItemComments": {
"href": "<string>"
},
"html": {
"href": "<string>"
},
"workItemType": {
"href": "<string>"
},
"fields": {
"href": "<string>"
}
},
"url": "<string>"
}