We are using Jira 7.3, we have a requirement to copy "cost" field of epic, to new or associated work package with this epic, so that the value of the "Cost" field given in epic is copied to its associated work package if that field is empty here
Any help or reference or script
ScriptRunner is probably going to be the best way. Otherwise you'll need other add-ons to create scripts or provide functions.
Next question though - when do you need to do this update and how?
If you just want the cost on the Epic to show in the work package at all times, a scripted field is a good option
If you want the cost to copied when creating the issue, then you'll want a post-function on the "create" transition
If you want the cost to be updated when the Epic changes or the issue is edited, you'll need a listener
>an Epic is selected in a work package
That mandates a listener then. Start at https://scriptrunner.adaptavist.com/latest/jira/listeners.html - you'll want it to catch issue created and updated events.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...
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