Hi all,
I am trying to import a JUnit file, where it has to address a custom field called "Team". I was trying to use the documentation here: https://docs.getxray.app/display/XRAY/Taking+advantage+of+JUnit+XML+reports
It didn't work for me, I tried to send in many many variations, and I wanted to ask what do I have to add to my file.
My JUnit file(one of my attempts):
The name of the field inside Jira: Team
The custom field name: customfield_16800
How it looks via my Jira
I would really appreciate your help, thanks!
Hi @Itay Stainfeld and welcome to the community,
one question up front:
the screenshot looks like from a jira issue (as there is a resoltion field). Maybe I‘m wrong but I‘m not used to a resolution field in a test run. Are you trying to update a field in the test execution or in the test run?
Best
Stefan
First of all, @Stefan Salzl thanks for your response!
I am trying actually to update the test item under the test execution. My request to the server is:
https://****/rest/raven/2.0/import/execution/junit?testExecKey=TIR-43577
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you please provide a screenshot of the whole item you‘d like to update?
Bes
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Stefan Salzl sure:
I would like to update the field Team, which is a custom field using the JUnit file. I would like to know what is the correct form for example. The name of the field is also known as (custom_field_16800). I would like to know what to send via the XML.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The screenshot shows the testcase which is let‘s say the base of a test run. A test run is an entity (an instance of your testcase) generated within your test execution.
So to say: The functionality you are trying to run could only update the testrun but not the testcase issue.
I know lots of different entities in that description. Hope you could follow the path. Please don‘t hesitate to ask if there are any fuether questions.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If your question is answered please consider to click "Accept" in order to mark this case as solved.
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Stefan Salzl,
is there a doc or code repo we can check out to know the list of properties that are supported for the "testsuite" and "testcase" nodes of the XML?
I'd like to set:
The official doc is not really clear about this: https://docs.getxray.app/display/XRAYCLOUD/Taking+advantage+of+JUnit+XML+reports
Thanks,
Yoto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.