Hello,
I'm trying to request Jira's API with v3 (using postman for test)
I always have the same result, no import project key.
HTTP 200
Endpoint is /rest/api/3/search/approximate-count
Headers:
Authorization: Basic XXXXX
Accept: application/json
Content-type: application/json
Request Body :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @bletellier
First does the user the API token is created on, have browse permission to the project ACI?
The API call will provide a 200 even if the user has no project access, but if it has project admin access, as it can find the project, but no browse permission will prohibit any view of the project, so also no count of the issues in the project.
Are you using a full API token or a scoped API token?
If its a scoped token, are you using the API call:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm using my account, and I have access to this project.
I also tried with an admin account (with a new generated token).
I'm using scoped API token, with scope this scopes :
Read
read:app-data:jira
read:attachment:jira
read:board-scope:jira-software
read:board-scope.admin:jira-software
read:jira-work
I don't understand your API call api.atlassian.com/ex/jira/{cloudId}
What's this ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.