Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,463,314
Community Members
 
Community Events
176
Community Groups

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

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

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