Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Action Invalid?

Arik Kogan August 14, 2013

I'm using OnDemand JIRA + Greenhopper.

I've set up a custom workflow for issues that represent feature requests and a separate workflow for each sub-task type (coding/testing/etc) that automatically transitions the parent issue through its workflow (via post-functions).

Everything works great until all the sub-tasks for an issue are resolved and I am asked if I want to move the parent issue to "Done".

I receive the following error:

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

The parent issue's workflow has a "Mark Complete" transition that moves if from "Testing" to "Complete". This transition fires an "Issue Resolved" event and it works perfectly fine if I manually trigger the transition on the issue.

Why is the workflow operation "(Unknown)"? How do I define the "Mark Complete" transition as the one to use when the "Move to Done" function is selected?

Please help! Thanks :)

2 answers

1 accepted

1 vote
Answer accepted
EddieW
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 14, 2013

You would have to use the common transition and target step of "resolve" to get that button to work instead of the Mark COmplete -> Complete.

See https://jira.atlassian.com/browse/GHS-6499

0 votes
Arik Kogan August 15, 2013

Thanks, Eddie! When I updated my workflow to transition from Testing to Resolved and then Resolved to Complete, the Move to Done function worked perfectly.

I'd love to know why though! My configuration for the Mark Complete transition that I was using to resolve issues previously was exactly the same as the configuration for the Mark Resolved transition that I'm using now. The only difference is that the workflow now has another step beyond the issue being marked as resolved (i.e. Resolved -> Complete). Are you saying that the Move to Done function is hardcoded to recognise the Resolved status?

Suggest an answer

Log in or Sign up to answer