What's the minimum set of permissons a user needs in order to access the REST API?
I am trying to get information about a particular project, e.g. /jira/rest/api/latest/project/<name>, but I keep getting this response: {"status-code":"404"}.
According to the REST documentation if a 404 is returned then it's because the user does not have permission to view it.
The user is part of the 'jira-users' group and I can see information about the project if I log in as the user using the dashboard.
Thanks
Today it's not possible to define which users can access JIRA through the REST API, so I created a request for that:
Cheers,
Andre
REST API uses exactly the same permissions as that of the normal JIRA UI. I am guessing your login probably is not happening properly when you invoke using REST. Either you are not logged in or you are logged in as a different user?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have checked and the user I am logged in as is the same user that I specify when accessing the REST API.
I am having this problem using version 4.1.2 of Jira. Could it be a problem with this specific version? I have also tried the latest version of Jira (4.4) and I am not getting this problem.
Thanks again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.