How to add custom fields when importing JUnit XML reports to XRay using the REST API

Alain Delfin April 7, 2022

Our JIRA instance is customized. We are using some additional fields like "

Regions Origins" to know the origin of a ticket. This field is mandatory to create an US, a defect or a test.
When I try to import a JUnit test report generated by postman using the XRay API, there is no information related to the custom field "Regions Origins", so consequently it returns the following error
        "error": [
            {
                "messages": [
                    "Regions Origins is mandatory"
                ],
                "testDefinition""CountryGradeRestApi112.2XX GET /countryGradeCodes"
            }
        ]
So the question is what do I add in my XML report in order to specify the custom fields ?
Thank you for you help
Alain

1 answer

0 votes
Scott Matthews October 7, 2022

I am curious about this as well. We would like to specify development Jira tickets in the junit xml report in such a way that the x-ray ticket links to the development ticket.

Suggest an answer

Log in or Sign up to answer