Asset triggers to start integrations
This how-to describes how to trigger a integration when there is a Create, Update or Delete event on an asset in a schema.
Â
Create a new Integration
Navigate to Integrations hub for Jira
Click New Integration button
Enter a good name
Select Trigger
Select Incoming Webhook Trigger
Click Save
You now have all you need to proceed to the next step.
Navigate to Global Automation
Navigate to Global Automation in Jira
Click create
Search for trigger Object
Select the event you like such as Created and add it
Search for Send a web request action and add it
Paste the URL from the iHub Trigger page on the integration
Select Custom data
Enter the body
{ "objectId":"{{object.id}}", "name":"{{object.Name}}", "attribute_name":"{{object.(attribute name)}}" }
Automation smart values - Assets | Cloud automation Cloud | Atlassian Support
Note that object.(attribute name) needs to be replaced with the attributes that you want to send.
Save the automation and activate it