Forums

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

When trying to create Issue in Jira using Postman, getting permission error

GLK Indrani
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 16, 2024

When trying to create Issue in Jira using Postman, getting below error:

{
    "errorMessages": [
        "You do not have permission to create issues in this project."
    ],
    "errors": {}
}
Note: Currently, I am on Trial version of 14 days and have given my user both 'Administrator' and 'Member' privileges. 
Below is my CURL:
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--header 'Cookie: atlassian.xsrf.token=515e3ecc886f3b10322cc94138e24d723b4582e6_lout' \
--data '{
  "fields":
  {
    "project": {
      "key": "UJ"
    },
    "reporter": {
      "name": "GLK Indrani"
    },
    "issuetype": {
      "name": "Bug"
    },
    "summary": "Dropdown not working"
  }
}'

2 answers

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 16, 2024

Hello, Good day. Please go to project settings >> Permission >> Check your account has create issue permission.

Are you able to create issue on this project from web browser ?

0 votes
Oliver Siebenmarck _Polymetis Apps_
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.
September 16, 2024

Hi @GLK Indrani ,

Welcome to the community!

First of all, you should avoid posting your cookie headers here. It's way too easy for a malicious actor to take over your session that way. 

Now, when working with the REST API, it's typically much easier to use an API token and basic auth.

However, if you are dead set on using the session cookie from your browser, you should be fine with these two cookies: the JSESSIONID and the tenant.session.token

If you are unsure if your authentication attempt does not quite work, it's a good idea to test with the Get Current User endpoint.

Hope that helps,
 Oliver

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events