Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,361,493
Community Members
 
Community Events
168
Community Groups

XRay Cloud POST api/v1/authenticate results in dead link (404)

I want to start working with XRay to upload some JUnit results.

Unfortunately, I'm having an issue with XRay results import.

To get started I tried to use at first POST https://{{companyName}}.atlassian.net/api/v1/authenticate with generated clientID and clientSecret

(folliowing the documentation: https://confluence.xpand-it.com/display/XRAYCLOUD/Authentication+-+REST)

 

Error response is 404 ( <h1>Oops, you&#39;ve found a dead link.</h1>)

Maybe I'm using incorrect base URL? What could go wrong?

2 answers

1 accepted

2 votes
Answer accepted

Issue resolved: 
incorrect URL was used, simply:

POST https:// https://xray.cloud.xpand-it.com/api/v1/authenticate should be used with generated client ID & sected.

How to use Client ID and Secret?


curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "xxxxxxxxxxxxxxx","client_secret": "xxxxxxxxxxxxxx" }' https://xray.cloud.xpand-it.com/api/v1/authenticate

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Apps for Confluence you won't want to miss: RSVP for September's Appy Hours

Calling all collaborators and Confluence users! Our Appy Hours event on September 29th features 4 presenters demoing functionality to superpower Confluence. Don't miss learning about these apps i...

123 views 0 9
Read article

Atlassian Community Events