Home > database >  Azure Boards Task linked to deleted branch
Azure Boards Task linked to deleted branch

Time:07-28

I've linked an Azure DevOps item to a feature branch af a Azure Repo, to make it easier for the user to follow up as the code evolves.

Now the feature has been merged to the main branch.

According to our branching policy I'm supposed to delete the feature branch.

What's going to happen to the link between the Boards item and the deleted branch? Will it simply disappear? Will I lose the connection between code and the task?

CodePudding user response:

There are two situations.

The first is the work item linked to the branch and the work item has already been saved.

In this situation, everything between the work item and the branch will be removed(the link).

The second is the work item linked to the branch but the work item has not been saved.

You will be unable to view it:

enter image description here

But if you restore the branch like this:

enter image description here

It will be able to view again:

enter image description here

  • Related