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,361,608
Community Members
 
Community Events
168
Community Groups

setting custom field in Test Run with Xray Rest API 2.0

I am using the Xray Rest API 2.0 to import test results (/import/execution) with the JSON format. 

When trying to import with a custom field in the JSON I get an error (even though the custom field ID exists on the test - I checked with the /rest/api/2/issue/{issuekey}/editmeta endpoint).

 

    "customFields": [
    {
        "id"14320,
        "value""Automated Execution"
    }
    ]

 

Error:

   "error": "Test Run Custom Field 14320 not found for Test Run or has been deleted."

 

 

 

0 answers

Suggest an answer

Log in or Sign up to answer