Hi Experts
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)
Please suggest,
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.