Select an Environment Using the Environment ID
This guide covers a specific use case where Jira Automation is configured to automatically select the target Environments for Change Requests (Jira issues) based on the type of change defined in the Promotion Path field. For example, selecting Environments for changes like versions, patches, or production fixes.
Requirements
Golive Data Center must be installed on Jira Data Center.
Important
This example is not compatible with Jira Cloud.
Configuration
This is the setup for Jira Automation:
%2520(1)%2520(1)%2520(1).png%3Falt=media?inst-v=2209d94e-a721-46cd-97a2-1297cf759223)
Automation Configuration
Step 1: Set the Trigger
Trigger: Field Value Changed.
This automation rule is triggered whenever the drop-down field Promotion Path is updated.
Step 2: Add a Condition
Condition: Field Value Equals
Specify a condition to check if the Promotion Path value is set to Production Fix.
Step 3: Update the Target Environment
Update the "Environment(s)" custom field (ID 11'000
) with the Environments "eCommerce Test" (ID 56
) and "eCommerce Staging" (ID 476
).
Additional Fields:
{
"fields": {
"customfield_11000": ["56", "467"]
}
}
Need Assistance?
For support with integrating Golive and Jira Automation, reach out to our Customer Portal.