Forums

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

Can I search an issue which failed testing

Kory Zhu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 3, 2018

I am trying to find some bug issue which failed the testing in the first round and may pass at the end. As fail testing is a status in Jira not a field, so I don't know how could create a JQL to find it out? Thank you!

1 answer

0 votes
Tarun Sapra
Community Champion
April 3, 2018

Hello @Kory Zhu

Since you mention that "As fail testing is a status in Jira not a field" thus if it's a status then you can simply write a JQL

type=bug and status = "Fail Testing" 

In the status field you can write the name of the exact status.

Christopher Jaksch
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.
April 3, 2018

Hi @Tarun Sapra & @Kory Zhu,

if your workflow for issue type bug contains an existing status "fail testing" and it was in status "fail testing" the jql would be:

status was ("fail testing")

Otherwise it could be possible that you are using a third party plugin for test management? This would need another resolution. Please ellaborate @Kory Zhu.

Best wishes
Chris (STAGIL)

Tarun Sapra
Community Champion
April 3, 2018

Hello @Christopher Jaksch

The JQL query which you have shared uses the "was" operator, this will result in all the issues which were "failing test".

Let's suppose 2 weeks ago issues were failing but now are passed.  May be that's what the requester @Kory Zhu wants, to basically query all the issues "historically" but if it's required to fetch only issues which have current status is "fail testing" then "=" operator has to be used in JQL instead of "was".

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events