Permission helper can't list issue

john wei July 30, 2024

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

3 answers

1 accepted

0 votes
Answer accepted
john wei July 30, 2024

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

 

1 vote
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2024

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? 

john wei July 30, 2024

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

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 30, 2024

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?

john wei July 30, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events