How to unlink a bitbucket branch from the JIRA task.

I created a release branch from a master branch and for some reason a jira issue is associated to the release branch. The JIRA issue isn't associated to the master branch, but some how there's a JIRA issue linked to my release branch. How can I unlink these two? I'd like to not delete the JIRA task but I will if it is the only way to unlink. There's got to be another way, right?

5 answers

"Suggest an answer".  Haha, that's cute.  No, I'm chiming in as well.  Same problem, but with a Service Desk Issue instead of a task.  Accidentally created the branch on the wrong repo (because I'm an idiot) and didn't realize it until it was added.  Deleted the existing wrong branch, created it against the correct repo, and now I have 2 branches associated with the issue, and no way to remove them.  And that sucks.  

0 votes

A JIRA issue is associated with a branch if it has the issue key in the branch name. Is that the case here? The only way is to rename the branch.

I deleted a branch that was created from the issue but the issue still thinks it has a branch tied to it.  How to get rid of the association? 

I have exact same scenario.

I was testing out how branch creation worked via jira interface

it created a linked branch in my repo as configured during creation

I then deleted the untouched branch from bitbucket.

I want to remove the dead-end link from the jira issue but I cant edit that.

Just chiming in to say that I'm having the exact same situation. It would be really nice if there was "un-link" functionality from the Jira Software side (Jira Cloud user here).

+1 on this issue.

This page ( looks like it might provide help to clean and "sync" the Bitbucket and Jira applications, but so far (with a "full sync") there is no change to the broken branch links in Jira (where Bitbucket Git branches no longer exist).

Unable see an intuitive, clear cut, easy way to do this.  The other way this issue manifest itself is that looking at a repository in bitbucket, I don't see a clear cut, intuitive easy way to know what issues are linked to a particular branch.  On top of that, if I want to get back to the place that I initiated the branch creation from, i have to use browser back button.  

Is there some additional options I can add to make this essential element of linking tasks to repo branches work in a less clunky way?  Thanks!

0 votes

I have the same scenario. I should ask @Mike Loux to have it fixed.

: )

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,393 views 17 10
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