Hi,
Trying to create a script using the REST API but each request keeps returning '401' response code.
Snippet:
url = f"https://{domain}.atlassian.net/rest/servicedeskapi/servicedesk"
headers = { "Accept": "application/json", "Authorization": f"Bearer {access_token}" }
response = requests.request( "GET", url, headers=headers )
The same authentication headers are working with Jira but not with the service desk.
Hi @Michael Yu
It should work as there is no difference in the authentication scheme.
Have you looked the documentation below
Cheers
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.