Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

XRAY Exports incorrect number of tests in Cucumber Export task while using Filter

Ragavendra rahul
March 24, 2022

Idea Behind: While executing JIRA tests in Jenkins, I want to exclude the tests which are buggy.
Steps followed:
I have created a filter by using JQL query. In JQL Query, as I want to remove the tests which are buggy. I create this below filter along with other attributes.

NOT issueFunction in linkedIssuesOf('issuetype = Bug AND status !=closed')) in my JQL query.
It filters the tests which is having linkedissue as bug and I save this filter and use in Jenkins to export the tests from JIRA using XRAY Cucumber Features Export Task. 

Let's say: There are 10 tests and in that 2 tests are linked with bug which is in OPEN state. My filter excludes that 2 tests in filter. 

Actual: But while executing the tests in Jenkins, All 10 tests are exported
Expected: Only 8 tests has to be exported from JIRA according to the JQL query.

0 answers

Suggest an answer

Log in or Sign up to answer