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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,149 views 2 14
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