Time in Status Gadget Configuration
Gadget type - select what field to group the data by, or show it ungrouped. Custom fields are also supported by the type - string, date, user, or option.
Time in status by
Dashboard gadget can be configured to show statuses by both - status category (To Do, In Progress, Done or No Category) or status name.
JQL filter
Data supplied to the app can be filtered using JQL filters, with the gadget supplying some JQL presets. If you are running Jira Cloud and want to use Adaptavist ScriptRunner JQL functions you should save them and use them as synchronized filters instead via JQL - filter = “enter name or id of the filter“