Redmine saved queries and issue filters

Shared Redmine saved queries give teams and managers repeatable views of work, and this page explains how to design filters, visibility, columns and CSV exports so they stay useful as projects grow.

On this page

Why teams build Redmine saved queries and issue filters

Managers and team leads often end up rebuilding the same issue list by hand every week: open the issue list, set the project, status, assignee and due date, add a column or two, and export what they need. A saved query removes that repetition. In Redmine, a saved query stores a set of filters, the operators applied to each filter, the visible columns, the sort order and the grouping, so the same view can be reopened in one click. Filters combine with AND logic across fields, and the columns decide what each row shows, including totals where a column supports them. Shared queries replace ad hoc searching once several people need the same answer, such as all open bugs past their due date across three projects, or every issue a team lead must review before a release meeting.

Redmine has extended the filter vocabulary in recent releases, which changes what a query can express. Redmine 5.1.0 added the operators contains any of, has been, has never been and changed from, so a query can now ask whether an issue has ever held a status or was changed from a given value during a period, not only what its current value is (see the Redmine 5.1 changelog). Redmine 6.0.0 added descriptions on custom queries and changed the default CSV export encoding to UTF-8 (see the Redmine 6.0 changelog). Descriptions let the owner record what a query is for and which filters are intentional, which matters when a query becomes a standing report. The UTF-8 default helps exports carry non-Latin names and accented text into spreadsheets without manual encoding changes, though teams should still test a sample export in the spreadsheet tool they use.

Before building shared queries, confirm which Redmine version is running, because the operators and descriptions above are only available from 5.1 and 6.0 onward. Decide who may create public queries and which roles should see them, and check that filters do not expose issues a viewer cannot otherwise access. Test each shared query with a user from the audience role, since results depend on that user's permissions. Keep the number of public queries small and name them by purpose, so managers find the right list without rebuilding it.

Query visibility, columns, totals and export options and when each fits

This table compares the main choices for sharing and presenting Redmine issue queries, from private personal views to public and role-scoped queries, columns, totals, descriptions and CSV exports. Read each row for the audience it suits and the upkeep it adds, then confirm the exact visibility options in the Redmine version you run. The main takeaway is that wider sharing and more reporting output both increase what someone must maintain over time.

OptionBest audienceMaintenance costWhen to choose it
Private queryOne user building a personal view, such as a daily triage listLow, since only the owner depends on it and it rarely needs reviewUse for experiments and personal working lists before a query is worth sharing
Public query for project membersAll members of one project who need the same standard viewMedium, because filters and columns must be kept valid when trackers, statuses or custom fields changeUse for shared team backlogs or status views that everyone reads the same way
Role-scoped visibilityUsers in specific roles, such as managers or external clients, who need a filtered sliceMedium to high, because each role's visibility must be checked against its permissions and project membershipConfirm in your version how role visibility is set, then test it with an account from each role
Columns and groupingTeams that read lists, and managers who scan by assignee, status or versionLow to medium, since removed or renamed custom fields can break a column choiceKeep columns to what the audience acts on so lists stay readable and fast to load
TotalsManagers tracking counts or summed estimates per groupMedium, because totals are only as meaningful as the field values and statuses behind themAdd totals only when someone has agreed what the number means and who reviews it
Query descriptionFuture maintainers and new team members who inherit a queryLow to ongoing, because the description must be edited whenever the query's purpose changesRecord the purpose, owner and filter logic for any shared query. Redmine 6.0 added descriptions on custom queries
CSV exportReporting teams, finance or auditors who work outside RedmineMedium, because exported files can leave Redmine's visibility controls and need their own handlingExport only the columns needed for the report. Redmine 6.0 changed the default CSV encoding to UTF-8, so confirm how your spreadsheet tools read the file
Filter operatorsPower users and administrators building precise shared queriesMedium, since queries using newer operators will not work in releases that predate themRedmine 5.1 added operators such as contains any of, has been, has never been and changed from. Check the operator exists in your version before relying on it

Designing filters that stay accurate as the tracker model changes

A shared query is only as reliable as the assumptions behind it. The cards below cover the decisions that most often break a Redmine filter when statuses, fields, projects or roles change, and the checks that keep manager reports consistent.

Status categories versus named statuses

