Configure Jira for Deploy Change Investigator
Track issue deployments by sending webhooks on status transitions
Track Jira issue deployments by sending deployment webhooks when issues are released or deployed.
Before you begin
Deploy Change Investigator setup: Deploy webhook integration created in AI SRE. Go to Deploy Change Investigator to create the webhook endpoint.
Jira Cloud access: Administrator permissions to create automation rules.
Deploy webhook URL: Deploy webhook URL from the AI SRE integrations page.
Deployment workflow: Status workflow that includes deployment states (for example, "In Production" or "Deployed").
Configure Jira automation
Use Jira automation rules to send webhooks when issues transition to deployment states.
Create automation rule for status transitions
Send a webhook when issues move to deployment statuses.
Navigate to Project settings, then select Automation
Click Create rule
Configure the trigger:
When: Issue transitioned
From status: Any status
To status: Select deployment statuses (for example, "In Production" or "Deployed to Staging")
Click New condition, then select Issue fields condition:
Field: Fix Version/s
Condition: is not empty
Click New action, then select Send web request
Configure the webhook:
Webhook URL: Paste the deploy webhook URL from AI SRE
HTTP method: POST
Headers: Add
Content-Type: application/jsonWebhook body: Custom data
Paste the webhook payload described in the following sections
Click Turn it on
Webhook payload
Status transition payload
Release version payload
For version release events:
Smart Values reference
Jira automation provides Smart Values for accessing issue and version data:
{{issue.key}}
Issue key
PROJ-123
{{issue.fixVersions.first.name}}
First fix version
1.2.3
{{issue.status.name}}
Current status
In Production
{{issue.components.first.name}}
First component
frontend
{{initiator.emailAddress}}
User who triggered transition
user@example.com
{{now}}
Current Unix timestamp
1704067200000
{{now.jiraDateTime}}
ISO 8601 timestamp
2025-01-01T00:00:00.000+0000
{{version.name}}
Version name
1.2.3
{{version.project.key}}
Project key
PROJ
{{version.id}}
Version ID
10001
Service identification strategies
Map Jira issues to services using different approaches:
Option 1: Use issue key
Best for: Single-service projects where each issue represents a deployable change
Option 2: Use component
Best for: Multi-service projects using Jira components to identify services
Option 3: Use custom field
Replace Service Name with your custom field name. Best for: Projects with custom service tracking fields.
Map statuses to environments
Map Jira statuses to deployment environments:
In Production
production
Deployed to Staging
staging
In UAT
uat
Deployed to Development
development
Use the status name directly:
Or map to standardized names using conditions in your automation rule.
Testing webhooks
Test status transition
Transition a test issue and confirm the webhook reaches AI SRE:
Create or select a test issue
Add a Fix Version to the issue
Transition the issue to a deployment status (for example, "In Production")
Navigate to AI SRE, then select Integrations
Click the More icon on the DEPLOY integration
Select Debug
Verify the webhook appears with the correct payload
Verify automation execution
Confirm the automation rule ran and sent the webhook:
Navigate to Project settings, then select Automation
Click your automation rule
Select the Audit log tab
Verify the rule executed and the webhook was sent
Check for any error messages
Troubleshooting
Multi-service releases
For releases that deploy multiple services, create separate webhook calls or construct a services array:
Best practices
Follow these practices to keep Jira deployment tracking reliable:
Set Fix Version before deployment: Ensure issues have a Fix Version set before transitioning to deployment statuses.
Use consistent service names: Keep service identifiers consistent across issues and deployments.
Test with real issues: Verify the automation rule works with actual project data before you enable it.
Monitor audit logs: Regularly check automation audit logs for failures.
Next steps
Go to Deploy Change Investigator to complete the setup.
Go to AI Agent RCA to understand how the AI agent uses change detection during incidents.
Go to Configure Jenkins to set up webhooks in Jenkins pipelines.
Last updated
Was this helpful?