Fix Jira/Bitbucket smart commit

We have JIRA and Bitbucket integrated. When using smart commit checkins appear under "Development" for the issue in Jira.

The problem is if I type the numbers incorrectly before pushing, the wrong task gets the source and I cannot find a way to remove that checkin from that defect and assign it to the correct defect.

Is there a way to do this or is there no way to change a mistake?

1 answer

This widget could not be displayed.

Hi @Luke Geraghty

If your Bitbucket repo type was Git then you can revert the changes which you have done using git revert <commit_ID>


you will find git-revert article. 

Thanks Yogesh,

I just want to make sure you read that I pushed the changes which triggers the JIRA update (so the error becomes noticeable).

I haven't tried to modify history on the server, are you saying that doing that will also remove the commit messages from the wrong task and add them to the new one?

Wouldn't that affect other users that may have pulled?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

162 views 1 3
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you