I want to import junit results to Xray by api.
I try to do it by postman, and these are my details:
Hi @yael berman How are you doing?
Welcome to the community!
As you are using Jira Cloud, you would have to make things in a different way.
First of all, you cannot use Basic Authentication. You would have to generate an API Key (Client Id and Client Secret) in your Jira instance and then use it to make a call to XRay's Authentication Rest API. It will return a token to will that you will use in your second call.
As far as I understood, it is important to notice that you have to call the APIs that are exposed by Xpand-IT. You don't have to change the address to your domain. Based on your API Key, they will know what Jira instance they will have to affect.
The URL for authentication is: https://xray.cloud.xpand-it.com/api/v1/authenticate
The URL for Junit Import is: https://xray.cloud.xpand-it.com/api/v1/import/execution/junit
These are other links to their Cloud API documentation:
Hope this helps!
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events