Hi All,
I have the following issue types:
The story and the Task have two different workflows. When the story transitions to "Done" I would like the following to happen:
This is proving to be very challenging for me, please assist. I am using script Runner
Did you try the "Clone issue and link" post function by script runner ?
Hi Mizan,
I'm new to groovy and scriptrunner. I'm not sure how to do it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On the "Done" transition of your Story workflow add a post function
select Script post function then Add
select Clone issues and links
select target issue type as Task
In additional actions enter the below code
issue.summary = sourceIssue.key+': ' + sourceIssue.summary
select issue type link direction as relates to (first one) (You can create your own link types as well)
Add then publish workflow
Test it out by transitioning "Done" of the story
Let me know how it goes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Happy to help :) thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mizan,
Many thanks for your advice :)
Unfortunately, the code doesn't work for me, could you please advice what could be the reason? - thanks, Platon
Also, for all newbies like me, who will read this article:
To see the "Script post function" in Post Function, you need to set up plugin:
ScriptRunner - $5 per month.
Thanks, Platon
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.