We have a requirement to disable jira charting plugin on jira datacenter 7.13. Need to notify the active users. Do you have a SQL query that can be executed against the database to get the list of users?
Figured it out. The tables portletconfiguration and portalpage have what you need.
hi.. could you please share the SQL queries to find list of users.. thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In preparation for Jira 8.20 > 9.12 LTS (testing on 9.11), I've prepared the below (tested in psql) - hopefully it helps you somewhat
SELECT
w.gadget_xml,
CASE WHEN u.active = '1' THEN
true
ELSE
false
END as user_active,
count(*)
FROM
portletconfiguration AS w,
portalpage AS d,
app_user AS au,
cwd_user AS u
WHERE
w.portalpage = d.id AND
au.user_key = d.username AND
au.lower_user_name = u.lower_user_name AND
w.gadget_xml LIKE '%com.atlassian.jira.ext.charting%'
GROUP BY 1,2
ORDER BY 1,2
;
CCM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.