Searching all test linked to a group of issues.

NA July 2, 2019

Hello,

I would like to search all test that are linked to (test) a group of tickets has the same characteristics, e.g. has the same component.

What is the suitable JQL command in this case?

Thanks

Best regards 

2 answers

0 votes
NA July 4, 2019

Thanks Ilya Turov  for the answers, 
Yes, I've looked at this doc, it's really helpful.

I've resolved the problem by using the following JQL

 issuetype = Test AND issue in requirementTests("my filter") 

My need is create a board (TB) that content all test, test set, test execution... that linked (test) to the requirement issues in a board (RB) that defined by the filter "my filter".

With the above JQL, I can get all test (T), that test a ticket in the board RB. 

However, I haven't the solution to get also the test set, test execution, that content  at least a test in T.

Regards

0 votes
Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 2, 2019

xray has pretty good documentation about it's jql functuions:

https://confluence.xpand-it.com/display/public/XRAY/Enhanced+querying+with+JQL

assuming your tests are in test sets (as they should be I guess), you can create a saved filter like

issuetype = "Test Set" and component = "Your component"

save it and then use 

issuetype = "Test" and key in testSetTests("Your saved filter name")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events