Dashboard gadget displaying the error: No matching Issues found
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
The dashboard gadget is displaying the error No matching issues found even though the filter used by the gadget loads fine.
Environment
Jira Cloud
Diagnosis
The Network Tab shows the following error:
"errors": [
{
"message": "Invalid JQL: Not able to sort using field 'cf[11500]'.",
"locations": [
{
"line": 1,
"column": 233
}
],
Cause
A custom filed used by the gadget filter has been deleted.
Solution
Edit the gadget, change the filter to another, then change back to the original, and save it.
Ideally, once a custom field is deleted, its references should be removed from gadgets. So, a bug us reported here to improve the behaviour JRACLOUD-84797 - Deleted custom field prevents gadget from loading