Notifications
Notify Me feature is currently available with Azure AD Importer for JSM Assets. We will enable the feature for all of our applications soon.
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.
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.
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}}
.
4- Add an action for “Create incident” or “Create issue”.
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 |
---|---|
{{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:
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
9- Select “Save the rule without enabling” option at the top.
Give a name. I.e.: Pio Importer Notification
Select the webhook component. You will find it with more details now. Click on “No issues from the webhook” option.
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.