Questions tagged [jira-xray]

xray is a testcase management application which supports integration with JIRA.

xray is a testcase management application which supports integration with JIRA, one of the leading defect tracking tools. The integration helps you link your defects with the test cases and improves the trace-ability.

184 questions
0
votes
1 answer

Importing JUnit XML to XRay using the REST API - What is the Root Cause for "Error assembling issue data: Field customfield_11033"

Based on documentation here, I tried to import my JUnit-style XML using the following inputs. curl -H "Content-Type:multipart/form-data" -u mylogin:mypassword -F "file=@output.xml"…
Guy
  • 666
  • 1
  • 10
  • 34
0
votes
1 answer

How to populate the RobotFramework Test Documentation in XRay JIRA Test Description

I have written a RobotFramework listener to auto-import the test execution into JIRA XRay. I can see that the tags of the test case is showing up as Label but the documentation of the test is not showing up as Description. I am using the below as…
Keshav Prabhu
  • 83
  • 1
  • 11
0
votes
1 answer

JIRA XRAY plugin creates duplicate test case when importing using API and feature file

I have a bash script that takes all the feature files from a specific directory and uses /rest/raven/1.0/import/feature?projectKey=XYZ XRAY-JIRA API to create TEST CASES in JIRA. XRAY version 4.2.1_j7 I am running this script in a JENKINS-PIPELINE…
0
votes
1 answer

How to add file to the 'Evidance' using Cucumber JSON Multipart into the jenkinsci/xray-connector-plugin

I'd like to add file to the Evidence for new test execution. How to upload file to the Evidance input using Cucumber JSON Multipart? Xray plugin repo: jenkinsci/xray-connector-plugin There is my multipart JSON: { "fields": { "project": { …
almayce
  • 33
  • 4
0
votes
2 answers

Jira XRAY - how to import an xml using xray API?

I'm trying to import an xml report to Jira xRay - to a Test Execution item. The documentation I can find makes reference to client_id and client_secret, which should be generated by Create API key. Create API key only generates one string, a…
Alichino
  • 1,668
  • 2
  • 16
  • 25
0
votes
1 answer

Cypress tests integration with Xray (Jira) through Github

I hope you all are doing good. As, the title suggest what I am trying to do is I have e2e tests in cypress and I want them to be integrated with test management tool xray that we have in Jira (Write tests in cypress, execute them in CI i.e. github…
Hamza
  • 165
  • 1
  • 1
  • 11
0
votes
1 answer

Unable to update Test Execution Description and Summary using Jira XRay API

I have used Post call using this API rest/raven/1.0/import/execution and the body format is below to update the description in Test execution. I am getting a 200 response and also in the test execution it's showing that updated a minute ago but the…
0
votes
2 answers

XRAY for JIRA "error": "customfield_11714: customfield_11714"

So I'm trying to use the XRAY api to Import a JSON as a test execution. I've tried having the test execution already created and have it in the first tags and the actual TEST issue in the scenario tags. Also the custom field in the error is…
Alex Toma
  • 101
  • 1
  • 9
0
votes
2 answers

Import automated test results to Xray Cloud multipart using Azure Devops

I am trying to import results to Xray Cloud multipart using Azure Devops, this is my bash command from the yml configuration file: token=$(curl -H "Content-Type: application/json" -X POST --data '{ "client_id": "$(client_id)","client_secret":…
vladys2019
  • 39
  • 6
0
votes
1 answer

How to mark pass the test when is retested in robotframework

Right now when my team made a deploy in out QA environment, I run one suite tests of robotframework. This, have several test that failed at first cause the environment is not "warm up". So, in the same pipeline I have the "--rerun" option if some…
jesusfj710
  • 15
  • 3
0
votes
1 answer

Xray: Results Import Task Error assembling issue data: project is required

Starting to import execution results from cucumber.json: File: /var/jenkins_home/workspace/XRAY_TEST/target/cucumber.json Starting to import results from cucumber.json ERROR: Step ‘Xray: Results Import Task’ failed: Unable to confirm Result of the…
0
votes
0 answers

How to get every kw called with pytest in pytest_reports

I have to custom @pytest.mark decorator to build xray reports (and push it ...) With the new parametrized tests xray feature, and associated steps, I would like to get every kw called during iteration (marked as a step) hooks documentation is not so…
yves
  • 1
  • 1
0
votes
1 answer

How to update a test execution when importing Junit Multipart using Xray?

I was looking at the documentation of the Xray plugin for Jenkins: https://docs.getxray.app/display/XRAY/Import+Execution+Results+-+REST#ImportExecutionResultsREST-JUnitXMLresultsMultipart And what I found, is a bit confusing, after a few…
Adrian Pop
  • 285
  • 2
  • 17
0
votes
2 answers

How to import RobotFramework Test Results into XRAY using Python "requests" and API Keys?

I would like to write a requests program instead of curl command to import the test execution results. The following curl command works for me perfectly, the only problem is that I need to run it manually after robot execution is completed and also…
Keshav Prabhu
  • 83
  • 1
  • 11
0
votes
1 answer

Import Xunit results to Xray/Jira

I am using Jira cloud and trying to import the Xunit json report (result.json) generated by cucumber to Jira with Xray using Jira rest API, I've tried various ways to import the reports from command line but so far no luck. Ex: curl -H…
Atif
  • 59
  • 6