Why do my OR statements never include the second query?

I've been trying to generate several filters that will return items of one nature OR another, but my queries only ever return the first argument.  The example I'm giving below is using specific arguments from the xray plugin, but I run into the same problem if I'm using standard JQL statements.

project = XXXXXX AND issuetype = Test AND status = Active AND (issue in testsWithoutTestExecution() OR testRunStatus in ("FAIL"))

The intent of the query is to search for active tests that have either not been included in a test execution or have failed a previous execution.  Basically, I want to know which tests are in the project that are active an need to be run.  

The problem is that with this setup, the filter only returns the first argument in the OR statement.  So I will get only the active tests not in a test execution, but not any of the previously failed tests.  

Any insight would be appreciated.

1 answer

1 accepted

0 votes
Answer accepted

The query looks correct! Just to rule out the plugin, can you give us a query using standard JQL functions that doesn't work as expected?

Ugh, never mind.  It seems to miraculously be working fine this morning.  Thank you for taking the time to look at it.  

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 13, 2019 in Marketplace Apps

Marketplace Spotlight: Marketing apps for Confluence to keep your teams working on the same page


263 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you