JIRA query for string search

I need to know how do I write a JIRA query to search for all the issues that "does not" have a particular string in "acceptance criteria". for e.g.if any issues passed CCB I update that JIRA issue in "acceptance Criteria" as "CCB Approved", but there are several other issues that does not have "CCB Approved" value in acceptance criteria or this field it blank. I need to find out the list of those other issues.

Currently I have this query:

project in (abc, xyz) AND labels = sdf AND status in (Open, External, InProgress, Reopened, Validated, InTest, ECCB, Deferred) AND "Acceptance Criteria"  !~ "CCB Approved "

This doesn't result in any issues

2 answers

This widget could not be displayed.

I suspect some of your issues do not have the "Acceptance Criteria" field at all.

In English, you are asking the question for each issue:  Does this issue have an "Acceptance Criteria" of "CCB Approved".  What confuses most people is that they think there are two answers to that question, where in real life (and Jira) there are actually three:

  1. Yes
  2. No  
  3. The question does not make sense because the field does not exist for this issue.

I think you'll find your query is dropping the issues where the field is not valid.

 

This widget could not be displayed.

I would suggest to check on each step.

First try with: project in (abc, xyz) AND "Acceptance Criteria"  !~ "CCB Approved " -> Any Result?

Then include another qury string and see the difference.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

218 views 1 3
Join discussion

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