while importing bulk test cases using REST API on xray, I am getting error

Preeti Verma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2024

I am gettign error only with REST api, although when I am trying using importer, same json workign fine.

first API: https://xray.cloud.getxray.app/api/v2/import/test/bulk

second API: https://xray.cloud.getxray.app/api/v2/import/test/bulk/{job_id}/status

 

payload i am using:

[
{
"testtype": "Manual",
"fields": {
"summary": "This is first tests added by postman",
"project": { "key": "EQA" }
},
"testtype": "Manual",
"fields": {
"summary": "This is second tests added by postman",
"project": { "key": "EQA" }
}
}
]

below is the error of job status:

{
"status": "failed",
"progress": [
"[Wed, 10 Apr 2024 20:29:35 GMT] Preprocessing the information of the 1 issues to import.",
"[Wed, 10 Apr 2024 20:30:14 GMT] Creating 1 test(s) in JIRA."
],
"progressValue": 20,
"result": {
"error": "Error importing tests."
}
}

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events