Notifications

Notifications

If you would like to get notified automatically about the errors of your imports, you can create a Jira Cloud Automation rule having a Web Trigger. Please find the steps for creating an automation rule below. Once you created your rule you can provide your automation URL and a Secret to your Importer Application on the Admin Tab / Set Up Automation Notifications section. Your Importer Application will send a notification in case there is an error during Daily or Hourly imports.

Screenshot 2025-02-10 at 23.20.32.png

 

How to Create an Automation Rule

If you are new to JSM Automation, here are the steps for an example automation creation:

1- Go to Project Automation or Global Automation menus, depending on your permissions. (Refer to Atlassian Documentation)

2- Search for Webhook as the trigger and add. Click next.

Screenshot 2025-02-10 at 23.41.56.png

3- Optional: If you want to get notified only on the business days, you can add a condition step to validate. You can compare {{now.toBusinessDay}} and {{now}}.

Screenshot 2025-02-10 at 23.40.55-20250210-154101.png

4- Add an action for “Create incident” or “Create issue”.

Screenshot 2025-02-10 at 23.41.10.png

5- Select a project and an incident/issue type.

6- You may use automation smart values to fill the Summary and Description of your ticket. I.e.:

Smart Value

Description

Smart Value

Description

{{webhookData.category}}

Defines the type of the import. I.e. Daily or Hourly Import

{{webhookData.time}}

The time when the error occured in UTC format.

{{webhookData.info}}

The message that explains the situation.

7- Enable the following settings:

If an alert triggers the rule, link the alert with the incident
Don't create a new incident if the action has already created an open incident of the same type in the project

8- You can also use other notification methods as you wish.

For example:

  • Email

  • Slack Message

  • Microsoft Teams Message

  • AWS SNS

  • SMS via Twilio

  • Web Request to any other system

Screenshot 2025-02-10 at 23.51.53.png

9- Select “Save the rule without enabling” option at the top.

Screenshot 2025-02-11 at 00.00.29.png
  1. Give a name. I.e.: Pio Importer Notification

  2. Select the webhook component. You will find it with more details now. Click on “No issues from the webhook” option.

Screenshot 2025-02-11 at 00.04.04.png

3- Copy the Webhook URL and the secret and paste them to our importer application’s notification under the admin tab.

4- Click the Next button

5- Click the Update button.

 

Your rule is ready for notifications now.