Relative Content

Tag Archive for azure-devopsazure-devops-rest-api

How to assign organization-level permissions to create repositories across all projects in your organization in Azure DevOps?

I am creating automation for Azure DevOps. I want to follow the principle of least privilege. I only need to grant permissions to create repositories across all projects in the organization. I know how to do it at the project level, but for organizations with many projects, assigning permissions at the project level would be time-consuming. Do you know and can you give me an example of how to grant permissions to create repositories at the level of the entire organization?

Possible CodeReviewThreadTypes of Azure Devops Git Api Threads

I was unable to find anywhere on the internet what the accepted CodeReviewThreadType values were in the Azure DevOps Thread API.
I am trying to make our remote service add a system message like “Pull Request successfully linked with XY.” and don’t want to spam it with huge comments.

AzureDevOps- Automating Branch Pipeline: Task State Check in work item

I need to automate the branch pipeline to perform the following steps:
Check the status of a specific task ID. If the task ID is “closed,” reopen it and set its status to “active.” Proceed with the next stage in the pipeline deployment. Once the deployment is completed, close the task ID again.

Get all work items from a project for a specific team

The first step will be to get all the work items on “given” project and for a specific team if the project has multiple teams in board. For this step, I was reading azure devops API documentation and found this: Work Items – List