You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have scripted field and name is last priority info this field will reflected for specific project all type of incidents
Requirement / scenario(script runner)
Scripted filed should shown the value of previous updated priority filed
Example:
I have 3 history updated for priority field for issue
1) From low to high
2) From High to medium
3) From Medium to low
Hear latest update one is 3rd one that is "From Medium to low"
Hear scripted filed needs to show "Medium"
Required code for above requirement
You might be able to do this with an automation rule. The rule could be triggered on changes to the priority field, and use the changelog entries to populate your custom field. This would only have the values for changes after the rule is implemented. Please look here if you want to try that approach: https://support.atlassian.com/cloud-automation/docs/jira-cloud-automation/
If you instead are trying to create this with a marketplace addon for dynamic fields, please look at the documentation for that addon to learn how to implement what you ask.
Kind regards,
Bill
I would also give it a try with automation rules if scripting is not your thing.
Way easier to create and maintain.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.