• Community
  • Products
  • Jira
  • Jira Core
  • Questions
  • Auto transition of issue resulting in "It seems that you have tried to perform a workflow operation (Done) that is not valid for the current state of this issue"

Auto transition of issue resulting in "It seems that you have tried to perform a workflow operation (Done) that is not valid for the current state of this issue"

I am using the Automation to auto transition issues in a certain project from To Do to Done when they are initially created but in the log I am seeing "It seems that you have tried to perform a workflow operation (Done) that is not valid for the current state of this issue". I have checked the workflow and moving from To Do to Done is valid. The rule fires on Issue Created and perhaps that Status not To Do when the rule tries to change the status. Please help!

3 answers

This widget could not be displayed.

Two thoughts offhand:

  1. Make sure the transition is last in your post-function list
  2. Make sure the ID of the To Do to Done transition you are attempting matches the ID of the To Do to Done transition that is valid in the workflow.

 

Hi Jeremy.

Thanks for the reply.

I can't reorder the transition so it is last in the post-function list. Is it possible that the list of 5 that i see are essential and therefore cannot be reordered? I see the following:

The following will be processed after the transition occurs

Move upMove downEditDelete

Set issue status to the linked status of the destination workflow step.

Move upMove downEditDelete

Add a comment to an issue if one is entered during a transition.

Move upMove downEditDelete

Update change history for an issue and store the issue in the database.

Re-index an issue to keep indexes in sync with the database.

Move up Move down Edit Delete

Fire a Generic Event event that can be processed by the listeners.

Thanks.

Charles.

Is there a sixth?  Otherwise, how are you executing the auto transition?  I'm only familiar with the Script Runner post function "fast track transition an issue".

Hi Jeremy.

There are only the 5 items in the post-function list. I am not familiar with "the Script Runner post function "fast track transition an issue".

 I am getting the automation to try to execute the auto transition.

Thanks.

Charles. 

This widget could not be displayed.

I edited the workflow and connected the Create to the Done so that when tasks are Created they are closed automatically. They can then be reopened if they need to be. This is a project used to store our Alerts and Monitoring Alarms. We want to store them and action them only if need be.

This widget could not be displayed.

I had the same problem; fixed it by adding an additional "Issue Updated" event below the "Issue Created" event, and then setting the Automation to trigger off the latter. Whatever was needed, that did the trick.

Hope that helps.

_David

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 6 hours ago in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26 views 0 1
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