Filtering on a named status such as Waiting for customer ties the query to one workflow step. If a status is renamed, split or retired, the query silently drops issues from the report. Filtering on the open or closed flag keeps the query stable through most workflow changes. Before publishing a report, list which statuses are open in each tracker and confirm the query matches what managers expect to see.

Custom field filters and their scope

A custom field filter only appears when the field is enabled for the tracker and project in question. A field limited to one project will return no results, or an empty filter option, when the query spans several projects. Check that each field used in a shared query is active for every tracker and project it covers, and that its searchable setting is on so users can filter by it.

Date and relative date filters

Filters such as this week or less than 7 days ago are evaluated when the page loads, so the same saved query shows different issues each day. This suits live dashboards but misleads a monthly report that was exported on a fixed date. For reporting, decide whether the window should move or be fixed, and state the reference date in the query description. Confirm how the operators behave on your Redmine version before relying on them.

Filters across subprojects

A query on a parent project can include subproject issues, but that depends on the project hierarchy and on whether subprojects are shared with the query's audience. Issues in projects the viewer cannot access are excluded without any warning. Test the query from the account managers will use, and compare the total with a count taken from the subprojects directly, so a gap is caught before a report goes out.

Filters that depend on role permissions

Redmine applies role permissions to every query. A manager with view rights on all issues and a developer limited to their own projects, or to issues that are not private, will see different counts from the same saved query. This is correct behavior, but it means a single shared figure can be wrong for one audience. Run the query under each role that reads the report and document which population the total represents.

Why role-dependent results matter for managers

When managers compare figures from different people, the difference in visible issues looks like a data error, and trust in the tracker drops. Set expectations by naming the audience in the query title, for example Open issues visible to project managers, and by restricting the report to the role that owns the decision. Keep a short note of the filter logic so that a later change to roles or workflows can be traced to a change in the numbers.

How to build and publish a shared query in Redmine

This sequence takes a team from an agreed question to a shared issue query that managers can open, read and export with confidence. Each step ends with a check against the issue list or a test as a real user, so the published query returns the rows it should for every audience.

  1. Confirm the Redmine version and query features

    Start by checking the Redmine version in the administration area, since the operators and options you can use depend on it. Redmine 5.1.0 added operators such as contains any of, has been, has never been and changed from, and Redmine 6.0.0 added descriptions on custom queries and switched the default CSV export encoding to UTF-8. If your instance is older than the release that provides a feature you need, note that now so the design does not depend on it. The step is done when you have a written version number and a short list of the operators and query options your design can rely on.

  2. Define the audience and project scope

    Name who will open the query (for example, a delivery manager or a team lead) and which projects it should cover. Decide whether the query lives in one project or spans a project hierarchy, since a project-level query only shows issues from that project and its subprojects where the setting applies. Confirm the trackers and statuses the audience cares about, and write down the question the query answers in one sentence. The step is done when the audience, scope and question are written in the project's documentation and agreed with the requester.

  3. Build filters and columns in the issue list

    Open the issue list for the chosen project, add filters for status, tracker, assignee, dates and any custom fields that matter, and choose operators deliberately. Then select the columns the audience needs, keeping the list short enough to read and export. Save the query only after the filters and columns return the issues you expect when you spot-check a few by hand. The step is done when a sample of issues matches the filters, and the results are what the requester described in the scope step.

  4. Add totals and grouping for reporting

    Enable totals for numeric or estimate columns and choose grouping where it helps a manager scan the results, such as grouping by assignee or status. Totals and groups change how the list reads, so test them against a known subset of issues and confirm that the sums and group counts match what you see in the rows. Remove grouping from any query meant for CSV export if it complicates the file structure for the downstream tool. The step is done when the totals and group counts agree with a manual count for the sample issues.

  5. Set query visibility and sharing

    Choose whether the query is private to you, visible to roles in the project, or public for all users who can see the project. Review the roles that will see it, because a query only shows issues that each viewer is allowed to see under their own role permissions and private issue settings. Use role-scoped visibility where the audience is a specific group, and avoid public queries for data that some viewers should not see. The step is done when the visibility setting is saved and matches the audience defined earlier.

  6. Write the query description

    Add a description that states what the query shows, the filters applied, the date basis, the expected update cadence and who owns the query. Keep it factual and short so a new manager can understand the results without asking the author. Include a note on any known limitation, such as issues excluded by a private setting or a status that is treated as closed. Confirm the description appears on the query page for a user with a different role. This requires Redmine 6.0.0 or later, so confirm that the version step supports it before relying on the field. The step is done when the description is visible and accurate.

  7. Test the query as each role and export a CSV

    Sign in as a representative user for each role that can see the query, and compare the row count with the issue list for the same user. Differences usually come from private issues, project membership or role permissions, so record the reason for each gap. Export the query to CSV and open the file in the spreadsheet tool your managers use, confirming that accented characters and symbols display correctly under UTF-8 and that the columns match the view. The step is done when each role's counts are explained and the exported file opens with correct encoding and content.

