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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,465,088
Community Members
 
Community Events
176
Community Groups

Automation - Link story to epic

I am currently using an automation to create an epic and stories every month.  I have the automation setup like this:

Trigger: When: Scheduled - The last day of the month

Then: Create Epic

And: Create Story 1

And: Create Story 2

And: Create Story 3

I need to automatically link the stories to the triggered epic once they are created.  I have tried every possible option to copy the epic link and epic name from the epic to the stories within the "Choose fields to set option" and nothing works.  Can anyone help?

Screenshot 2022-12-20 161236.png

2 answers

Hi @Lakin Duplessis

Assuming you are using Cloud version.

I am enclosing the same steps mentioned by @Bill Sheboy but with little change:

  • trigger: scheduled
  • action: create issue (for your epic)
  • branch: to most recently created issue
    • action: add story, with the epic link "Copy from trigger issue" as this will refer to the branched-to epic
    • repeat...

Enclosed the screenshots here:

Epic and stories.pngEpic ticket.png

Hope this helps.

Thanks,
Vamsi

Thank you for your reply!  I set my automation per your steps above, but it is still not linking the Epic to the Story.  I ran the rule, and when I check the Story on the board, it still requires a manual step to link the Story to the Epic.Screenshot 2022-12-22 105915.pngScreenshot 2022-12-22 105959.png

Hi @Lakin Duplessis

Can you send me the screenshot of how you configured the rule for creating the 'Epic' issue type?  Are you providing and setting the value for 'Epic Name' field also?

Thanks,
Vamsi

0 votes

Hi @Lakin Duplessis -- Welcome to the Atlassian Community!

Please try branching to the new epic before adding the new stories.  For example:

  • trigger: scheduled
  • action: create issue (for your epic)
  • branch: to most recently created issue
    • action: add story, with the epic link (parent) of {{issue.key}} as this will refer to the branched-to epic
    • repeat...

Kind regards,
Bill

Hi Bill.  Thanks for your reply.  That didn't work either.  :(

Would you please post a new image of your current rule and the audit log details, and explain what is not working as you expect?  For example, are the issues created and not linked, or something else is happening?  Thanks!

I posted my current rule in the comment above from Vamsi.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events