I am making an API call to retrieve the list of projects from my Jira account using the following endpoint:
URL: {{protocol}}://{{host}}/rest/api/3/project
I have replaced {{protocol}}, {{host}}, and provided the correct hostname, username, and apiToken.
Steps I have taken:
1. Created test projects in my Jira account.
2. Verified the authentication details (username and API token).
3. Made the GET request, which returns a 200 response but with an empty list ([]).
Here is the response I receive:
[]
Questions: -
Why is the API not returning the list of projects I have created?
Are there any specific permissions or configurations required to access the project list?
Is there any additional parameter or scope I need to include in the API request?
Additional Notes:
I confirmed the projects exist and are visible in the Jira web interface.
Any guidance or troubleshooting steps would be appreciated!