Using Jira cloud API, I am trying to create an issue using the V3 API version. I have created API tokens via Manage Account->Security->Create API token with scope. Still I am getting the error like "You do not have permission to create issues in this project."
Request example:
curl --location 'https://test.atlassian.net/rest/api/3/issue' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic dGVzdEBnbWFpbC5jb206YXBpLXRva2Vu' \
--header 'Cookie: atlassian.xsrf.token=f4be895521f08ab95d1adde5f37871e0e86b5cce_lout' \
--data '{
"fields": {
"description": {
"content": [
{
"content": [
{
"text": "Exposure Remediation verification",
"type": "text"
}
],
"type": "paragraph"
}
],
"type": "doc",
"version": 1
},
"duedate": "2025-06-11",
"issuetype": {
"id": "10001"
},
"project": {
"key": "SCRUM"
},
"summary": "Exposure Remediation"
}}'
Response:
Hey @Nisha Rathod
Welcome to Atlassian Community!
The endpoints shared in the documentation hold good for API tokens without scopes.
If you're using API tokens with scope, the URI will be:
https://api.atlassian.com/ex/jira/<cloudId>/rest/api/3/issue
This is stated in the document: Create an API token with scopes
PS. Please validate that you have permission to create issues in the specified project.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Nisha Rathod
Go to your project settings -> permission scheme and check if you have:
permissions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey
I can't see this option in my account. If possible can you provide link or refernce.
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.