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

jose_matzkin July 7, 2021

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

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 7, 2021

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