I have a requirement where I need to put a validation of one of the Custom field change on issue - now I need to check "Time to resolution" value whether it has crossed the SLA or not - based on this value only I need to allow user to change value of that field.
I am writing a Behaviour on that custom field - but unable to get value of Time to resolution in script - it shows Null to me when I print- I am using below:
def sla = getFieldByName("Time to resolution")
def slatime = getFieldById("customfield_10120")
def slaval = slatime.getValue()
System.out.println("SLA::: " + slaval)
Hello Community! Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...
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