How a saved query moves from builder to manager report

The path starts with a project lead building filters, columns and grouping in the issue list, then chooses who can see the query: only themselves, everyone with access, or specific roles. Redmine evaluates the query against each viewer's own permissions, so the same saved query can show different issues to different people. Managers either read the totals on screen or export the list to CSV. Check the visibility setting and the viewer's role before trusting a total, because issues hidden by permissions are silently left out of the count.

Permissions filter the issue list before totals and CSV exports are produced.

Security and access considerations for shared queries

A shared query is only as safe as the permissions behind it. Redmine applies project, role and private issue rules to query results, but a query that is visible to the wrong audience can still expose titles and counts, and exported files and API calls carry the same data out of the tool.

Results follow role permissions

Redmine filters query results through each viewer's role and project permissions, so the same saved query can return different issues for different people. Private issues stay hidden from users who are not authorized to see them. Check that the roles you rely on for sharing have the view permissions you intend, and test the query while signed in as a member of each role that will use it.

Public queries expose titles and counts

A public query is visible to anyone with access to the project, and a query on a broad filter can reveal issue subjects and totals to people who should not see the underlying work. Counts alone can leak information, for example the number of open security issues. Review which filters are placed on public queries and avoid naming sensitive work in query names or descriptions.

CSV exports leave Redmine

A CSV export is a file that copies whatever the viewer could see at the time of export, and it then lives in email, spreadsheets and downloads outside Redmine's permissions. Decide who may export, which columns are allowed in exports, and where files are stored and deleted. Since Redmine 6.0.0 the default export encoding is UTF-8, so confirm that downstream tools read it correctly.

API access follows the same model

The REST API applies the same permission checks to issues as the web interface, so an API key gives the same view of issues as the user it belongs to. The API must be enabled by an administrator and works with per-user keys sent in the X-Redmine-API-Key header. Confirm which accounts hold API keys, rotate keys for departed staff, and review whether scripts that pull issue lists need the access they have.

Redmine REST API

Limit who can create public queries

Creating public queries should be a deliberate permission, not a default for every project member. Restrict the permission to project managers or a small group of coordinators, and ask who reviews shared queries after they are created. Keep a short list of public queries per project so that owners can confirm each one still matches its intended audience when membership or roles change.

Limits to confirm before promising managers a report

Which filter operators does my Redmine version actually support?

The operator set depends on your version, so check it before you design a report. Redmine 5.1.0 added operators such as contains any of, has been, has never been and changed from, so a 5.0 or older instance will not offer them. Build a small test query for each operator your managers expect, on your installed release, and keep the results as a record. Do not assume an operator exists because it appears in a changelog for a newer line. The Redmine 5.1 changelog lists what that release added.

Do totals and grouping work correctly with custom fields?

Confirm this with your own custom field types, not with issue fields alone. Totals and group-by behavior can differ between core fields and custom fields, and between formats such as lists, numbers, dates and multi-value fields. Create one test issue set with blank, duplicate and multi-value entries, then compare the totals on screen with a manual count. Repeat the check after you add or change a custom field, because a field that is not searchable or not used as a filter may not offer the grouping you need.

How does a saved query perform on a large result set?

Performance depends on the number of issues, the columns displayed, the filters used and the database and hardware behind the server. Load the heaviest query your managers plan to use against a copy of production-sized data, and time the page and the CSV export. Limit visible columns and use pagination rather than showing every issue on one page. Ask your administrator to review server logs during the test. Redmine's operations guidance covers diagnosing slowness, and that is the next place to look if a query times out.

Will CSV exports open correctly in spreadsheet tools?

