I am trying to access the ZAPI using an API token. I can't get it work.
I can authenticate with an X-acpt header value like this:
curl https://prod-play.zephyr4jiracloud.com/connect/public/rest/api/1.0/serverinfo -H 'X-acpt: c9c714d10f26d625cf2ccf2cc15c55af1cc0ea93f6919b6e704a1d64cec879db259bafef703cfff632b2a138780e06901973dde23d41712096c3d459909d3b9d8abe6cf1b3a0774c162c038d7b8d23ef9616a997d22711d56cda361b35802deaa34297b7604a34b975fe7874c7522a4ca7e6434218f44bf4d224aa3bcd949760'
which gives me the server information in JSON format. I just took that token from the browser after logging in, though (note that the value pasted here has been scrambled), and it expires.
I have created a API token as described here, but when running (XXXXXX is my access token)
curl -v https://mysite.atlassian.net --user mschioeler@deloitte.dk:XXXXXXXX
I get: "Unauthorised: It appears your session has expired. Please reload the page."
My organization uses single-signon. I have seen the docs stating that I should use JWT, but I can't get that to work at all.
Can anyone explain what I'm doing wrong?
Thank you for asking your question on the Atlassian Community.
Please see the link below to have direct correspondence with our teams support staff. They will be able to answer any technical questions you may have.
https://www.getzephyr.com/support (submit a ticket)
Thank you and hope this helps,
Team Zephyr
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.