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 ?
If you don't wan't to change something on the issue you could use the builtin subscriptions for filters. Create a filter which finds all issues for which you want to send an email (use reporter=currentUser() if you want to send the email to the reporter) and create a subscription for a user group which contains all relevant users (see https://confluence.atlassian.com/display/JIRA/Receiving+Search+Results+via+Email).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henning,
I do not want to configure subcription.
Actually 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 instead of comment 7 day's prior of "due date" if any issue is not updated
We need to send the mail 7 day's prior of "Due Date" based on any workflow status. Could you please inform us how we can configure this ?
Regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you tell me why you don't want to configure a subscription?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hennings,
I have not quite understand if we configure subcription how Jira send mail automatically if any issue staus not updated for 7 days based on only "Due date" or send mail 7 days prior to due date
Regards
Sumit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your search should be something like
status != "Initial Analysis Completed" and duedate < endOfDay(7)
You will get all issues which are not in status Initial Analysis Completed and where the due date is before end of today + 7 days. If you want the assignee to get the email you add
and assigne = currentUser()
If the reporter should get the email you add
and reporter = currentUser()
If you create a subscription for this filter (see link in my answer) for a group of all potential users (e.g. "jira-users", but a smaller group would be better) the system does this search for every user and if it finds matching issues the user will get an email with all matching issues.
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.