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)
It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...
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