Every time getting the transition of the issue and filtering the id and again updating is difficult. And also there are different transition names, so filtering is difficult from issue to issue.
When you create a transition in workflow, system generates new id. Let's say that "Resolve issue" transition id is 10. This number never changes for the issues which use same workflow. Can you please clarify what is the main problem?
Hi @Tansu Akdeniz ,
Thanks for the reply. My question is if i want to resolve or reopen the issue , do i have any common id for all the issue regardless of project to resolve it or reopen it. For example, status category is fixed with id=3 for "done" ,Like wise do we have any common id which wont change. With this category id we can't change the resolution.
I'm asking this because , every time if i need to resolve the issue,i need to get the transition for the issue and then i need to search for transition id for "Resolve" or "Resolve the issue" and so on.Then i need to use that id to resolve the issue.And the name of the resolution is also changing with respect to issue type ..i.e, "Resolve" in one issue type, "Resolve the issue" in another issue type, "Close" in another one, "Done" in one type, "Close the issue" in one type.
There is no common id unfortunately. If there are different workflows with different resolve id's, you have to set the related transition id in REST API in order to resolve that issue. Same for re-open.
Tip 1: It is possible to copy workflow then transition id's will remain same.
Tip 2: It could be easier if you change all transition names in different workflows as "Resolve". Then you make your first request and identify the resolve transition easily with common name and make the second request.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events