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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot