Workflow Action Invalid?

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

Accepted Answer
1 vote

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

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
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

102 views 3 7
View post

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