I'm trying to access JIRA resources using Rest APIs
Its a JIRA Server where SSO is enabled
the end point I have used is : https://[siteURL]/jira/rest/api/latest
I have used basic authentication and I see a 404 error
can someone please help me if there are any additional steps needed to be done like creating any API tokens or as an administrator enable Rest APIs.
Thanks in Advance
Thanks for the answer.. Right now I want to start off with just being able to authenticate to the SSO enabled JIRA Server and I have no success so far.
I have tried:
http://host:port/context/rest/api-name/api-version/resource-name which in my case I assumed is https://[siteURL]/jira/rest/api/latest and also https://[siteURL]/jira/rest/auth/latest. None of them worked
Hello @Sai Segu
You can use the add-on mO API Token/OAuth Authentication for Jira to use either OAuth 2.0 or API Tokens to authenticate your REST APIs.
It's really easy to set up with any other provider which you might be using for SSO. You can use the guides provided on the link below to set it up.
Also, if you have any questions regarding it, you can reach out to email@example.com
PS: I work for miniOrange, Top Atlassian SSO Vendor!
I hope this helps you! :)
Hi @Sai Segu
if the most basic endpoints that Hana mentioned
GET /rest/api/2/project (or GET /rest/api/latest/project)
fail in your scenario you need to work out on how SSO is implemented in your Jira instance.
Installations which I have seen and which make use of SSO integrations allow REST API access without any trouble - meaning without any 404 pages coming up.
In first step I would try to find out which implementation of SSO is in use (there are several apps as well as open source solutions), then to determine how it is configured, if REST API access is possible in general.
In case you did not install it yourself getting in contact which subject matter experts on the authentication/SSO setup.
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