Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any common id to resolve and reopen the jira issue via rest API.

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.

2 answers

1 vote
Tansu Akdeniz Community Leader Sep 11, 2020

Hi @MURALI SARAVANAN M 

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?

Regards

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.

Lets make it simple, i just need to change the Resolution to "Unresolved" and "Resolved" when ever i needed, do we have any API to make this other than transition API'sScreenshot (879).png

Tansu Akdeniz Community Leader Sep 11, 2020

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.

Thanks and one more doubt. For Asset management plug in should be used right?And that too is available is trial version or not?

0 votes

I'm having the same problem as the others walgreenslistens.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

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...

163 views 0 4
Read article

Community Events

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

Events near you