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 Experts
I'm new to JIRA SD and wanted to connect to an internal JIRA SD endpoint
What's JIRA SD basic auth endpoint? I didn't find example on https://docs.atlassian.com/jira-servicedesk/REST/4.11.0/#authentication (example link deprecated). Is there sth like /servicedesk/rest/auth/1/xxxx?
Hi @Lia
Welcome to Atlassian Community
You may use any endpoint, as long as the endpoint needs authentication.if the endpoint return two different responses 200 and 401, then it would be a valid way of authentication
JIRA Service Desk REST API uses the same authentication methods as JIRA. The preferred authentication methods are OAuth and HTTP Basic Auth.
When user is authenticated the first time Jira sends back a response with a cookie that may look like this:
JSESSIONID=6AD97CC4450456CD968B22F7201220A7; atlassian.xsrf.token=BWP3-NZB2-6EDY-6C7K_d3ec7ed6f227879ac4cf6aee83f28e085e49227b_lin
We store the user's cookie in their session and we use it every time we send a API request to Jira rest api on their behalf (so we don't keep the password stored in our session for security reasons)
As cookie is a valid authentication method for Jira service desk api.
Thanks. I'm actually have some working code with JIRA rest api
JIRA_domain/jira/rest/auth/1/session + username/password passed working
But when I change it to
JIRASD_domain/jira/rest/auth/1/session + username/password it failed with error like "you found a dead link"
Hence I'm thinking the JIRASD_domain should be followed by sth else
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As Najja mentioned above, login actually worked with basic auth wit any endpoint. Issue actual comes from trusted certs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan. &nb...
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.