Hi. I know the question is sort of an oxymoron but what I want it somewhat that. There is an issue where I have the UI permission to 'Withdraw', 'Decline' etc. which will basically change the status to 'Closed'. I understand that the status cannot be changed with the update method, so the transition_issue must be used, but I'm getting an empty list for the available transitions on this issue. Is there any other way I can set it to 'Closed'?
I'm struggling to fully understand the problem here, but it sounds like you have something in 'Decline' or 'Withdraw' resolution but want to move it to 'Closed', and the 'Status' is still the same (ie. Done, resolution can be 'Decline', 'Withdraw', 'Closed', etc.) - so you're looking to update the Resolution under the same Status?
If yes, the best way I can think is to implement a new transition that loops back to the same status, and either you:
a) set a screen to allow you to pick any resolution you need, or;
b) post-transition to set it to desired resolution
In any case, when you need a transition and there is no available transition, you either need to implement a new transition, or fix the permissions/conditions of an existing one.
Right. So it seems the REST_API user didn't have permissions to close issues opened by other users, despite being the 'everybody' group which does have permissions to transition issues. I suppose this might be because of a more granular permission setting somewhere. It came down to either implementing a new work flow within the project or playing with the permissions.
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
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