Azure / Azure/azure-devops-cli-extension

[Bug] az pipelines release list lists only the first 100 releases

Open
#937 5 comments 0 reactions 0 assignees View on GitHub
Area: ProToCol bug Requires API upgrade
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

az pipelines release list lists only the first 100 releases regardless of --top 1000 option

**To @Reproduce**
Azure Cli Version:
azure-cli 2.0.78 *

Azure-Devops extension version:
azure-devops 0.16.0

Steps to reproduce the behavior:
1. login using az login
2. setup variables $organization and $project to match a project with over 100 deployments
3. Run command: az pipelines release list --org $organization --project $project --top 1000 -o table | Measure-Object -Line
It returns 102 lines (100 releases +2 lines of header)

**Expected behavior**
It should return N+2 lines (N releases over 100 +2 lines of header)

**Screenshots**
![az pipelines release list](https://user-images.githubusercontent.com/59965124/72535797-29013580-3847-11ea-8bd0-7a7635843160.png)

**Debug logs**
I cannot do that - private data

**Additional context**
Already reported in the wrong thread by someone else. The issue was then closed by @fengzhou-msft. https://github.com/Azure/azure-cli/issues/11256

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.