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 while importing multiple cucumber JSON results to XRAY Test Execution using REST API


While importing multiple cucumber JSON results to XRAY using REST API, got the below error.

customfield_16546: Squad is required.

This issue is intermittent.

2 answers

hi @syamphaneendra could you please  let me nwo how did you imported multiple json results in a single instance,any details please

Hi @rgnair 

You can import multiple JSON results using the Rest API of XRAY. I will leave below documentation so that can you see how to do it:

Best Regards,

Team Xray 

Like rgnair likes this

hi @José Domingues _Xray_ 


In my project there is 2 feature files and its generating a single cucmber.json file with two arrays of results for each feature file.I want to post this results to two separate existing execution key through a single curl command.initially i posted the cucumber.json with below curl command and then whole results are posting in one execution key(First feature file mapped key in @feature)even though both the execution keys are present in combined cucumber json file.

Used below command for this

POST /rest/raven/1.0/import/execution/cucumber

Next i splitted this cucmber json to 2 seperate json file suppose json1&json2 for each feature file. i zipped this file to a single folder.

Then i tried with zip file of above Json1&json2 with below bundle command.Its not throwing any messages in curl terminal but no updates in execution  key or anywhere

POST /rest/raven/1.0/import/execution/bundle

can you advice me on this?

Hi @rgnair 

The /bundle endpoint is used to import multiple results file at once and then you'll have the results in a Test Execution created to hold these results. Please follow the documentation below:
Bundle endpoint

However, we suggest contacting us through our service desk.

Best Regards,

Team Xray 

0 votes

Hi Syamphaneendra,

You should check the configuration of the custom field with id 16546.

Probably you have that field as required in the Test Execution issue. If so, you can either make it as optional or use the Cucumber multipart endpoint instead, so that you can provide the value for that field.


Best regards,

Xray Team

Suggest an answer

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

🍂📹 Apptoberfest demo contest roundup: vote for your favorite demos!

Hi Community! The submissions are in (and listed below) for the 🍻🍂Apptoberfest🍂🍻 Demo Competition and it’s time for you to place your votes for the best: Analytics & reporting app demo ...

211 views 5 14
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