Filter our Resolved/Closed Urgent and High Priority tickets from showing in dashboard widget count
Hi All,
New user here. I am setting up our dashboard and I’d like to be able to display Urgent and High Priority ticket numbers, but when I set this widget up, it showed me a count of 5. I knew we didn’t have any open tickets that were urgent or high priority, but realised it was showing all of them, which included the 5 closed ones.
I can’t seem to find a way to filter the widget to only show those tickets that are not closed or resolved.
When you create a new Dashboard , you can click on Ticket Volume > rename the widget title with the required name and use the created ticket view to display the urgent and high priority tickets which populates from the created view.
Regards,
Yusuf Ahmed
To display only open Urgent and High Priority tickets, you need to apply a filter to exclude closed or resolved tickets. Check your dashboard settings for a filter option and set it to show tickets where the status is not "closed" or "resolved." This should correct the count to only include active tickets.
Thank you for your responses. I didn’t realise that the filters on those could be saved and then that would reflect on the widgets. Rookie mistake!
To filter out resolved or closed urgent and high-priority tickets from showing in your dashboard widget count, you'll typically need to modify the query or criteria that populates the widget. Here's a general approach depending on your platform or system:
### 1. **Identify the Widget Source** - Determine where the widget is pulling the data from (e.g., database query, API call, or a built-in filter in the dashboard tool).
### 2. **Modify the Query or Filter** - **For SQL-Based Dashboards:** If the widget is based on an SQL query, you would modify the `WHERE` clause to exclude tickets that are resolved or closed: ```sql SELECT COUNT(*) FROM tickets WHERE status NOT IN ('Resolved', 'Closed') AND priority IN ('Urgent', 'High'); ```
- **For API-Based Widgets:** Adjust the API parameters to exclude resolved or closed tickets. For example: ```json { "status": r"Open", "In Progress"], "priority": ""Urgent", "High"] } ```
- **For Platform-Specific Widgets (e.g., Jira, Zendesk):** Use the platform's filtering or JQL (Jira Query Language) capabilities. For Jira, the query might look like: ``` priority in (Urgent, High) AND status not in (Resolved, Closed) ```
### 3. **Update the Widget Configuration** - If your dashboard allows custom filters, apply the updated query or filter criteria directly within the widget settings.
### 4. **Test the Changes** - After making these adjustments, ensure that the widget displays the correct count, excluding any resolved or closed urgent and high-priority tickets.
If you need specific guidance on a particular platform, let me know!