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,296,486
Community Members
 
Community Events
165
Community Groups

Jenkins - Jira : POST method for Robot.XML failed

Results import Task was not able to read the output.xml generated by Robot Framewor, missing components and revision history but i can't find the option in the build option on Jenkins. 
I already tried to change the need-level to lowest but nothing change.

I give you my log below, sorry it is in French.

Output:  /home/pi/Documents/workspace/BXT4_folder/PosteCI/output.xml
Log:     /home/pi/Documents/workspace/BXT4_folder/PosteCI/log.html
Report:  /home/pi/Documents/workspace/BXT4_folder/PosteCI/report.html
Starting XRAY: Results Import Task...
##########################################################
####     Xray is importing the execution results      ####
##########################################################
File found: /home/pi/Documents/workspace/BXT4_folder/PosteCI/output.xml
Starting to import results from output.xml
ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the upload..... Upload Failed! Status:400 Response:Impossible d'effectuer la transition de l'État de Flux de Travaux <b>To Do</b> à l'État de Flux de Travaux <b>Closed</b>.customfield_10126: Révision est obligatoire.components: Composants est obligatoire.fixVersions: Version(s) corrigée(s) est obligatoire.
Finished: FAILURE

1 answer

1 accepted

Hi @Vincent Palermini 

You need to use the Multipart option to set a value for the custom field Composants.

For all formats, there is available the Multipart option to allow setting values for mandatory custom fields.

Please check the example for Cucumber multipart to help you set up the Robot Multipart:

https://docs.getxray.app/display/XRAY/Integration+with+Jenkins#IntegrationwithJenkins-Importingtheexecutionresultswithuser-definedfieldvalues

It follows the same process; the difference is just the option that changes; you need to use the Robot Multipart instead.

Any additional questions, please get in touch with Xray Support (http://xraysupport.xpand-it.com); we would gladly assist you.

Thank you.

Kind regards,
Rogério Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: AppLiger

This month the spotlight is on AppLiger. We caught up with Pavel Pavlovsky, CEO and Product Manager, to learn how the company started and what fuels the team's creativity.    Atlassian:...

367 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you