Dave Chapman
Dave Chapman

Reputation: 276

Can I create a project template in Azure DevOps

My company creates a lot of projects in Azure DevOps, and they all have the same structure -- same members, same permissions. Each project has different Git repositories within it, but that's the only thing (other than the name) that differs between them. It would be helpful to have a template so that everything is set up correctly each time we need a new one.

I don't see a way to do this through the web interface. I have the sense that I could probably do it with a script, but I don't know where to begin with that (including which tool to use). Where should I start?

Upvotes: 3

Views: 5118

Answers (2)

DSpirit
DSpirit

Reputation: 2280

Yes, you can accomplish most of the configuration by script. For the beginning you might take a look at the Azure Devops CLI, which allows you to perform several actions on Azure Devops, like:

  • Create projects, Users and configure security
  • Create repositories, pipelines and set branch permissions
  • Create and manage work items
  • ...

Upvotes: 2

Matt Stannett
Matt Stannett

Reputation: 2728

It looks like there is now a way to do this without the Azure DevOps CLI (as long as your project that you want to template is one of the supported types (Agile, Scrum and Basic)). There is a tool available here that will step you through the process.

There is also an excellent blog post here that gives you an overview.

Upvotes: 3

Related Questions