I am trying to search for stories that have an empty "Acceptance Criteria" but nothing is working. I have tried
I have done other tests to confirm that I have the right field by searching for a specific sub-text and seeing the results.
Additional information:
If I try
"Acceptance Criteria" = ""
I get the error
The operator '=' is not supported by the 'Acceptance Criteria' field.
I am beginning to think that the behavior is a JIRA bug. Otherwise, what does
"Acceptance Criteria" is EMPTY
mean?
Hi @Eric Chamberlain ,
for multiline text fields,
"Acceptance Criteria" is EMPTY
should do the trick. Just to be sure, are you using Jira cloud or an on prem version?
What type of field is "Acceptance Criteria"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As stated in the question body, I have tried that expression and it does not filter as one would expect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you get an error when you do:
Acceptance Criteria is EMPTY
Or are you getting results that you are not expecting?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is the latter. I get results have various amounts of text in the field. The search constraint seems to be ignored.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To answer the question
What type of field is "Acceptance Criteria"?
It is a multi-line text field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the "=" operator does not work with a text field. You would have to use "CONTAINS" (which is the ~) : https://support.atlassian.com/jira-service-management-cloud/docs/advanced-search-reference-jql-operators/#Advancedsearchingoperatorsreference-CONTAINS
Unfortunately there isn't a clean way to check if a text field is empty. I would recommend that you check this article out as well: https://support.atlassian.com/jira-software-cloud/docs/advanced-search-reference-jql-fields/#Text
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The "~" operator is a synonym for CONTAINS as documented in that link. I have tried it and it does not work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.