Please add any details that might help us help you.
After migrating the Jira SOAP API to REST, we are experiencing a problem with the workflow transitions.
We have got at workflow status "A" which have two valid paths: Status "B" and "C".
Status "B" has a condition defined:
"Hide transition from the user (the transition can be triggered only programmatically or from a workflow function). "
Status "C" has no conditions defined.
Moving an issue from status "A" to "B" using the REST interface is invalid and we get the error:
"It seems that you have tried to perform a workflow operation A that is not valid for the current state of this issue <issueid>. The likely cause is that somebody has changed the issue recently, please look at the issue history for details."
The REST url used is:
When displaying the valid transitions for the issue (via the REST interface) only status "C" is show as valid.
So! who to move an issue to a status with a condition defined?
The REST service is authenticated with a admin account
You need to remove the "hide transition from user" condition.
The thing here is that (the transition can be triggered only programmatically or from a workflow function) really does mean you have to be running the transition inside JIRA. REST is an external interface. REST is treated exactly as a user is - think of it as an alternative to the web UI. You've told JIRA to hide the transition from the user, so it can't be seen by REST users.
Well, it was possible via the SOAP interface which also is an external interface?? I don't see the difference. If I remove the conditions the states will be visible in the UI which I don't want. Is there a way to hide them in the UI without applying a condition.
In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to have–in order to produce a reliable long-term roadmap. We're tur...
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!
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