Devops Update Workitem
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#AZURE_DEVOPS_UPDATE_WORKITEM' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "AZURE_DEVOPS_UPDATE_WORKITEM",
"parameters": {
"project": "<string>",
"workItemId": "<string>",
"title": "<string>",
"assignee": "<string>",
"state": "New",
"reason": "<string>",
"area": "<string>",
"iteration": "<string>",
"additionalFields": {}
}
}'
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Your Paragon Project ID
Body
Project : Specify a project to update this work item in. Use Connect Portal Workflow Settings to allow your user to select a Project. (example: "{{settings.project}}")
Work Item ID : The ID of the work item to update.
Title
Assignee : Specify a user that this work item should be assigned to.
State : The state of the created work item.
New
, Active
, Resolved
, Closed
Reason : The reason for the created work item. This value may accept different values depending on the current State of the work item.
Area : The area for the created work item. Use Connect Portal Workflow Settings to allow users to select an area path.
Iteration : The iteration for the created work item. Use Connect Portal Workflow Settings to allow users to select an iteration path.
Additional Fields : Specify any additional fields that should be created with this work item as JSON. (example: " { "Custom.customfield": "Value for custom field" }")
Response
Success
Was this page helpful?
curl --request POST \
--url 'https://actionkit.useparagon.com/projects/{project_id}/actions/#AZURE_DEVOPS_UPDATE_WORKITEM' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"action": "AZURE_DEVOPS_UPDATE_WORKITEM",
"parameters": {
"project": "<string>",
"workItemId": "<string>",
"title": "<string>",
"assignee": "<string>",
"state": "New",
"reason": "<string>",
"area": "<string>",
"iteration": "<string>",
"additionalFields": {}
}
}'