Skip to main content
Skip table of contents

Create a Jira Ticket When an Environment Attribute Is Updated

In this guide, we'll show an example where Jira Automation and Golive Automation are configured to automatically create a Task in the NP Jira project when the Owner attribute of an eCommerce environment is set to “David”.


Requirements

  • Golive Cloud must be installed on Jira Cloud.

Info

This example has been tested on Jira Cloud, but it should also work on Jira Data Center. If you run into issues on Jira DC, contact us via our Customer Portal.


Configuration Steps

You will need to create:

  • One Jira Automation rule

  • One Golive Automation rule

Step 1: Create a Jira Automation Rule

Create a new Jira Automation rule as follows:

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 Golive Automation Rule

Create a new Golive Automation rule with the following configuration:

Info

For more information, refer to the Trigger Custom Webhooksdocumentation.

image-20250710-114202.png

Golive Automation Configuration

Event: Environment Updated

  • Triggers when any Environment is updated.

  • Optional: Add filters to restrict it to specific Environments (e.g., only eCommerce).

Endpoint: POST <Jira Automation incoming webhook>

Ensure to reuse the trigger information from the Jira Automation you created in Step 1. You must add the following Headers:

  • Content-type:

    CODE
    application/json
  • 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.