- Install Azure CLI on https://learn.microsoft.com/pt-br/cli/azure/install-azure-cli-windows?tabs=azure-cli
- Add Azure DevOps Extension:
az extension add --name azure-devops - Configure organization using:
az devops configure --defaults organization=https://dev.azure.com/YourOrganization or az devops configure --defaults organization=https://YourOrganization.visualstudio.com - Create a Personal Access Token on Azure DevOps Portal
- Grant full permissions to Work Items, Builds and Releases
- Use command
az devops loginand paste the created token
az boards work-item show --id 92844
az boards work-item update --id 92844 --state "Done"
az boards work-item relation add --id
--relation-type
[--target-id]
az boards work-item create --title
--type
[--assigned-to]
[--fields]