简体   繁体   中英

Push to Azure DevOps from Visual Studio with Agile Process as Default

I connected Azure DevOps to Visual Studio and when I press "Publish Git Repo" everything is working fine.

在此处输入图像描述

But it always creates a Scrum process Dashboard. I made Agile as default and disabled all of the others in my organisation.

在此处输入图像描述

Now Visual Studio throws this error

VS403119: You cannot add a team project with process Scrum as it is disabled. Either choose a different process, or enable process Scrum and try again.

在此处输入图像描述

So it means the setting is somewhere in Visual Studio.

The only thing I found about it is this two years old question .

Do you know the setting or some config file to change the default process board when publishing to the Azure DevOps from Visual Studio?

Visual Studio always specifies Scrum process when creating Azure Devops project via its Team Explorer, as I know there's no VS settings available to manage this behavior.

As a workaround you can create the project with Agile process in web portal first, add local project/solution into source control and choose Target Project (Click Advanced ) before publishing the repo:

在此处输入图像描述

Actually this behavior is VS-specific cause Azure Devops itself supports specifying process template even by Rest API . So I decide to post a feature request related to your requirements in User Voice forum with VS tag instead of Azure Devops tag . The product team would provide the updates if they view it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM