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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.