Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Get last updated value of priority from issue history

Edited

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

 

 

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 15, 2023

Hi @Inetinfo Inetinfo 

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

Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Nov 15, 2023

I would also give it a try with automation rules if scripting is not your thing.

Way easier to create and maintain.

Suggest an answer

Log in or Sign up to answer