Skip to main content
Skip table of contents

Create a Jira ticket on Environment attribute update

This guide walks you through an example where Jira Automation and Golive Automation are configured to automatically create a Task in the NP Jira project whenever the Owner attribute of an eCommerce environment is set to "David".


Requirements

Golive Cloud must be installed on Jira Cloud.

Note

This example has been tested on Jira Cloud, but it should also work on Jira Data Center. If you encounter any issues on Jira DC, feel free to contact us via our Customer Portal.


Configuration Steps

You’ll need to create a new Jira Automation and a new Golive Automation.

Step 1: Create a new Jira Automation rule

This is the setup in Jira Automation for Jira Cloud:

image-20250729-154358.png

Jira Automation Configuration

Trigger: Incoming webhook

The Jira Automation will be triggered by Golive Automation in the Step 2.

Condition: Smart value

In our use case, we want to create a new Jira work item, only if the new Owner Environment Attribute equals “David”.

image-20250729-154705.png

Action: Create work item

image-20250729-154859.png

Step 2: Create a new Golive Automation rule

This is the setup in Golive Automation. For more information, refer to Trigger Custom Webhooks.

image-20250710-114202.png

Golive Automation Configuration

Event: Environment updated

The Golive Automation rule will be triggered when a Golive environment is updated. You can add an Environment filter if you need to restrict on a subset of your environments.

Endpoint: POST <Jira Automation incoming webhook>

Make sure your reuse the trigger information from the Jira Automation you create in Step 1. You must add the following Headers:

  1. Content-type

    CODE
    application/json
  2. X-Automation-Webhook-Token

    CODE
    <token from your Jira Automation trigger>

Custom Payload

CODE
{
  "data": {
    {% for change in environmentChanges %}
      "{{change.field}}": "{{change.to}}"
    {% endfor %}
  }
}


Need Assistance?

For support with integrating Golive and Jira Automation, reach out to our Customer Portal.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.