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 Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

221 views 6 0
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