Hi
I need to clear the calculated value of a SLA when an event occurs (i.e. when a ticket is commented). I mean clear NOT restart from where it was paused.
I tried this in groovy:
issue.setFieldValue("customfield_xxxxx","" ) where xxxxx is the SLA customfield
but, although the returned value by issue.getAsString("customfield_xxxxx") is null, the value of the SLA is not recalculated in the Issue.
Can anyone suggest a solution?
Thanks
Paul
Have you tried this API endpoint?
https://<instance_name>.atlassian.net/rest/servicedesk/1/servicedesk/sla/admin/task/destructive/reconstruct?force=true
Please refer to the documentation https://confluence.atlassian.com/jirakb/how-to-use-automation-to-recalculate-sla-on-a-specific-issue-subset-of-issues-1255455124.html
Hope this helps!
Thanks,
We are using DataCenter, not Cloud.
How can we make it work in DataCenter
Thanks again
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I found a simple solution:
The Time could is automatically restarted the The cycles are even counted.
Thanks
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.