Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Incorrect Jira Link Used In Pull Request

Vladislav October 28, 2022

Hi Community! 

So, this question has been raised from my own and my reviewers lack of attention. Our bitbucket is connected with Jira and Jtmf, so I, as a tester, create branch for my test cases from Jtmf story. When making pull request we are accepted to include something like this: “Bla bla bla for US XXX” where US stands for User Story and XXX the number part of Jira ticket ID. 
As a mistake, I included the whole Jira ticket ID instead of only the number part, so now that commit(not the pull request itself) is associated with Jira issue and it is causing a problem when that story is marked “Done” in Jira. Pull request was approved and merged, branch deleted and my team and me are stuck with “Unreviewed Code” warning on the release board. 

Any suggestions on possible fix? 
P.S. There were around 6 other merges after my merge

Thank you all in advance!

2 answers

1 accepted

1 vote
Answer accepted
Vladislav November 1, 2022

I was able to get rid of Unreviewed code issue by making a repository on Jira issue which had merge commit connected, but no pull request. Then make a pull request and merge code. This fixed the issue my team was facing.

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2022

Thank you for sharing your solution.

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2022

Hi @Vladislav ,

welcome to the Atlassian community!

Did u try to amend the commit message? https://stackoverflow.com/questions/14381044/how-do-i-change-a-git-commit-message-in-bitbucket

Hope this helps,

Fabio

Vladislav October 31, 2022

Hi Fabio! 

Thank you for your response. No, we haven’t tried amending, as that pull request is not the most recent. Do you know if the Jira issue will be unlinked if the commit message will be changed? 
It’s just the only other way is to rebase(which we are strongly discouraged to do). 

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 31, 2022

I few years ago I tested this and I wasn’t able to get rid of the link once it was created. Hopefully it is possible now, please let me know, if you try it. Thank you.

Vladislav October 31, 2022

Thank you for sharing your experience! Was your issue resolved? If so, how did you achieve it? 

Hana Kučerová
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 1, 2022

No, I wasn’t able to solve it :-(

Vladislav November 1, 2022

I see. Haven’t tried rebasing though, because I have found one way to fix it. Going to post here as answer

Like Hana Kučerová likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events