You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hi
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sai Segu ,
if you want to do some sort of test like this, try getting all projects which are visible for your user:
GET /rest/api/2/project (or GET /rest/api/latest/project)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
https://plugins.miniorange.com/jira-rest-api-setup-guides
Also, if you have any questions regarding it, you can reach out to info@xecurify.com
PS: I work for miniOrange, Top Atlassian SSO Vendor!
I hope this helps you! :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Mahima Bothra . But I'm looking for some solutions that costs nothing. Not sure if that is doable.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.