Bug? with script runner after upgrading to jira 6.3.6


I'm using "Fast track an issue" built in script from script runner to automatically transition issues. 

After upgrading to JIRA 6.3.6, I'm getting the following error whenever the transition is "hidden" ( Using "Hide Transition" condition from "JIRA Misc Workflow Extensions" 

"Error Messages: [It seems that you have tried to perform a workflow operation (Setup Cloned Fields) that is not valid for the current state of this issue (IC-25857). The likely cause is that somebody has changed the issue recently, please look at the issue history for details.] " 

It worked perfectly before the upgrade. 


Any idea how can I solve this issue as it really affecting my users. 

3 answers

1 vote

I think this is a bug with JMWE... maybe @David [Innovalog] can help.

After quite a lot of looking at this, I see that the condition examines the current stack and fails if called from AbstractWorkflow.getAvailableActions.

However issueService.validateTransition eventually calls this function:

at com.atlassian.jira.workflow.IssueWorkflowManagerImpl.getAvailableActionIds(IssueWorkflowManagerImpl.java:186)
	  at com.atlassian.jira.workflow.IssueWorkflowManagerImpl.isValidAction(IssueWorkflowManagerImpl.java:173)
	  at com.atlassian.jira.bc.issue.DefaultIssueService.validateTransition(DefaultIssueService.java:424)
	  at com.atlassian.jira.bc.issue.DefaultIssueService.validateTransition(DefaultIssueService.java:386)

So I am not going to do anything to work around this...


I believe this is https://innovalog.atlassian.net/browse/JMWE-255, which is fixed in the upcoming 3.5.2 version. A SNAPSHOT version is attached to the issue.

Sorry for the inconvenience. 

thanks David.

0 vote

Upgraded from what version? We've discussed this before here, I don't think it's a bug, and am a bit reluctant to override the security. It's not really that the action is hidden, it's that the conditions don't pass, so it's not a valid transition. But if it's affecting multiple people we can work out a way to get round this.

Suggest an answer

Log in or Join to answer
Community showcase
Louis De Jaeger
Posted Thursday in Off-topic

Friday fun: your best joke

Hi all Lets make this Friday fun really fun and post one (or more) of your best jokes! The joke can be about an Atlassian product, or just a really fun joke you want to share! I’m not the best j...

171 views 12 3
Join discussion

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