I have this code snippet:
def origPriority = underlyingIssue?.priority.getName()
log.debug(String.format("orig priority is %s", origPriority))
When i change the priority in the Jira UI, i expected the logfile to show me:
orig priority is <the-original-priority>
Instead, i'm getting the changed/new priority.
So how can i get the original value of the Priority before the user changed the priority?
I need to know if the user has changed the priority and take appropriate action if necessary.
For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events