Problem with Branch Protection in Azure DevOps Wiki

Copper Contributor

I am facing an issue with Azure DevOps and need help understanding the available options in the Wiki. There is an option in the Azure DevOps Wiki that allows making changes directly by creating a branch for review before merging it into the main branch. However, when attempting to do so, we receive the following error: "The versionType should be 'branch' and version cannot be null. Parameter name: versionDescriptor."

I would like to understand why this error occurs and why it is not possible to proceed with this process. We have users who use the Wiki's built-in editor to develop content, and without this functionality, their work becomes more difficult.

It is important to note that this issue occurs when we use the branch protection feature.


2 Replies

@vitoorns 

 

Please try to fix by Review and Update Branch Policies, Verify Permissions and Specify the Branch Name in the Version Descriptor

@Kidd_Ip So, this is exactly the problem: one of the requirements is that the branch must have protection, but the tool doesn't allow me to perform this task. When I make a change and try to commit, it asks me to enter the details, such as the name of the new branch. However, when I attempt to merge, an error occurs. Note that I can see the branch I created during this process, but the changes made are lost in this new branch. As a result, even the branch I created due to the changes doesn't retain them.image_error.png