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:

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

Action: Create work item

Step 2: Create a new Golive Automation rule
This is the setup in Golive Automation. For more information, refer to Trigger Custom Webhooks.
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:
Content-type
CODEapplication/json
X-Automation-Webhook-Token
CODE<token from your Jira Automation trigger>
Custom Payload
{
"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.