Ownership of rich filters may need to be transferred, particularly when a user leaves the organization. This article provides instructions on how to change changing ownership of rich filters in bulk by updating the relevant database table.
Prerequisites
Access to Jira's database.
Proper database backup before running any update queries.
Familiarity with SQL queries and database types (PostgreSQL, MySQL, SQL Server, etc.).
Solution
The Rich Filters Filter's ownership information is stored in the database table AO_24D977_QRFAE0. This table contains the following key fields:
...
To bulk change the ownership of rich filters from one user to another, an SQL query can be run to update the ADMIN_KEY field.
Example Query
The following SQL query shows how to change the ownership of rich filters from a user who is leaving the organization to a new user.
Code Block |
---|
UPDATE AO_24D977_QRFAE0 SET ADMIN_KEY = '<newUser>' WHERE ADMIN_KEY = '<userWhoLeavesTheOrganization>' |
Info |
---|
Considerations
|