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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

322 views 2 4
Read article

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