Good afternoon. I use the Jira and Python client, Telegram, I register through the project administrator. I specify a task, an executor, a priority, and when I click "create a task", I get an error in the console.
Why is this happening? After all, I am an administrator, and I can log in through the browser and create a task manually. Please help me.
{"errorMessages":["You do not have permission to create issues in this project."],"errors":{}}
Welcome to the Atlassian Community!
This is exactly what it says it is - the account you are using for the connection does not have "create issue" permission in the project you are trying to create the issue in.
There's two possibilities in your case usually - first that you are logging in as someone who has admin rights, but still does not have create issue in the project (admin rights means admin, not "can do anything"), and second that while you think you're logging in with one user on your device, you're actually not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I log in through the administrator, enter the email and the APIkey token. In the settings you can see that the token is used during registration. I'm in the same way, I go through this user through the browser, and I normally create a task, without problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid there's not a lot we can help you with. The message you are getting is clear that you are logging in with an account that does not have "create issue" in that project.
Can you do other things with the REST API from this application? A good test would be to edit or comment on an issue and then go look at the issue in the UI, see what account actually made the change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can do this through the browser, under the user through which I log in. Create, delete, change status, edit. But I can not create a task through the script. I also created a new user, gave him all the rights, added a token. But he also cannot do anything through the script. If it helps, I can send part of the code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure seeing the code would help, what we really need to see is that the user you are using to log in is the one you think it is.
Even if you set up a simple dummy project (to be thrown away later) with basic rights for everyone to create, and see what your script is passing in as the user, I suspect you are going to find it's not the user you think it is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK. How to solve the problem in this case? We pulled out all the project IDs, entered them into the issuetype.
Example: issuetype ID " ". And in the end, for all projects, he writes that there are no rights
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You need to test which user your REST call is actually using to get into Jira. We can't get any further with this until we can show which user Jira is accepting the login for.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It uses the user I'm logged in as. If I use another user, they will not let me go further, it will give an error. I have only 2 users on the project, and I logged in through them. Also, the API token is public, that I go through it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you show us that your user can make changes somewhere else and be logged as the right one?
What does a "public" token mean? Who does it identify?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, but can you show us that your user can make changes somewhere else and be logged as the right one? When using the API?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am having exactly the same problem as described by Test_Jira. I have create a Personal Access Token for the very account I am able to create issue types in JIRA through the browser.
This simple command should work:
curl -v -D- -H "Authorization: <pat removed for obvious reasons>" \
-H "Content-Type: application/json" \
--request POST \
--data '{"fields": {"project": { "key": "CIP"},"summary": "curl","description": "curl script","issuetype" : {"name": "Task"}}}' https://<company_name>.atlassian.net/rest/api/3/issue
But it does not with the error:
{"errorMessages":["You do not have permission to create issues in this project."],"errors":{}}
Some AI LLM tool suggested this:
Verify PAT Permissions:
Go to your Atlassian account settings
Navigate to Security > Personal access tokens
Check that your token has the necessary permissions (read:jira-work, write:jira-work)
Consider creating a new token with explicit permissions for issue creation
But I do not see those options on my JIRA installation. I can only create tokens with an expiry date. Nothing else.
This is the JIRA I am using:
Build Number: 100283
Build Date: 2025-04-10T17:15:24.000+0200
Deployment Type: Cloud
If you still think we are doing something wrong, can you suggest some different way of debugging this that is different than what I have tried already?
Thank you!
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.