Can Automation be used to automatically populate the Component field from the Epic Link?

When creating a new Task in JIRA, I choose the Epic Link to associate the new task with it's parent epic. I would like the Component/s field on the new task to automatically populate with the Epic's Component/s field.

Can Automation be used to automatically populate the Component/s field from the Epic Link? If so, how can this be accomplished?

Does the component field change in real-time in the browser (client side)? or only after submitting the issue with the create button (server side)?

1 answer

0 vote
Andreas Knecht Community Champion May 23, 2017

Hi Craig,

Yes this should be fairly simple to setup. Here's an example rule:

copy-components-epic.png

Here's how this works:

  • When an issue is created
  • We check that this issue is in fact a 'Task' and that it is linked to an Epic with the JQL condition
  • Next we edit this issue using the 'Edit issue' action. Add the components field and simply select 'Copy from epic' in the dropdown

This will happen immediately *after* the task is created (server side).  JIRA doesn't provide any APIs to pre-populate the components field in the create issue dialog client-side.

Cheers,
  Andreas

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Thursday in Off-topic

Friday Fun: Magic Eyes

...staring into the background. Once the image pops out in 3D, you can look around the picture and enjoy. If you will see if you are a true illusion master! :) You did it? :) Wow! Awesome! As a bonus...

415 views 79 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you