I have two workflows. One for requests and one for Enhancements. Our Enhancement workflow has a status that requires manager approval before work can begin. Because these two workflows have the same statuses, when I change a Request to an Enhancement via Move Issue, it keeps the same status and does not allow me to transition the issue to Open and through the necessary approval process. Is there a way if the issue is moved to an Enhancement it knows that approval is needed and would therefore not keep the current status, say it's In Progress, and will allow issue to either be transitioned or is there a trigger that would know it's an Enhancement that requires approval so therefore it would seek approval?
My current approval process is a simple status Approved by manager button with only manager access to execute this transition. Maybe I'm doing approvals wrong and there is a better method, automation, validator or post-function I can incorporate to make this flow better?
Your help is much appreciated
Basically it sound like when you do a move from Request to Enhancement you would want the state to go back to the beginning state or at least one prior to the approval state. If i'm missing something please ignore the rest of my suggestion. :-)
Is it possible to change one of the workflow to not have the same statuses. In this way when you move an issue you would have to specify the status mapping, e.g. In Progress would be set to Open.
Another option, and likely more paletable would be to transition the status while it is still a Request back to say Open. If you make Open an All transition that would be best. Then when you move it to Enhancement it will be pre-approval status.
Thanks for your reply. I have tried renaming the statuses but to standardize things we'd like to keep the basic status names. I have also created transitions back to open (only visable and executable by administrators via validators) but when running the automation it does not transition the issue back to Open status. It is possible that my syntax is incorrect.
In addition to @Boris Berenberg input which is very probable....
i use cloud so this is a bit different I don't have "type" everything is issuetype. however, I am wondering about the WHEN and IF here. I am suspicious that the IF is not triggering. I assume that "issuetype" is not an option for the IF? Conversely, "Type" is not available for When?
With server you can you view automation logs to run a test and see where it is falling out?
Ok so I tested with no permission conditions on the transition back to Open and automation ran successfully.
Because we don't want to have the Open transition available to all users. I added Automation for JIRA to the Administrators group and reapplied the permission on the Open transition and ran the automation again. It was successful.
I'm going to play around with this a bit to make sure it is solid but thank you so much for your assistance.
...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...
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!
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