Part 5: Queries and the two views
Section titled “Part 5: Queries and the two views”About this video
Part five adds two saved queries and the two views people work in. The queries are Closed tickets and All tickets. Ticket Request is where everyone signed in opens and follows tickets, with discussion, history and the workflow path turned on; Incoming Requests is the desk's view, open only to the Technical Support Office group.
What this video covers
- A query as a saved filter: Closed tickets and All tickets
- The Ticket Request view: pinned, open to everyone signed in, with add and edit
- Turning on Discussion, Entry history and Workflow path
- Why the add form must hold every required field
- The Incoming Requests view: the desk's table, open only to its group
- Workflow buttons depend on who owns the ticket's step, not on the view
Who it’s for: App builder
Context
In the documentation: Build the views, Create the queries, Queries & filters, Data Views & Faces
Transcript
- A query is a saved filter. Support Tickets gets two: Closed tickets, and All tickets for the monthly report.
- On the Queries tab, select New Query.
- The condition: Ticket status equals Closed.
- Name it Closed tickets, and save.
- All tickets is the same with Is filled: every ticket has a status, so it matches them all.
- Now the views. Ticket Request is where customers open and follow their tickets.
- Its source is Entries, with all the fields. Pin it to the sidebar.
- Authenticated, with no users or groups chosen: everyone signed in can open a ticket.
- The list shows a table of five fields, with search.
- These three are off by default, and requesters need them. Discussion, with Workflow comments: each step’s note shows there.
- Entry history, with Changes and Changer.
- And Workflow path, so people can follow a ticket’s route.
- People add tickets here and edit them. The add form also needs Ticket status: it must hold every required field.
- Save, and publish it.
- Incoming Requests is the desk’s view. It is built the same way, with a few differences.
- Only the Technical Support Office group may open it.
- Its table adds the status and the assignee, which the desk edits with the end date and the solution. It adds no tickets: they come from Ticket Request. The same three options are on here too.
- Save, and publish.
- Two queries and two views. Which workflow buttons a person sees depends on who owns the ticket’s step, not on the view. In part six, the status chart and the monthly report.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27