Change issue status
| Suitable Enviroment | SaaS |
| Private Deployment |
Requirements
| ONES |
|---|
| v6.0.69+,v6.1.3+ |
tip
The issue status change triggered by post actions has the value "Post function" system user in the triggerUserID field of the eventContext in the payload. The issue status change triggered by process automation has the value "Automation" system user in the triggerUserID field of the eventContext in the payload.
Payload
EventData
| Field | Type | Description |
|---|---|---|
issueID | string | ID of the issue associated with the event. |
trigger | string | There entry points for triggering the update of a issue's status: modifying the status on the work item details page、batch Change of issue status(transition), post actions(postFunction), and process automation(automation). |
fromStatus | Status | Change of issue status info. |
toStatus | Status | Change of issue status info. |
Status
| Field | Type | Description |
|---|---|---|
id | string | ID of issue status. |
Example
{
"data": {
"eventType": "ones:project:issue-status:changed",
"eventID": 1773166207945625601,
"timestamp": 1709005723000,
"eventContext": {
"triggerUserID": "U1esfPni",
"teamID": "7A6aGmBc",
"organizationID": "mkobhu1u"
},
"eventSubscriber": {
"subscriberID": "Re6FSci9",
"clientID": "Re6FSci9"
},
"eventData": {
"issueID": "U1esfPni9HnuBHCd",
"trigger": "issueStatusChanged",
"fromStatus": {
"id": "Pni9HnuB"
},
"toStatus": {
"id": "he6FSci8"
}
}
}
}