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,456,205
Community Members
 
Community Events
176
Community Groups

Autofill field 'customer' for child issues, if epic has 'customer' field filled

I am looking for an automation that can help cascade the 'customer' field value to all the child issues once this field is filled in an epic. Also if an epic has 'customer' field filled, any child issues created should have the same customer field henceforth. I went through the options available in the JIRA automation, however this does not seem to be a simple one. Please assist. 

1 answer

1 accepted

3 votes
Answer accepted

Hi Mohsin!

What kind of field is your 'customer' field? Is it an user field? A text or email field?

@Bill Sheboy previously offered an answer that is very similar to your request:

https://community.atlassian.com/t5/Jira-Software-questions/Copy-field-value-from-Epic-to-child-issue-with-automation/qaq-p/1421943#M175455

To quote him:

  • trigger: field changes
  • condition: issue type is epic
  • branch: on the epic's child issues
    • action: edit the field, copying from the trigger issue

You would just need to specify the 'customer' field is the one you're triggering off of.

If you have problems, it's best to take a screenshot of your rule and add it here.

Hi @Mohsin Khan

@Darryl Leeanswer is perfect for this. When you update that field branch for epic children and edit the field using the value from the trigger.

Dan

Will this work? I created automation based on above instruction:

 

Capture.PNG

Darryl Lee Community Leader Jun 10, 2022

That looks right to me. Did you test it? 

The other thing you might want to do is decide whether it should be scoped to a single project, multiple projects, or to all projects. You would set that in the Rule details, and if you select multiple or all projects, you may be limited by the number of rule executions based on your plan type:

https://support.atlassian.com/jira-cloud-administration/docs/explore-jira-cloud-plans/

Hello Darryl. It works wonders for me. Thanks ever so much. Just one help. Currently it is working only on any stories that I create under the epic. But I want it to work on even sub-tasks that I create under my stories. What change should I make to the branch rule? In other words, when a customer is updated at epic level, it should get updated on all stories below epic. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events