Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

(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
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

689 views 17 19
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you