How do I link Pull Requests to Issues
Last updated
Last updated
In Hivel, we map the pull requests and commits with Jira issues if the Jira issue key is mentioned in any of the following:
Commit Messages and Branch Names
Include the Jira issue key (e.g., PROJ-123
) in your branch names and commit messages. This is crucial for Jira to automatically link the development activity to the issue. For example, name your branch something like feature/PROJ-123-new-feature
.
Pull Requests
When creating pull requests, include the Jira issue key in the title and description of the pull request. For example, title your PR "PROJ-123 Add new login feature"
.
Additionally, if you're using Jira with Bitbucket, GitHub, or GitLab, you can take advantage of the deep integration features:
Development Panel in Jira: Ensure your repository is connected to Jira. When you mention an issue key in your branch name, commit message, or PR, Jira will show this in the development panel on the issueβs page.
Automation Rules: Set up automation rules in Jira to transition issues based on actions in the linked VCS (like PR opened or merged).