Use Webhooks to Add Jira Automation to Checkout Automation

  1. Create an Automation rule in Jira

  2. Use the “Incoming Webhook” Trigger

  3. Select “No Issues from the webhook”

  4. “Copy URL” to paste into the Checkout Automation later.

  5. After the Trigger, add a “FOR EACH: Create a branch” component and select “Advanced Branching”

  1. Enter “{{webhookData.items}}” in the “Smart value” input, and “item” in the “Variable name” input.

The data sent to the Jira Automation webhook from Checkout Automation can vary, in this specific scenario, it will send a list of items. The below image is an example of the json it sends:

  1. Add a “Create issue” action component in the branch. Select the target Project, target issue type, and enter “{{item.itemTitle}}” in the “Summary.” (Note, that you cannot select either “Same project” or “Same project as trigger”, the automation will not work!)

  1. Save and Publish the rule.

  2. Navigate to Checkout Automation.

  3. Click “Create Rule” and select the “Request created” Trigger

 

 

  1. Add a “Send Webhook” action component.

  2. Select “POST” in “HTTP method”

  3. Paste the Webhook URL that you copied from the Jira Automation rule

  4. Enter “Content-Type” and “application/json” in the “Headers (optional)” text inputs.

  5. Click “Save” and “Publish Your Changes” and you should be all set!

 

 

Write into our Support Desk with any questions you have.