-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
Component/s: Work Item - Search - Backend - JVIS
-
1
-
Severity 3 - Minor
Issue Summary
Once you set a value for a Text Field read-only (custom field) and then clear that value, Jira's JQL will not recognize that field as EMPTY anymore.
This is a specific case from already closed https://jira.atlassian.com/browse/JRACLOUD-76116
Steps to Reproduce
- Create an issue with a custom field (read-only text field)
- remove the custom field value later
- Make a JQL search:
"readOnlyTextFieldName" ~ "fieldvalue"
Expected Results
The field should be considered as empty again since no information is set.
Actual Results
JQL still shows the issue where the field is no more set.
Rest API shows correct data.
Workaround
As a workaround, you can exclude these issues by adding AND custom_field IS NOT EMPTY to your JQL search.
You can also allow Automation for Jira to properly clear this field for you by running an automation that updates this field to a "NULL" value. You can import this rule and apply it to your own text field: [^automation-rule-2616645-202111011333.json]
- is cloned from
-
JRACLOUD-76116 JQL for Single-line Text Field finds issue by value even when that field was cleared
-
- Closed
-