Search code examples
gitlabgitlab-api

return issues without pagination `glab issue list`


I want to retrieve all issues from myrepo with the gitlab-cli.

The command glab issue list -R myrepo -P 1000 returns a page containing with 100 issues, but I have 195 issues. Is this a limitation in the API, or am I missing something in the documentation to undo the pagination?


Solution

  • It is a limitation of the GitLab API. It can only return a maximum of 100 requests per each call.