Error reporting for workflow operations Edited

One of the most common errors our automation scripts hit is: 

 

08:21:02 {
08:21:02     "errorMessages": [
08:21:02         "It seems that you have tried to perform a workflow operation (Awesome Transition) that is not valid for the current state of this issue (JRA-1337). The likely cause is that somebody has changed the issue recently, please look at the issue history for details."
08:21:03     ], 
08:21:03     "errors": {}
08:21:03 }

 

Is there anything better one can do to identify this problem other than parsing the error message? This seems brittle. An error code would be much better?

Maybe there is some way to execute the operation as a conditional HTTP request (e.g. If-Unmodified-Since) handling this on another level?

0 answers

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

175 views 1 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