I have a request to automatically set the urgency custom field value based on the value of other two custom fields (priority and impact). We have script runner installed but don't know what is the best way to do that.
Note: we want to set this while creating the issue,but not as a post function.
I'm not sure I understand this "while created, not as a post function". The create transition has a post-function which is the perfect place to do it - user has put in good data, commited the new issue, perfect time to work out and populate another field.
Your script boils down to
There are quite a few examples at https://scriptrunner.adaptavist.com/latest/jira/quickstart.html
Thank you very much for your reply. I already created the java script and I put it in the field description but the problem that if I changed the project or the issue type and changed it back to the issue that has this script in one of its filed, Jira does not load the script again, it just ignore it.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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