-
Bug
-
Resolution: Timed out
-
Low
-
None
-
Minor
-
Issue Summary
We have a documented API endpoint "Get Organizations" that purportedly "Returns a list of your organizations (based on your API key)." However this doesn't make sense on a conceptual level because an API key is scoped to a single organization, so it shouldn't ever return more than one result.
But it actually doesn't return any results. If you use a valid org API key, it returns a 200 response and no data (see screenshot)
Steps to Reproduce
- Create an admin API key
- Make a request to https://api.atlassian.com/admin/v1/orgs with API key as bearer token
- Observe a 200 OK response with the following body:
{"data":[],"links":{"self":"https://api.atlassian.com/admin/v1/orgs"},"meta":null}
Expected Results
This endpoint should probably be removed from the documentation. Alternatively, it should return the metadata for a single organization (which implicitly duplicates the Get Org by ID endpoint) and the documentation should be updated accordingly.
Actual Results
See steps to reproduce.
Workaround
None
Hi everyone,
Thank you for raising and following this bug. Because there has been no user engagement (votes, watches, comments, reports) over the last year, we are closing this bug as "Timed Out".
If you are still being impacted by this issue, please let us know on the ticket. Thanks again for continuing to provide valuable feedback to our team.
Regards,
The Atlassian Access team