Azure / Azure/azure-cli

`az repos pr show` not including tags/labels

Open
#23,626 22 comments 7 reactions 0 assignees View on GitHub
act-platform-engineering-squad customer-reported DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Related command**
`az repos pr show --id 2582 --detect true`

**Describe the bug**
Tags (or, as they are defined in the documentation, Labels) are not being returned in the above command. They are being returned from the REST api at `.../_apis/git/repositories//pullRequests//labels`

**To Reproduce**
1. Create a pull request in Azure DevOps
2. Add a tag. The specific text doesn't matter.
3. Run the above command to show the details

**Expected behavior**
I expect the JSON response to contain any and all tags I've added to the PR.

**Environment summary**
n/a

**Additional context**
n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.