We have 3 workflow transtions in our Jira workflow. Following are the 3 transitions -
Production Incident Occurred
Initial Analysis Started
Initial Analysis Completed
Now we need to send email alert 2 day's before "Due Date" if anybody do not complete "Initial Analysis Completed" transtion.
We have configure "Escalation service" From Builtin Script Runner. In the Escalation Service we have put following line in "Additional Issue action" Section -
"issueInputParameters.setComment('The issue is not updated for last 7 days...Please take necessary action on it')"
and set JQL Query "status = Open and project = "Project Name" and updated < -7d"
So a comment has been generated 7 days prior automatically if the issue not updated.
Right now we need to send email regarding this instead of comment.
Can you please help us how can we configure this ?