Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

34 views 0 1
Read article

Community Events

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

Events near you