Implement Automated Issue Inactivity Follow-ups and Closure in Jira Service Management Cloud

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

目的

This article will explain two approaches on how to build an automation rule to set three stages of reminders for inactive issues which are stuck in a particular status for a certain number of days.

ソリューション

Approach 1:  Using Automation schedule trigger

  • 非アクティブ リマインダーを処理する特定のステータスに属するすべての課題を選択します。 


  • The first condition will pick up the issues that are due for the first reminder and have been inactive for three days in that particular status.
{{#=}}{{now.diff(now.minusDays(3)).businessDays.abs.gte(3)}}{{/}}




  • 2 番目のブロックは、最初のリマインダーから 3 日間、非アクティブだった課題をピックアップします。
{{#=}}{{now.diff(issue.first reminder date).businessDays.abs.gte(3)}}{{/}}


  • 3 番目のブロックは、2 回目のリマインダーから 3 日目以降に非アクティブであり、同じステータスである課題をピックアップします。
{{#=}}{{now.diff(issue.second reminder date).businessDays.abs.gte(3)}}{{/}}


メモ:

  • 最初のリマインダー日2 回目のリマインダー日は、プロジェクトの関連画面で作成されて追加される必要がある日付タイプのカスタム フィールドです。
  • 最初のリマインダー フラグは単一選択ドロップダウンのカスタム フィールドです。これは YesNo の 2 つの値で作成する必要があります。既定値を No に設定します。



Approach 2: Using Automation and Service Level Agreements (SLAs)

You can create SLAs that start when an issue is moved to the specified status and breach after the specified number of days when you want to perform the follow-up or auto-closure.

In the below example, we describe how to create an automation rule to auto-close the ticket after three days when the agent/user changes the status to Resolved and doesn't get a reply from the customer.

Step I: Create an SLA that starts when the status is set to Resolved and breaches after three days

  1. Go to Project settings > SLAs.
  2. Click on Add SLA and in the field next to the clock icon, enter a new name for the SLA "Waiting for closure."
  3. Scroll down to the Conditions section. Under Start counting time when, choose a condition/statuses on which SLA needs to start: Entered status: Resolved or Resolution: Set

  4. Under Finish counting time when, choose the condition/statuses on which you want to stop the SLA: Entered status: Waiting for support, Closed 
  5. Under Time Goal, set the goal as the required amount of time in hours/min when you want the auto-closure to be done; say for three days, specify 72h. 
  6. Select the Calendar: 24/7 calendar or 9-5 Weekday calendar
    •  Use 24h(3-days) in Time Goal if the 9-5 weekday calendar is selected
    • Create a custom calendar to pause the SLA on weekends and holidays. 
  7. Add Issues to display (in JQL) to filter the tickets
  8. Click Save to save the SLA configuration. It will look something as below:

This SLA clock will start when the ticket is moved to Resolved status as shown below:


Step II: Create an Automation rule to auto-close this ticket when the SLA breaches

  1. Go to Project settings > Automation > Create Rule.
  2. Select the trigger as "SLA threshold breached" and choose the SLA "Waiting for closure"(created in Step I). The option breached should be selected by default under "Trigger when SLA has".
  3. Select Action as Comment on issue and change the visibility to Share with customer. You can use smart values to access issue data like reporter information in the comment.
  4. Select Action as transition issue to Closed status
  5. Publish the rule.

Notes : 

  • If you would like to send reminders before auto-closure, you can create separate SLA and automation rules similar to as described above.
  • Using this approach, you can add Holiday dates in calendar to send notifications only on business days.


最終更新日 2024 年 11 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.