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

Creating an automation rule to copy a field value from an Initiative to their Epics

Coco S Chaussée
Contributor
March 8, 2023

I need to pass a custom field value from Initiatives to their respective Epics (children) when that field is updated.

I do not have the option of a plug-in.

I have reviewed the similar questions and answers on this channel, but haven't seen an answer that works.

Thank you for your input.

2 answers

1 vote
Kristopher Perez
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.
March 8, 2023

Here is how I would setup the Automation.

  1. Trigger should be to monitor for the Custom Field
  2. Add a condition to make sure this is only being monitored on Initiatives (this will ensure that if the fields gets modified on other issue types you won't go down to an unintended level
  3. Use a Branch Rule and choose JQL.  Set the JQL to "Parent Link" = {{issue.key}} and issue type = Epic.  This will find all the linked Epics and modify each with your next action
  4. Edit Issue, Select the custom field and use the following syntax {{triggerissue.customfieldNameOrId}}

Cursor_and_Automation_-_JIRA.png

0 votes
Kristin Lyons
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.
March 8, 2023

Could you try an Automation set up as follows, changing the field in the first section and also adding an Action under the branch "For Epic"

 

Screenshot 2023-03-08 at 1.25.58 PM.png

Kristopher Perez
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.
March 8, 2023 edited

The "For Epic (parent)" only works for the issues under an Epic.  In order to get the children of an Initiative you have to JQL for "Parent Link" = {{issue.key}}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Events