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,360,203
Community Members
 
Community Events
168
Community Groups

Error when using the "Import Execution Results" XRAY REST API.

I'm executing the JSON here for "Import Execution Results" : (https://confluence.xpand-it.com/display/XRAYCLOUD/Import+Execution+Results+-+REST).

but when I execute it via POSTMAN it returns an error response:

Capture.PNG

and here is my request body:

Capture2.PNG

can someone please help me out, I'm pretty sure I was following the steps provided in the documentation, or maybe I'm missing something. Thank you in advance!

1 answer

0 votes

Hi @Joseph Manangan

For this example, it's necessary to create a Test and a Test Plan and switch with the ones that present in the results.

If you have any more questions please contact our Service Desk. 

Best Regards

Team Xray

hello @Joseph Manangan , @José Domingues [Xray] , i am having same kind of error can you please explain the fix.

b'{"error":"Error retrieving Project from Jira with key \\"null\\": No project could be found with key \'null\'."}'

Could not publish to Jira: 400 Client Error: Bad Request for url: https://xray.cloud.xpand-it.com/api/v2/import/execution

@Haseeb Akram Khan - Hello, sorry can't help with the REST API. 

I just gave up with my implementation and used the GraphQL API instead(https://docs.getxray.app/display/XRAYCLOUD/GraphQL+API)

 

If you're interested in using GraphQL in C# I have one in my repositories in GiHub.

-> https://github.com/joseMana/tricentis-tosca-special-execution-tasks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
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...

117 views 0 9
Read article

Atlassian Community Events