Agile board links to invalid commits (after git rebase)

I did a git rebase on pushed history of a repository. This repository is linked to a JIRA project. I know it's a bad idea to rebase pushed history. However I wanted to experience myself why exactly it's a bad idea. And now I have this problem. Don't say: "I told you so!"... :-)

A task shows two invalid commits in the Agile board. That's because these commits have been squashed and don't exist anymore. When I click on the link "View full commit", I land on a 404 page on Bitbucket.

How can I remove these commits from the Agile board or refresh the history?

1 answer

1 accepted

1 vote
Accepted answer

To fix this, you'll need to completely remove the Bitbucket account from JIRA, wait a little while for the database to clear out all the related data, then re-add Bitbucket. When you re-add, it will do a fresh search of the repository and add the commits as they stand now. Your smart-commits will not be reprocessed. This may take a long time if you have numerous or a very large repository.

Thanks. That's what I thought, too.

What do you mean with «Your smart-commits will not be reprocessed.»? What are smart-commits?

Smart commits enable your team to transition issues with commit messages. For more, check out this doc:

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Wednesday in Jira

Make your Atlassian Cloud products more secure: our NEW admin security guide

Hey admins! I’m Dave, Principal Product Manager here at Atlassian working on our cloud platform and security products. Cloud security is a moving target. As you adopt more products, employees consta...

62 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