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

  1. Navigate to Integrations hub for Jira

  2. Click New Integration button

  3. Enter a good name

  4. Select Trigger

  5. Select Incoming Webhook Trigger

  6. Click Save
    You now have all you need to proceed to the next step.

Navigate to Global Automation

  1. Navigate to Global Automation in Jira

  2. Click create

  3. Search for trigger Object

  4. Select the event you like such as Created and add it

  5. Search for Send a web request action and add it

  6. Paste the URL from the iHub Trigger page on the integration

  7. Select Custom data

  8. 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