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?
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?
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.
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...
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