Identify which smart filters in the Data Center instance have more than 10 smart clauses in Rich Filters for Jira Dashboards
This knowledge base article outlines the limits of Rich Filters in Jira Cloud and provides a solution for Data Center (DC) administrators to audit their instances before migration.
Summary
When migrating from Jira Data Center to Jira Cloud, users should be aware of specific application limits, notably the maximum number of rich filters allowed per instance and the number of smart clauses allowed per smart filter. This article covers:
The differences in limits between Cloud and Data Center.
An MSSQL query to identify rich filters in the Data Center that exceed the Cloud smart clause limit.
Understanding rich filter limits (Cloud vs. Data Center)
Jira Cloud enforces several limits to ensure optimal performance within Atlassian's multi-tenant environment. These limits are often lower than those found on Data Center instances.
Feature | Jira Cloud Limit | Jira Data Center Limit |
|---|---|---|
Max Rich Filters per Instance | 7,500 | Unlimited |
Max Smart Clauses per Smart Filter | 10 | 15 (Typically, or user-defined) |
Max Issues per Rich Filter | 50,000 | Unlimited |
Auditing smart clauses in Data Center
For migration assessments, administrators need to identify which smart filters in their Data Center instance have more than 10 smart clauses, as these will require cleanup or splitting before migrating to Cloud.
SQL query
The following query identifies Rich Filters and their associated Smart Filters that contain more than 10 smart clauses.
SELECT
rf."ID" AS RICH_FILTER_ID,
rf."NAME" AS RICH_FILTER_NAME,
smf."ID" AS SMART_FILTER_ID,
smf."NAME" AS SMART_FILTER_NAME,
COUNT(clause."ID") AS CLAUSE_COUNT
FROM
"AO_24D977_QRFSMFE0" smf
JOIN
"AO_24D977_QRFSMFCE0" clause
ON clause."SMART_FILTER_ID" = smf."ID"
JOIN
"AO_24D977_QRFRFE0" rf
ON rf."ID" = smf."RICH_FILTER_ID"
GROUP BY
rf."ID", rf."NAME", smf."ID", smf."NAME"
HAVING
COUNT(clause."ID") > 10
ORDER BY
CLAUSE_COUNT DESC;Example Output: