I have Jira and Git Hub Tied together and working great. When a Jira is referenced in Git Hub it will appear under the development tab in Jira and everyone is happy :-)
However, one issue or lack of know how on my part is holding us back a little. IF a Git Hub Pull request is created called "KEY-123 fix for that pesky problem", the code is fix and the request is committed. Jira KEY-123 reflects all this.
Then at this time It was realized OOOPs it was suppose to reference KEY-132 not KEY-123, and so we go into the request and change it to now be "KEY-132 fix for that pesky problem"
However Jira still has KEY-123 with the development tab and nothing under KEY-132. Is there anyway to get this is to change and now be reflected under the correct JIRA?
Thank in Advance,
Robert, generally speaking, it is wiser not to change the commit message of published Git commits as it will change the history and people who cloned your commit will have difficulties...
Even GitHub suggests avoiding that for a good reason: https://help.github.com/articles/changing-a-commit-message/#amending-older-or-multiple-commit-messages
A better idea is reducing the chance of writing wrong issue keys to the commit message. (We are doing this and built a JIRA app for this.) Our Commit Policy app implements this and other checks on your commits: https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.jira-commit-policy-plugin/server/overview
Yes I up-voted the answer as the answer was clear and concise. However, I only click it as answered when the answer is actually what we need. The problem is that Jira does not point to the correct GIT record. Your solution was not to put the wrong one in there in the first place, which really doesn't help as the wrong one has already been placed there. So our problem is still a problem. I do appreciate the time and effort to help me though. I truly do.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs