Skip to main content
Skip table of contents

Edit Deployed Work Items

In this guide, we'll show an example where Jira Automation and Golive Automation are configured to automatically update the Test Coverage Percentage custom field of Jira work items that are part of a Golive deployment.


Requirements

  • Golive Cloud must be installed on Jira Cloud.

  • The Test Coverage Percentage Deployment Attribute must be configured in Golive and populated for your deployments. For detailed instructions, refer to the Manage Applications documentation.

  • The Test Coverage Percentage Custom Field must exist in Jira and be added to the screens of the deployed work items.

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 with the following configuration:

image-20250818-153106.png

Jira Automation Configuration

Trigger: Incoming Webhook

This Jira Automation will be triggered by the Golive Automation in the Step 2. We also added a condition to execute the rule only if the coverage value is an integer.

image-20250818-153222.png

Action: Edit Work Item

Update the Test Coverage Percentage custom field with the value of the coverage variable to be defined in Step 2.

image-20250818-153429.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-20250818-153845.png

Golive Automation Configuration

Event: Version Deployed

  • Triggers when a deployed version 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
{
  "coverage": {{environment.deployment.attributes["Test Coverage Percentage"]}},
  "issues": [
    {% for deployedIssue in environment.deployment.issues %}
      "{{deployedIssue.key}}"{% if not loop.last %},{% endif %}
    {% 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.