Hi All,
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
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
Robert, I saw you upvoted the answer, but if you think that the GitHub advice is correct, you should hit the checkmark at the answer, so that other users will see that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.