Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to update multiple custom feild values for the single test run at a time using x-Ray api .

Suganya Vijayaramu
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!
January 22, 2025

When i tried to update multiple required custom feilds for the testrun using X-Ray in JIRA server , am getting "Bad request" with msg "Test Run Custom Field 0 not found for test run or has been deleted.

PUT:

https://reqcentral.com/rest/raven/1.0/customFields/testRunValues?testRunId=<tesrrun id>

{
    "customFields": [
        {
            "id"5,
            "value""7.9"
        },
        {
            "id"6,
            "value""ABC"
        }
    ]
}

 Please suggest me any api other api if available.

1 answer

0 votes
Stefan Salzl
Community Champion
January 23, 2025

Hi @Suganya Vijayaramu 

according to the following documentation the endpoint you are using is not correct. Try the example from the following link:

https://docs.getxray.app/pages/viewpage.action?pageId=62267123#/Test%20Run/put_testrun__id__customfield__customFieldId_

 

Best
Stefan

Suggest an answer

Log in or Sign up to answer