Perform a transition on an issue
Perform a transition on an issue. When performing the transition you can update or set other issue fields. The fields that can be set on transition, in either the fields parameter or the update parameter can be determined using the /rest/api/2/issue/{issueIdOrKey}/transitions?expand=transitions.fields resource. If a field is not configured to appear on the transition screen, then it will not be in the transition metadata, and a field validation error will occur if it is submitted. The updateHistory param adds the issues retrieved by this method to the current user’s issue history, if set to true (by default, the issue history does not include issues retrieved via the REST API). You can view the issue history in the Jira application, via the Issues dropdown or by using the lastViewed JQL field in an issue search.
/api/2/issue/{issueIdOrKey}/transitionsAuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
AuthorizationBearer token · headerrequiredPersonal Access Token — Administration > Profile > Personal Access Tokens
AuthorizationBasic auth · headerrequiredIn order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.
issueIdOrKeystringrequiredIssue id or key
application/jsonIssue update bean
fieldsobjecthistoryMetadataHistoryMetadataShow propertiesHide properties
activityDescriptionstringactivityDescriptionKeystringactorHistoryMetadataParticipantShow propertiesHide properties
avatarUrlstringdisplayNamestringdisplayNameKeystringidstringtypestringurlstringcauseHistoryMetadataParticipantShow propertiesHide properties
avatarUrlstringdisplayNamestringdisplayNameKeystringidstringtypestringurlstringdescriptionstringdescriptionKeystringemailDescriptionstringemailDescriptionKeystringextraDataobjectgeneratorHistoryMetadataParticipantShow propertiesHide properties
avatarUrlstringdisplayNamestringdisplayNameKeystringidstringtypestringurlstringtypestringpropertiesEntityPropertyBean[]Show propertiesHide properties
EntityPropertyBeankeystringvaluestringtransitionTransitionBeanShow propertiesHide properties
descriptionstringfieldsobjectidstringnamestringopsbarSequenceinteger<int32>toStatusJsonBeanShow propertiesHide properties
descriptionstringiconUrlstringidstringnamestringselfstringstatusCategoryStatusCategoryJsonBeanShow propertiesHide properties
colorNamestringidinteger<int64>keystringnamestringselfstringstatusColorstringupdateobjectReturns a response indicating the result of the transition operation.
Returned if the transition is not valid for the issue, or the user does not have permission to transition the issue.
Returned if the issue does not exist.
If transition ID is incorrect.