-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
8.19.20, 9.6.5
-
None
-
1
-
Severity 3 - Minor
-
5
-
Issue Summary
The linked Jira issue is missing on the PR Overview page after a rebase and merge followed by the deletion of the source branch.
Steps to Reproduce
- Create a new branch from an existing branch.
- Add Jira key to commit messages of both source and target branch.
- Add an extra commit on the target branch, which is not present on the source branch such that target branch is ahead of the source branch by at least one commit.
- Create a pull request and merge the pull request.
- While merging, select "Delete source after merging" using "Rebase and fast-forward" merge strategy.
Expected Results
The Jira issue key should be linked to the rebased commits on the target branch and should still be linked to the pull request despite deleting the source branch of the PR.
Actual Results
The Jira issue is not linked to the pull request. However, it is linked to the rebased commits on the target branch.
Workaround
- Avoid deleting the source branch after merging.
- Ensure the issue key is included in the pull request title prior to merging.