Redmine 6.0.0 changed the default CSV export encoding to UTF-8, so exports from 6.0 and later should handle accented and non-Latin text better than older releases. Still, confirm the result in the spreadsheet tool your managers use. Test an export that contains commas, line breaks, quotes and non-ASCII names, and check whether the spreadsheet splits columns or mangles characters. Some tools need a manual import step with the encoding set. Write the steps down so reports stay consistent across the team.

Do saved queries keep working after a Redmine upgrade?

Usually they carry over with the database, but verify this after every upgrade rather than assuming it. Confirm that each shared query still returns the expected issues, that its columns and filters still exist, and that role-scoped visibility still matches your access model. Upgrades can add operators, change defaults or retire fields, so compare results before and after on the same test data. The Redmine upgrade guide describes the database and plugin migration steps that run before you test.

Can a plugin change the behavior of queries or exports?

Yes, a plugin that adds custom fields, issue list columns, query options or export formats can change what a query returns and how an export is built. Before promising a report, list every plugin installed on the instance and note which ones touch issues, queries or CSV output. Retest your shared queries after each plugin is installed, updated or removed. If a plugin is needed for a report, confirm it supports your Redmine version and plan for its maintenance along with the core upgrade.

Who should sign off on a manager's report requirements?

A named owner from the team that uses the report should sign off, with an administrator confirming the technical limits. Write down the filters, columns, totals, grouping, expected row count and export format the manager needs. Then test those requirements on your version and data, and record what passed and what failed. This turns a vague promise into a checked specification. If an element fails, decide whether to change the report, add a plugin or accept a manual step before the date is committed.

What should a quote for query and report work include?

A quote should show the written scope of query design, the test cases used to verify it, the number of reports and roles covered, and what happens during an upgrade or plugin change. Ask who runs the verification, who owns the saved queries afterward and whether retesting after upgrades is included. DeployOpen plans and delivers fixed-scope engagements agreed in writing before work starts, and a quote follows from that scope. DeployOpen does not publish a price list. Ongoing support and retesting can be handled through a retainer if your team wants that continuity.

What changes when you upgrade Redmine

Saved queries and filter behavior depend on the Redmine version you run, so an upgrade can change what your teams see and export. The filter operators available on an issue query were extended in Redmine 5.1.0, which added operators such as contains any of, has been, has never been and changed from. If your installation is on 5.1 or older, the queries your managers built against those older operator sets may behave differently after the move, and some of your team's filters may need rewriting. Redmine 6.0.0 also added descriptions on custom queries and changed the default CSV export encoding to UTF-8, so a report that feeds a spreadsheet or another system may need its import settings checked against the new output.

Before you upgrade, inventory every public and role-scoped query, note which ones drive dashboards, exports or scheduled reports, and record the filter and column settings for each. After the upgrade, open each critical query as a user from each affected role, confirm the results match your expectations, and compare a sample CSV export with the one you produced before. Confirm with your administrator which query-related plugins are installed, because a plugin that adds columns or operators may not be compatible with the target version until it is updated.

The Redmine upgrade guide sets the required sequence: back up the database and uploaded files, copy configuration, uploads and third-party plugins to the new installation, then run the migration tasks before clearing the cache and restarting. Query definitions live in the database, so a restore that skips the database backup will lose your shared views. Plan the query review as a step inside the upgrade test window, not as a task after go-live, and agree with your managers who signs off on the results.

What building shared Redmine queries costs and requires

What makes building shared Redmine queries take more or less effort?

The main drivers are the number of audiences, how many custom fields the queries must filter or display, and how complex the role model is. Each audience (developers, team leads, managers, clients) usually needs its own set of filters, columns and grouping, and each query must be checked against what each role can see. Custom fields add work because every field that a query uses has to exist, be visible to the right roles and behave as expected in filters and CSV output. A simple model with one or two roles and a short list of standard columns is quick to settle. A model with many projects, private issues and role-specific workflow statuses needs more testing, because a query that looks correct to an administrator may show different results to a manager. Ask any partner to list the audiences, fields and roles in scope before agreeing on a quote.

Can our own team build shared Redmine queries without outside help?

In most organizations, yes. Creating a query, choosing filter operators, selecting columns and sharing it are standard Redmine tasks that a project manager or Redmine administrator can learn in a short session. The work becomes harder when the queries must answer reporting questions that depend on custom fields, role-scoped visibility or consistent CSV exports for a finance or audit team. Your team can handle the basic build and then decide which parts to hand over. Outside help is most useful for designing a shared set of queries that several teams will rely on, checking visibility from each role and documenting what each query is for. Whichever route you choose, keep a short list of the queries that leadership depends on and review it on a fixed schedule.

