Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Same user but different permissions between UI and REST API

Artiom Vasiliev December 19, 2019

This is really weird and I am completely lost.

A client of ours has Jira and created a new user that can login and view the project, add issues, etc. However when I'm trying to do the same via REST API it doesn't work.

I am unable to view projects:

```

curl --request GET \
--url 'https://jira.example.com/rest/api/latest/project' \
--user 'USERNAME:PASSWORD' \
--header 'Accept: application/json'

```

The above returns an empty list.

Looking at the permissions shows that the user cannot add/edit issues, cannot view projects (but can do that via the UI without problems):

```

curl --request GET \ (env: shipit)
--url 'https://jira.example.com/rest/api/latest/mypermissions' \
--user 'USERNAME:PASSWORD' \
--header 'Accept: application/json'

```

And creating a new issue via the API doesn't work.

Any hints where what to look for?

0 answers

Suggest an answer

Log in or Sign up to answer