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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Marketplace Apps & Integrations

🤺 Atlympic Event: Partnerships

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

56 views 0 2
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