Principle:Apache Kafka JIRA Issue Resolution
| Knowledge Sources | |
|---|---|
| Domains | Development_Workflow, Project_Management |
| Last Updated | 2026-02-09 12:00 GMT |
Overview
An issue tracking integration that automatically resolves JIRA issues when their associated pull requests are merged.
Description
JIRA Issue Resolution extracts JIRA issue identifiers from the merged commit title, connects to the Apache JIRA instance, sets fix versions based on which branches were merged to, transitions the issue to "Resolved" status with "Fixed" resolution, and adds a comment with merge details. This automates the tedious manual step of updating JIRA after merging.
Usage
Use this principle as the final step after all merge and cherry-pick operations are complete. It ensures JIRA stays synchronized with the actual code changes.
Theoretical Basis
- ID Extraction: Parse JIRA issue IDs from the commit title using regex.
- Fix Version Mapping: Map merged branch names to JIRA fix versions.
- Status Transition: Transition the issue from its current status to "Resolved" with "Fixed" resolution.
- Comment Addition: Add a comment with the merge branches and commit reference.