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

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: https://confluence.atlassian.com/display/AOD/Enabling+DVCS+smart+commits.

Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday 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...

58 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