I made some changes to my code and pushed the commit using TortoiseGit.
I then realised I needed to amend the commit message so I used a Amend Last Commit feature and did a force push.
Now, in BitBucket I see one commit (as I expected):
But when I view the linked issue in Jira is shows the two commits:
How can that be fixed?
Did you check the following doc see if it can help with your problem?
https://support.atlassian.com/bitbucket-cloud/docs/use-smart-commits/
Best,
Fadoua
I use git bash to push my changes to BB never had an issue like yours. I do change my comments many times (I am a DataCenter user it could be the reason)
All the best
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used tortoisegit check for updates. Typed the commit and hit push.
Then I did Git Commit and Amend Last Commit and edited message. Then I did push force with known changes.
If I amend the last commit before I have pushed it then things are ok. It was when I did the push with force.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try the smart commits link I sent you?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I used tortoisegit check for updates. Typed the commit and hit push.
Then I did Git Commit and Amend Last Commit and edited message. Then I did push force with known changes.
If I amend the last commit before I have pushed it then things are ok. It was when I did the push with force.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Fadoua No I have not tried. That linked article has a lot of information over my head. I only have one single commit that I would like Jira to exclude.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any Dev environment to test?
That link I shared has a valuable info, I will try it myself.
I am not familiar with tortoisegit at all.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I showed in my screen shots @Fadoua , the link between Bitbucket and my source is fine. The issue was that Jira was not excluding stale commits. Bitbucket does but not Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes I did see that on the issue in Jira showing twice the commit.
Let me google and see why is that happening.
Will get back to you
Best,
Fadoua
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at the following, the screenshot has more than one commit.
https://support.atlassian.com/jira-software-cloud/docs/view-development-information-for-an-issue/
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.