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

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 Join to answer
Community showcase
Emilee Spencer
Published yesterday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

35 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot