Setting up email notifications when assets are created, updated or deleted
This guide provides step by step instructions on how to send email notifications when your assets are created, updated, and deleted using Jira automation and AMFJ's Events feature.
Step 1: Configure the Jira Automation Rule
- Navigate to the project where you want to set up the automation rule.
- Click on the Project settings menu, and select Automation from the sidebar.
- Click Create Rule to initiate the rule creation process.
Step 2: Define the Trigger Event
- Select Incoming Webhook as the trigger
❗ Important:
You must turn on your rule to generate the Webhook URL and Secret.
After the rule is enabled, return to the Incoming Webhook trigger to select No work items from the webhook.
This step is required for your automation to work correctly.
Step 3: (Optional) Configure Trigger Conditions
- Set up specific conditions for the trigger event if necessary. Conditions ensure that the rule is triggered only when specific criteria are met.
Step 4: Define the Action
- Select Send email from the available actions.
You can include asset/event type details in the email body and subject line using the following smart values:
- Asset Name:
{{webhookData.name}}
- Asset Type:
{{webhookData.assettype.name}}
- Location:
{{webhookData.location.name}}
- Event Type:
{{webhookData.event_type}}
Step 5: Save the Rule and Configure the Webhook Settings
- After you've finished configuring the rule, click Validate and click Turn on rule.
Once the Rule is Named and Saved:
- Go back to the Incoming Webhook section of the rule and follow the steps in the image below:
- Select No work items from the webhook
- Click Update rule
- Copy the Webhook URL and paste it into AMFJ
- Copy the Secret and paste it after the Webhook URL, separated by a
/
Step 6: Set Up the AMFJ Events Webhook
- In AMFJ, go to Settings, then select the API & Events tab.
- Toggle Enable Events to On.
- In the Request URL field:
- Paste the Webhook URL
- Add a forward slash
/
Paste the Secret after the slash
- In the Event Subscriptions box below, select the event types you want to be notified about:
asset.create
asset.update
asset.delete
- Click Save
You're All Set!
With everything connected, your automation rule will take care of sending email notifications whenever assets are created, updated, or deleted.
If you run into any trouble with these instructions, please don’t hesitate to reach out to us at support@assetmanagementforjira.com — we’ll be happy to help.