Auto-Create Jira Tickets on Automation Failure

お困りですか?

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

コミュニティに質問

Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.

要約

Creating an automated system to raise a support ticket in Jira Service Management whenever an automation rule encounters a failure.

診断

There are certain actions that can be utilized in the event of a rule failure. These actions allow you to determine the desired response in case of an error. The available options are as follows:

  • Email the rule owner once the rule starts failing after success
  • Email the rule owner every time the rule fails
  • Don't notify

There is currently no direct method to raise a ticket when the rule fails. 

ソリューション

We suggest the following workaround to ensure that tickets are raised automatically whenever the automation rules fail:

  1. Invite the email address of the project's email handler as a user on your site administration page. You do not need to give any product license to this user.
    • You can find it from Project settings > Email requests

  2. Select this user as the rule owner in your automation rule
  3. Select the option 'Email rule owner every time the rule fails' as shown below
  4. Invite the email address 'automation@<SITENAME>.atlassian.net' as a customer in your project. Make sure that you are not adding it to any customer organization to avoid sharing the tickets with all the organization members.

The above automation rule will create a ticket in the project from where the email address was taken.



最終更新日 2024 年 11 月 26 日

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

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