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

Populate Epic field when a bug related to an issue is created

Hi All!

 

I was wondering how I could create an automated rule that when a Bug is created and is related to an issue, the Epic field may me populated withe parent issue Epic.

Thanks for the help!

 

Cheers

1 answer

Hi @jose_matzkin 

What have you tried thus far?  Would you please post an image of your automation rule and the audit log?  That may provide more context for the community to help you.  Thanks!

And, what do you mean by "related to an issue" for the bug? Do you mean linked or something else?

And, do you mean the epic of the linked issue to the bug is the target, such as:

Bug -- (link) -- Issue -- (epic link) -- Epic

 

If you haven't started yet, maybe try something like this:

  • trigger: issue created
  • condition: issue type is bug
  • condition: issue has linked issue
  • action: create variable for the epic key, initializing it to null
  • branch on link: perhaps using the new advanced branch feature
    • condition: linked issue has an epic link
    • action: update the created variable with the epic's key
  • condition: created variable is not equal to null
  • action: edit the trigger issue to set the epic link to the created variable

 

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS

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