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 Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,209 views 6 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot