how can i set value for issue from his parent with Automation for JIRA?

hi,

when i opened bug, sub-bug i want to set a value to the sprint and epic name\link filed from there parent.

for example:

story A - belong to sprint #2, epic name= test

when i open a bug or sub bug under this story i want them to have also the same value for  sprint=sprint 2 and epic name= test like there parent ( story A)

tnx

 

2 answers

0 vote

You won't be able to do that - sprint and Epic name and link are specific field types that do not exist on sub-tasks and can't be added.  The best you can do is copy their data into other fields.

0 vote
Andreas Knecht Community Champion Jan 23, 2017

Hi Avi,

Sadly I think Nic is right regarding the sprint and epic fields and sub-tasks.

This answer provides some more details on how to copy fields with Automation for JIRA for related issues: https://answers.atlassian.com/questions/42370036

Further, this answer shows you how to create a Story in an Epic using Automation for JIRA: https://answers.atlassian.com/questions/41467321 (it shows how to set the epic link)

That answer copies fields to linked issues, but you can use the same 'Related issues' action to copy fields from parent -> subtask and vice versa.

Hope that helps!

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
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

671 views 3 11
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