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

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 25, 2018 in Marketplace Apps

Jira Cloud and Bitbucket Cloud Integration with Microsoft Teams

One of the newest products in the Microsoft family - Microsoft Teams,  is a chat-based hub for teamwork that integrates all the people, content, and tools your team needs to be more engaged and ...

730 views 0 3
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