We want to be able to move an Epic from Done to In Progress when a story/task is added to it.
eg pseudo code:
if Epic status in (Done, Cancelled) then
change Epic status to 'In Progress'
I've tried the JSU Linked Transition, but that is does not have an 'If' ability, so the epic is moved to In Progress from any status the moment a new task is added to it.
Is there a ScriptRunner way of doing this?
Hi @Richard Lucas,
Like Bill mentioned you can do that through automation. but if you don't automation and want to do with Scriptrunner, Yes you can do that
you need to write a custom listener and validate epic link and epic's status before changing status of Epic
Regards,
Leo
JSU is also able to do this with JQL without code, using our workflow preconditions.
Please see instructions here on how to get it working, or feel free to reach out to our support if you need help.
Disclosure: I'm the PM for JSU and always on the lookout for ways to help users customize workflows without code :)
Cheers, Justine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Justine Violante {Appfire} ,
That just sounds amazing - I'll definitely investigate and let you know.
Thanks for taking the time to reply
Cheers,
Richard
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I do not know if ScriptRunner can do this, and... Have you considered trying the automation for Jira to do this transition? Perhaps something like:
To learn more about automation rules please look here:
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bill,
Thanks for taking the time to reply. Unfortunately we don't have the Jira Automation plugin, though I'm hearing good things about it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Richard. There is a free Lite version (and a paid one) for Server in case you want to try it out.
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.