Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update Due date based on the SLA goal ? Is there any plugin for Jira Cloud?

Tulasi Saisripad
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 2, 2018

For example SLA goal is 24hrs for 9-5calender(01-08-2018 to 03-08-2018).  After 16hrs SLA is on a paused state for 8 hours, due date field should be automatically extend to one more day. 

(if the SLA goal is paused, the Due date should be updated when it is restarted.)

 

1 answer

0 votes
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2018

Checkout ScriptRunner.

* Create a transition & and a stutus for pausing SLA.

* Write a  post function and attach it to this transition to update the due date:

issue.setDueDate (new Timestamp (cal.getTimeInMillis() + X * 1000 * 24 * 60 * 60))

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events