How do we transition an issue via API?

Anyone know which package/module needs to be set to DEBUG in order to get the debugging info for transitioning an issue through the API?

 

We are able to transition a specific issue via the GUI, but using the same account via API, we cannot transition the issue.  There is an error, but we don't see it and the error does not appear in the atlassian-jira.log.  

2 answers

1 accepted

Accepted Answer
0 votes

You could try to enable the HTTP Access logging, but this tends to provide way more information than is usually helpful.   But I'm curious if there is perhaps something wrong with the REST request being made.

Since you know this users can perform this action in the web gui of Jira, that tends to indicate this isn't a permissions problem.  Could you share with us the syntax of your request?   I've seen lots of users that start trying to use REST API in Jira for the first time and tend to encounter REST problems in regards to omitting the section that creates the user session first.  The details of that can be slightly different depending on what authentication method you are using to make this rest call.

Is this user able to perform any other kinds of actions via REST?  Like an issue edit?

Regards,
Andy

Thanks Andrew. You're correct that this was related to the REST call and not to permissions, since the user could perform the function via the GUI.

Yes, the user could create issues but could not transition them.

The developer was able to get it sorted out.  I have requested the calls (before/after) and will load them after they are sent to me.

0 votes

If you mean the REST API, then the response message should contain the reason.  What response are you getting?

Thank you, Nic. Looks like we got it figured out. I'll post the solution when I receive the bits.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

75 views 0 3
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you