JIRA REST API permissions

Simon Buckle August 29, 2011

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

2 answers

0 votes
petry
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 18, 2015

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 

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 29, 2011

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?

Simon Buckle August 29, 2011

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.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events