Moves an Issue to a new triage state and optionally records a note. Allowed transitions are OPEN to IN_PROGRESS and back, OPEN or IN_PROGRESS to IGNORED, and IGNORED back to OPEN or IN_PROGRESS. Moving to IGNORED requires the ignore details, such as the reason and an optional expiry after which the issue can reopen. RESOLVED is set only by policy evaluation and cannot be requested. Requesting the current state with a note updates only the note. The object's issuesSummary reflects the change shortly afterwards rather than immediately.
Response
Returns an IssuesUpdatePayload!
Arguments
| Name | Description |
|---|---|
orgId - OrganizationId!
|
The Organization identifier. |
input - IssuesUpdateInput!
|
Update input including target state and optional ignored details. |
Example
Query
mutation issueUpdate(
$orgId: OrganizationId!,
$input: IssuesUpdateInput!
) {
issueUpdate(
orgId: $orgId,
input: $input
) {
issueId
}
}
Variables
{
"orgId": "615f3b3b28284380e28a7342",
"input": IssuesUpdateInput
}
Response
{"data": {"issueUpdate": {"issueId": 4}}}