Getting the below error, as I was trying to access the get the issue data using api in python. I followed the atlassian developer document. But still failed to get it.
"error": "Failed to parse Connect Session Auth Token"
Hello, Good day. You are using user name and API token to for the authentication correct ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was using this as below adding my site details and my API token details. I didn't find any username. Also, our site is integrated with Okta SSO just FYI.
import requests
import json
url = "https://your-domain.atlassian.com/rest/agile/1.0/issue/{issueIdOrKey}"
headers = { "Accept": "application/json", "Authorization": "Bearer <access_token>" }
response = requests.request( "GET", url, headers=headers )
print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Was there ever a solution on this? I'm getting the exact same problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.