What does the project owner and Redmine administrator need to provide?

The project owner needs to describe the questions each audience asks of the issue data, such as open work by team, overdue items by client or changes in a period. They also decide which projects and trackers a query covers and who should see it. The administrator needs to confirm the role permissions that control which issue fields and statuses each role can view, the custom fields that exist and whether they are visible to the roles that will use the queries, and who is allowed to create public queries. Access to a test copy of the production instance, or a staging instance, helps because queries can be checked there without exposing live data. Ask the provider to list these inputs in the written scope so that nothing is discovered late.

How long does testing shared queries take?

Testing time depends on scope, and no fixed duration applies to every instance. It grows with the number of audiences, the number of roles that must be checked and the number of queries that depend on custom fields or unusual filter operators. For each query, someone should confirm the results from at least one account per role, the totals and grouping, and the CSV export opened in the spreadsheet tool that the report will use. Filters that use operators added in newer releases, such as those introduced in Redmine 5.1, should be checked on the exact version you run. Ask any provider to state how many queries and roles the test plan covers and what evidence each test produces.

Do shared Redmine queries require a plugin?

Usually no. Redmine's core issue list supports filters, columns, grouping, totals, public or private query visibility and role-scoped access without extra software. Query descriptions were added to custom queries in Redmine 6.0, and CSV export encoding changed to UTF-8 in the same release, so the built-in features cover most reporting needs. A plugin may be considered when a team needs a dashboard layout, a chart type or a reporting format that the core does not offer. In that case, check the plugin's compatibility with your Redmine line, its maintenance history and how it will be updated during upgrades, since an unmaintained plugin can block an upgrade. Confirm each plugin requirement with the plugin's documentation before adding it to the scope.

How do we keep shared queries working after tracker or workflow changes?

Queries depend on the trackers, statuses, custom fields and projects they reference, so changes to any of them can silently alter results. Renaming a status, removing a custom field or moving issues to a different tracker can leave a query showing fewer rows or the wrong ones. Keep a register that lists each shared query, its owner, the fields and statuses it uses and the audience it serves. Review the register whenever trackers, workflows or roles change, and rerun the test accounts for the affected queries. Before upgrading Redmine, include the query checks in the upgrade test plan, because the release notes for each version may change filter behavior. Assign one person to own the register so that updates are not left to chance.

What recurring work comes after the queries are built?

Queries need ongoing attention because the organization changes. Recurring work includes reviewing shared queries on a set schedule, retiring queries that no team uses, adding queries for new projects and rechecking visibility after staff changes. Upgrades add another recurring item, since query behavior and the export format can change between Redmine lines. Redmine itself has no license fee, so recurring cost comes from the people who keep the queries accurate, the hosting and any support arrangement you choose. DeployOpen offers ongoing support and upgrade retainers that can cover this review work, and the scope and fees are agreed in writing before work starts.

How DeployOpen scopes and delivers Redmine reporting queries

DeployOpen plans, implements, documents and supports self-hosted Redmine inside the client's own infrastructure, including the shared issue queries that teams and managers use for daily work and reporting. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Inventory the teams, managers and reports that need shared queries, and the questions each query must answer.
  • Agree which filter operators, columns, totals and grouping each query uses, and which Redmine version the client runs.
  • Record in the written scope who may publish public queries, which roles see role-scoped queries, and who owns them.

How we build

  • Build the shared queries in a staging copy of the client's Redmine, with descriptions that state the purpose and filter logic.
  • Test each query against sample projects and roles to confirm visibility, totals and CSV export match the agreed design.
  • Check operator availability against the client's version, since some filter operators depend on the Redmine release in use.

How we hand over

  • Deliver a query catalogue listing each query, its owner, audience, visibility setting and intended use.
  • Document the CSV export settings and encoding used for reporting, so downstream spreadsheets and tools read the files correctly.
  • Walk the client's administrators and query owners through maintenance so changes to trackers or fields do not silently break queries.

How we support

  • Review saved queries after upgrades or tracker and custom field changes, which can alter what a query returns.
  • Offer ongoing support, upgrades and continuous testing as a retainer, scoped in writing alongside the original work.
  • Confirm with the client's own environment and vendor documentation which features apply before relying on them in reports.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.