In the gitlab documentation, it specifies that the issues endpoint is only for the logged in user. The only other alternative is to iterate over all the projects and get them this way. We have an external scheduling engine, but we first need to be able to get every issue that has been created.
How do I either:
In both cases (list project issues and list all projects), you need to use a GitLab private token from an admin account (see for instance "Gitlab API: How to generate the private token")
You need such an account to use the existing endpoints for listing all the resources you need.
But after that, you will still need two steps, one for getting the projects, one for the issues per projects, as there is no existing endpoint natively getting all issues per project in one call.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With