Hi:
I'm new guy to Jira, use cloud free version, because of rest api always respond to me "
You do not have permission to create issues in this project" when I trying to use it to create an issue.(I use the admin account).
I'm now trying to use permission helper to grant the permission "create issue" to admin user, I can search the user, and I can see the permission list, but the issue list always empty, I don't know what's wrong with it? Does any body have the same problem?
John
Hi Guys:
Thanks for both of you, this is my problem, after research the docs
https://developer.atlassian.com/cloud/jira/platform/basic-auth-for-rest-apis/
https://support.atlassian.com/atlassian-account/docs/manage-api-tokens-for-your-atlassian-account/
I've generated a api token, and to use it to replace the password of my account, now the rest api is work.
John
Hi @john wei
Welcome to the community.
Press Create button in Jira and search the relevant project. Can you see it there?
If you can't, go to the project settings -> permissions -> add Create Issue permission.
Do you pass correct user in REST api?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tansu:
Thanks for your reply, I already have a project, with key KAN, and I also create a issue type named with Bug, the account I used to access REST api is the admin account(the initial account when I start to use cloud Jira) and authenticated it by basic method.
But the account name I passed is email that is the initial account I used to create jira cloud, is it right? I think it should have the bigest permission.
John
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @john wei
Welcome to the Atlassian community.
The tags on your post indicate you are using the Free version. Is that correct? Have you always been using the Free version for the instance where you are having the issue? In the Free version, where the instance has always been on the Free version, you should not be customizing Permissions. That is not supported. All users that are granted a Jira license will have Project Administrator permission in all projects.
What is the project type for the project where you are trying to create the issue? You can get that information from the View All Projects page under the Projects menu.
Do I understand correctly that you are trying to create the issue using the REST API?
Are you able to create an issue in the same project through the UI?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Trudy:
Thanks for you reply, it's a sofeware project, and I have created an issue type named with Bug, and I can also create a issue within this type by UI.
I want to create an issue by REST api, it's authenticated by basic method with I only one jira account(email), since all of user under free version is admin, it shouldn't be any permission issue, it's wired...
John
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.