Jira 8.22 EAP 01 released

We’ve found a bug in the new tooltip implementation which breaks and BLOCKS the Issue Search component in Jira 8.22 and Jira 9 and blocks our app Agile Tools & Filters for Jira Software.

How to reproduce - fill a value on extended fields (2nd row) and switch filters on the left

Your code:

_getTooltipText: function() {
            var searcherModel = this.searcherCollection.get(this.model.getId());
            var tooltipText;

            if (!this._isValidSearcher()) {
                tooltipText = “This criteria is not valid for the project and/or issue type”;
            } else if (this._containsInvalidValue(searcherModel)) {
                tooltipText = “This criteria contains invalid value(s)“;
            } else {
                tooltipText = searcherModel.getTooltipText();
            }
            return searcherModel && tooltipText || “”;
            
        },

//FIXED version

_getTooltipText: function() {
            var searcherModel = this.searcherCollection.get(this.model.getId());
            var tooltipText;

            //FIX for the bug
            if (! searcherModel) return "";

            if (!this._isValidSearcher()) {
                tooltipText = “This criteria is not valid for the project and/or issue type”;
            } else if (this._containsInvalidValue(searcherModel)) {
                tooltipText = “This criteria contains invalid value(s)“;
            } else {
                tooltipText = searcherModel.getTooltipText();
            }
            return searcherModel && tooltipText || “”;
            
        },

Please include the fix before the release.

Regards
Prem

1 Like