when i opened bug, sub-bug i want to set a value to the sprint and epic name\link filed from there parent.
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)
Sadly I think Nic is right regarding the sprint and epic fields and sub-tasks.
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!
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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