Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA rest api to update status when multiple transition ids are a possibility

RV March 12, 2018

I am using rest api to update the status of a jira issue, for ex: update the status to 'Resolved' irrespective of what it's current status is. In the workflow, I have various transitions from various states to the 'Resolved' status. Each of those transitions have their own transition 'id's. 

I have seen the rest api to update the status by passing a transition 'id'. But I have multiple transition id's here and not sure to pick which one as I am not sure what the current status is.

I can find the current status and all, but is there a direct way to update the status to a particular one irrespective of what the current status is?

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 12, 2018

No.  The only way to change the status of an issue is to move it through a workflow transition that takes it to the new status.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events