Skip to main content
Skip table of contents

Select an Environment in a Golive custom field

This automation selects target environments for Change Requests based on the value of the Promotion Path field.

It automatically updates the Environment(s) field using predefined environment IDs. This ensures the correct environments are selected for specific types of changes, such as production fixes, without manual input.

Environments by name

If you prefer to select a Golive environment by name instead of by ID, refer to the corresponding documentation article.


Requirements

  • Golive must be installed on your Jira instance.


Configuration

This setup uses one Jira Automation rule:

image-20260325-124432.png

Step 1: Set the Trigger

Create a trigger that starts the automation when the Promotion Path field changes.

  • Trigger: Field value changed

  • Field: Promotion Path

This ensures the automation reacts immediately when the change type is updated.

Step 2: Add a Condition

Add a condition to check the selected value of the Promotion Path field.

  • Condition: Field value equals

  • Field: Promotion Path

  • Value: Production Fix

This ensures the automation only applies to the relevant type of change.

Step 3: Update the Target Environment

Update the Environment(s) custom field with predefined environment IDs.

Additional Fields:

JSON
{
    "fields": {
        "customfield_XXXXX": ["56", "467"]
    }
}

Make sure to update the custom field ID XXXXX to match your Environment custom field ID.

Replace the list of IDs (in this example 56 and 467) to match your Golive Environment IDs (visible in the top left corner of the Environment Detail View).


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.