Why does Groovy Fast-track transition an issue report a workflow operation error?

I'm trying to setup a Groovy script to reopen any Resolved issue if the reporter adds a comment.

I'm adding a comment on the Service Desk portal to an issue that Resolved.  But I see the following error in the logs:

"It seems that you have tried to perform a workflow operation (Reopened) that is not valid for the current state of this issue (RG-1235). The likely cause is that somebody has changed the issue recently, please look at the issue history for details."

I checked the conditions, and there are no permissions on the Reopened transition.  I can click Reopen issue on the issue and it works without an issue.  I've confirmed that I've selected the correct Action (the one that is part of the Workflow on the Project).

I'm sure it's something simple!  Thanks for your help.

2 answers

Can you double check that you are performing the transition with the same user in script and from GUI.

Jozef, I'm using the Service Desk Portal to add a comment (as the reporter). I did confirm that the Service Desk Customer - Portal Access group has the Transition Issues permission on the Project.

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 Jun 14, 2018 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...

789 views 5 7
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