Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,413
Community Members
 
Community Events
168
Community Groups

(Scriptrunner) auto create stories WITHIN the epic.

So I know that auto creating issue types with scriptrunner is pretty easy with the provided scripts, and im using the Clone an issue, create a link script, but it's not quite solving my problem. I have a post function on an epic that I want to auto create 3 stories WITHIN the epic on the transition, not just creating a link between the issues after auto create. Does that make sense? Any help would be great. 

1 answer

0 votes

Epic links are a bit funny - they're not quite links, but logically, they are.

If you've got a script for "create issue X from Epic-123 and link X back to Epic-123", you're almost there.  But replace the "link X back to Y" with "update custom field 'epic link' with the 'epic name' on Epic-123"

Hi Nic,

I appreciate the answer but I'm not sure what the script would actually be. The default scripts do not provide something that will copy a value from one field on the original (Epic) issue to the newly cloned (Story) issue with a new custom field (Epic Link) to actually create that different "link". I'm relatively new to scripting and there doesn't seem to be any provided scripts that actually do this. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events