Environment: Jira Cloud
Agile Methodology: Kanban
Situation: Support ticket flow
Customers report an issue, issue is worked then placed in "Verify" to get sign off from original reporter issue is resolved.
Customers (reporter) don’t always know what verify means.
The below script sends an introductory email explaining the status and our expectations.
How?
Workflow - Edit Transition - Post Function - ScriptRunner Post-Function - Send Notification
Description: Email Reporter when ticket enters Verify
Checked - Enable Post function
Condition Script Context: issue.fields.reporter != null
Checked - Notify reporter
Users:
Groups:
Subject: A Ticket You Opened Has Entered Verify
Message Script Context:
def fields = get('/rest/api/2/field')
.asObject(List)
.body as List<Map>
"""Dear ${issue.fields.reporter?.displayName},
The ${issue.fields.issuetype.name} ${issue.key} that you created has been moved to Verify state.
For your reference it is our expectation that when we complete the work requested, a Jira issue is moved into the “Verify” state. The original requester, or the person experiencing the issue, should then confirm the request has been completed and transition the card to “Done” or make an update (comment) indicating the issue is still not resolved.
Regards,
Team Name"""
Run As: Scriptrunner add-on user
Agile Methodology: Kanban
Situation: Support ticket flow
Customers report an issue, issue is worked then placed in "Verify" to get sign off from original reporter issue is resolved.
Customers (reporter) don’t always know what verify means.
The below script sends an introductory email explaining the status and our expectations.
How?
Workflow - Edit Transition - Post Function - ScriptRunner Post-Function - Send Notification
Description: Email Reporter when ticket enters Verify
Checked - Enable Post function
Condition Script Context: issue.fields.reporter != null
Checked - Notify reporter
Users:
Groups:
Subject: A Ticket You Opened Has Entered Verify
Message Script Context:
def fields = get('/rest/api/2/field')
.asObject(List)
.body as List<Map>
"""Dear ${issue.fields.reporter?.displayName},
The ${issue.fields.issuetype.name} ${issue.key} that you created has been moved to Verify state.
For your reference it is our expectation that when we complete the work requested, a Jira issue is moved into the “Verify” state. The original requester, or the person experiencing the issue, should then confirm the request has been completed and transition the card to “Done” or make an update (comment) indicating the issue is still not resolved.
Regards,
Team Name"""
Run As: Scriptrunner add-on user
Comments
Post a Comment