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

Hi  @Andreas Knecht

Can we do the same When an issue is edited and now got an epic link (was blank at the creation)?

I didn't found how to do it with this plugin.

 

Thanks.

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
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

165 views 0 4
Read article

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