Labels API only returns first page of labels from the list

Summary

When using API v4 to get the list of labels available in a project, if the project has more than 1 page of labels, an incomplete array is returned.

Steps to reproduce

  • Set up a dummy project with many project labels
  • Use API v4 to retrieve the list of all labels in that project
  • Look at the returned json

What is the current bug behavior?

Only first page of labels is returned, as listed in the issue labels page

What is the expected correct behavior?

All labels should be returned, regardless of page

Edited Sep 18, 2019 by Fares Saidi
Assignee Loading
Time tracking Loading