Im trying to auto transition an issue if the SLA is breached. This SLA will breach about 3 statuses before it gets to this transition, hence why i cant use automation.
So i need the groovy script for the JQL "125 SLA" = breached() that i can use in the condition.
Thanks
Hi Robert,
Thank you for your question.
I can confirm that with ScriptRunner for Jira Server contains the Escalation Services functionality as described here which allows you to run a JQL query to return issues periodically based on the Cron expression specified and then to perform an action on the issues returned.
Using this functionality you would be able to run your JQL to return all breached issues on the period specified and then to transition those issues to the required status.
The example in the documentation page located here shows how to Close issues which have been waiting for customer for one year automatically and will be a good reference guide to help you create the Escalation Service that you require to achieve your requirement.
I hope this information helps.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.