azure-devops-cli-extension | Azure DevOps Extension for Azure CLI | Azure library
kandi X-RAY | azure-devops-cli-extension Summary
kandi X-RAY | azure-devops-cli-extension Summary
The Azure DevOps Extension for Azure CLI adds Pipelines, Boards, Repos, Artifacts and DevOps commands to the Azure CLI 2.0. The Azure CLI with the Azure DevOps Extension has replaced the VSTS CLI. The VSTS CLI has been deprecated and will no longer be receiving new features. We recommend that users of the VSTS CLI switch to the Azure CLI and add the Azure DevOps extension. See the Command Mapping section to view the mapping between VSTS CLI and Azure DevOps Extension commands.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Load help .
- Load team arguments .
- Load the command line arguments .
- Load help .
- Create a new pull request .
- Invoke an API endpoint .
- Create a pipeline .
- Load build commands .
- Load help .
- Load dev ops .
azure-devops-cli-extension Key Features
azure-devops-cli-extension Examples and Code Snippets
Community Discussions
Trending Discussions on azure-devops-cli-extension
QUESTION
I want to be able to connect an existing branch in a git repo to a work item in Azure DevOps, via CLI or API or any way that isn't the UI (I do that all day long in the UI and want to make a script instead). I found this open issue in GitHub: https://github.com/Azure/azure-devops-cli-extension/issues/153
My take-away from this is that this feature is not implemented in the extension. Instead, I turned to the REST API. But I can't figure out how to do what I want. Creating a new branch and connect it in the same operation would be ok as well, but preferably I want to just connect an existing branch.
Any help pointing me in the right direction would be greatly appreciated.
...ANSWER
Answered 2020-Oct-29 at 09:53The documentation does not contain explnaition of your issue, but you can try this example with rest API through PowerShell:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install azure-devops-cli-extension
Install the Azure CLI. You must have at least v2.0.69, which you can verify with az --version command.
Add the Azure DevOps Extension az extension add --name azure-devops
Run the az login command. If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open a browser page and follow the instructions on the command line to enter an authorization code after navigating to https://aka.ms/devicelogin in your browser. For more information, see the Azure CLI login page.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page