Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

API Access to company JIRA

I want to connect to the JIRA Rest API for my company to retrieve Issue details. All the methods I have found so far require Admin access or access to the JIRA Setup itself , which I can't have.

Is there a way that I can get the Authorization Key for my user profile to hit the REST API?

1 answer

0 votes
Warren Community Leader Jun 07, 2021

Hi @Ankit Singh Chauhan 

Looking at the tags associated with this question, there is mention of Bitbucket, yet the question seems to relate to Jira. Also, not knowing whether you're using a server or cloud based system could change the answer, so please clarify these points first and we'll try to help you.

If it is Jira, you don't need Admin access, but you will only have access in Jira to whatever the user that you're connecting as, has in Jira i.e. if the user has access to project A but not B, you'll get an error through the API if you try to do something with project B.

Hi @Warren , not sure how those irrelevant tags got added here. Have updated them.

As for the JIRA, its Server based.

I have gone through a few docs which indicated that I should get the Token generation option under the JIRA Avatar but I am not getting anything as such

Can you please direct me to some docs or descriptions that might help?

Warren Community Leader Jun 07, 2021

Hi @Ankit Singh Chauhan 

Okay, I only use the cloud based Jira, but I've done a quick search and this document seems to give some details, lots of links for authorisation etc. I don't know if this is the latest documentation or if it even matches your Jira version, but it's a start.

Once you've looked at that and tried some things, come back here and tell us what you've tried and what issues you may still be having.

Hello @Ankit Singh Chauhan 

Only if you are using Jira CLOUD would you be able to use keys and tokens for authentication to the REST API.

Jira SERVER only recently acquired the feature to use keys and tokens for REST API authentication (read this article for more information). You must have v8.14.0 or higher for this feature.

For prior versions of Jira Server, you must use either Basic authentication, OAuth or browser based cookies. Refer to the Jira Server REST API page which describes the different authentication methods supported by the Jira Server REST API.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

⭐ Calling all Bitbucket and DevOps experts: Special showcase opportunity ⭐

Hi, Bitbucket community! Are you a DevOps practitioner (or know one in your network)? Do you have DevOps tips, tricks, or learnings you'd like to share with the community? If so, we'd love to hea...

1,440 views 4 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you