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
Community showcase
Asked Dec 06, 2018 in Jira Service Desk

Looking for teams who switched from email to Jira Service Desk

The Jira Service Desk marketing team is working on a guide to help new Atlassian customers switch from email to JSD and we'd love to hear from you! Please share: - What made you realize that i...

252 views 1 6
View question

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