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!
Two thoughts offhand:
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
Set issue status to the linked status of the destination workflow step.
Add a comment to an issue if one is entered during a transition.
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.
Fire a Generic Event event that can be processed by the listeners.
Thanks.
Charles.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.