Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,557,748
Community Members
 
Community Events
184
Community Groups

How to assign an API token the permission to create / edit / read issues on jira

Hi,

 

I'm trying to create an issues on jira platform using a created API Token but getting error of unauthorized access / permission issue.

09.05.2023_15.42.54_REC.png

 

How can I give my api token the permission to create tickets on jira. I'm talking about these permission specifically, 

read:application-role:jira, read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira, read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira, read:user:jira, read:field-configuration:jira, read:issue-event:jira, write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira 

 

Because previously I was able to create and manage all issues on jira, but now with a new account I just forget from where in the jira, I need to give these permissions. Please give me step by step option to do this.

 

Thank you.

 

3 answers

3 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.
May 09, 2023

Hello @muhammad 

Welcome to the community!

You don't give permissions to the token. The token has the permissions of the user account from which it was created. With that token you can do whatever the user is able to do.

0 votes
David Bakkers
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.
May 13, 2023 • edited

Hello @muhammad 

Firstly, please don't cross-post the same question in multiple groups. You asked this question here already.

If you want people to give you good answers, you need to ask good questions with sufficient information. If you only say "I am using a REST API token" and don't say what TYPE of token or HOW you are using that token, all people can do is guess.

In this thread, you're asking about getting 'permissions' then you've pasted in a set of permission scopes that apply only to OAuth generated tokens. Those OAuth permissions have nothing to do with the permissions of user tokens that I suspect you are using and that @Michel Neeser has advised you of.

0 votes
Michel Neeser
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.
May 09, 2023 • edited

Hi @muhammad and welcome!

You can generate new API tokens in your Atlassian account here: https://id.atlassian.com/manage-profile/security/api-tokens

You have to make sure that the account you use for generating the API token has the permissions needed.

Hi @Michel Neeser  I know about api tokens generations, Im saying how and where to give the API token permission to do certain tasks ? 

 

 

How to give API the following permissions  ? 

read:application-role:jira, read:issue-meta:jira, read:issue-security-level:jira, read:issue.vote:jira, read:issue.changelog:jira, read:avatar:jira, read:issue:jira, read:status:jira, read:user:jira, read:field-configuration:jira, read:issue-event:jira, write:issue:jira, write:comment:jira, write:comment.property:jira, write:attachment:jira 

Michel Neeser
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.
May 09, 2023

@muhammad I updated my answer above a few minutes ago to clarify it. Hope this helps.

Suggest an answer

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

Atlassian Community Events