Hello,
We just started using this plugin Git Integration for Jira.
And hence quite a few files were committed without the commit message format of having the JIRA ticket number in commit message.
Can some one please provide some pointers?
Thanks a lot,
Rumpa
Hello Rumpa -
Just following up on our conversation we had via email about evaluating the Git Integration for JIra Cloud add-on.
In the Jira Cloud product we offer the ability to modify the association of the commit with a Jira issue. You can see a video on how to do this here: https://bigbrassband.wistia.com/medias/kmvlr97c3x
On our Jira Server product - we don't (yet) have this feature - but we do index git notes which allows you to add a note to a commit after the fact which could include a new Jira issue key.
Let me know if you have any additional questions.
- Adam
support@bigbrassband.com
6 years later and you still do not have this feature.
When do you planning to implement it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can edit Git commit <-> Jira issue association in version 2.16.5 which is now released.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Adam for your detailed reply earlier. Your steps helped me relocate and associate the older files manually.
Thanks again,
Rumpa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In order to change old git commits you would have to use rebase to get back to the commit you want to change:
git rebase --interactive '<sha-1 commit number>^'
That will start the interactive rebase and it will allow you to edit your commit comment. Once you are done editing, commit your changes:
git commit --all --amend --no-edit
Then continue your rebase:
git rebase --continue
To get back to the HEAD.
Just be careful when you push, the rebase will change the SHA-1 of that commit and it's children, so it rewrites the history in the repository from that point on. Do not use git push --force, that can break your repository.
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.