Skip to content

endless loop when retrieving projects from the cloud #1310

Closed
@ebaschiera

Description

@ebaschiera

Hi,
we have a pretty large list of projects, and when we retrieve the project list from the cloud, and the list is paginated, the library gets stuck in a loop.
It looks like projects["nextPage"] is still the same at every iteration, so the url to download the list from is always the same: https://company.atlassian.net/rest/api/2/project/search?maxResults=50&startAt=50

I was expecting a startAt=100, then startAt=150, but it's always 50.

Am I missing something? I am not a Python expert, I just observed this strange behaviour

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions