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

XRay REST API says Custom-Field Non-valid Format

Here is the request I make to import a test result into an XRay Test item in Jira. curl -L 'https://jira.[xyz].com/rest/raven/2.0/import/execution' -H 'Authorization: Basic Z3V5bDoyNDIxQmxlaWdo' -H 'Content-Type: application/json' -H 'Cookie:…
Guy
  • 666
  • 1
  • 10
  • 34
0
votes
0 answers

How to copy a response from one API post to another API post

Using API requests, I'm trying to GET an execution result for a test (PASS/FAIL), and in some way copy that response and paste it into the request body (JSON) of a different API request that will POST that execution result (PASS/FAIL) some place…
Gal Hadar
  • 11
  • 1
  • 4
0
votes
1 answer

Is there a way for each pipeline stage to be individual tests in a xray test plan?

I wrote a Jenkins pipeline with stages that represent individual test case scenarios. I want to import the test results from jenkins console output for each of the tests(stages) as a test into xray test plan. I'm new to xray so trying to figure out…
arthi
  • 193
  • 4
  • 17
0
votes
2 answers

Nunit TestResult.xml test report

Current: We have Hybrid test framework using C# and Nunit. At end of all test execution, it creates TestResult.xml Planning to implement: which later to be pushed in Jira-Xray via API through c# code. Challenging part: but the challenge is if I am…
Vivek Sharma
  • 29
  • 2
  • 12
0
votes
1 answer

How to have multiple test in jira x-ray, for unit test with different testcase after importing Nunit testresult.xml

I have written a API unit test in C# .net core 3.0 using Nunit framework end of the execution the test framework creates Testresult.xml which at the end I import to Jira xray for creating a test suit.. Now, I have multiple Test cases under 1 unit…
Vivek Sharma
  • 29
  • 2
  • 12
0
votes
1 answer

How to get at results of Jenkins XRay Import Step XrayImportBuilder

When run the XrayImportBuilder step prints a lot of useful stuff to the Log but I can't see any simple way of getting at this information so it can be used from the Jenkinsfile script code. Specifically this appears in the Log: XRAY_TEST_EXECS:…
johnfo
  • 1,676
  • 2
  • 17
  • 28
0
votes
1 answer

Jenkinsfile environment variables not available with parameter variables

I am using a Jenkins plugin to upload test run results to Jira. Using this plugin I can send two JSON blobs of data for the import, but the variables in those JSON blobs can only be environment variables (not variables generally available in the…
Belizzle
  • 1,295
  • 3
  • 13
  • 28
0
votes
1 answer

xray document generator generate nested tests steps

trying to generate a document using document generator where test steps are added as called teststeps in manual steps we want to fetch details like test steps of attached nested tests we need to generate a document with xray document which is…
0
votes
2 answers

Unable to import testng results into Xray Cloud using github actions workflow

The YML file I have used in my project is The error I get in the workflow build Surefire results path mentioned in both the images is correct but still, I don't understand why it is unable to import the results.
Meghana
  • 3
  • 3
0
votes
1 answer

Jira Xray JQL - All test executions for a testplan

How would I construct a JQL query to find all text executions for a given testplan? I do have the testplan key. I know this sounds strange since you can see it, when you open the testplan. But I am trying to automate the creation of executions and…
Jefe infiltrado
  • 364
  • 2
  • 15
0
votes
1 answer

I exported xray test issues with Export as XML in Jira search, but the line returns aren't there

I exported many Xray test issues with the Export as XML feature in the Jira search, but the line returns aren't there. If you check for e.g., the < Action > tag or the < Expected result > tag you found there the same text you have in Jira, but all…
0
votes
1 answer

Is there a solution to get the statics of xray test plan in an easybi chart

We had statics in Xray test plan, and we want to create a chart for the same statics in easyBi. In easyBI the Xray measure is not displaying the same statics in Xray test plan. The measure we used is "Xray Test Runs", also some other Xray…
0
votes
1 answer

Jenkins Xray Integration - Jira Issue Type with wrong character

In my Jennkins pipeline I have a Jira/Xray integration step : step([$class: 'XrayImportBuilder', endpointName: '/xunit', fixVersion: '1.0', importFilePath: '/MyFirstUnitTests/TestResults.xml', …
0
votes
1 answer

Link a jira issue to another jira issue while exporting nunit report with XrayImportBuilder

I'm trying to export nunit result to Jira Xray using XrayImportBuilder. I need to link a jira issue to another issue and I got below error. Am I missing something? XrayImportBuilder uses v2 create enpoints "rest/api/2/issue" ERROR: Unable to…
0
votes
1 answer

How to stop Jira/Xray from updating my test case name/summary?

I am using POST /api/v2/import/execution/robot to import my Robot Framework test results to Jira/Xray. I use robot tags to identify which Xray test executions I want to update. Problem is, that in robot file I want the test case name to be "Example"…
Tubii
  • 3
  • 2