I administer users in Jira. When I have to deactivate a user it would be helpful to be able to see at a glance what projects they have access to. I am new to this role so I'm not sure if it is possible or not.
There are a couple ways of doing this. From the web interface, the quickest is to find the user in the User browser from Administration and select View Project Roles from the action menu:
This will give you a matrix of all the projects and what roles the user is associated with.
There are of course a couple problems looking at users like this:
So, if you're on Server and have access to SQL, you can take this a step further by directly querying your database for any schemes that user has been added to.
Replace the 'username' (at the end of the query) with the username you're looking to find in the following queries.
Notification scheme adds:
select notif_type, notif_parameter, name from notification join notificationscheme on notification.scheme = notificationscheme.ID where lower(notif_parameter) = lower('username')
Permission scheme adds:
select perm_parameter, permission_key, name from schemepermissions join permissionscheme on schemepermissions.scheme = permissionscheme.id where lower(perm_parameter) = lower('username')
If you by chance had a predecessor who added groups to notification schemes, you can also expand this even a little further to find where notifications might be coming from based on group membership to notification schemes. Note that there are two places in this query where you'd need to drop in the username.
Notification scheme adds, including notification through group memberships:
select notif_type, notif_parameter, name from notification join notificationscheme on notification.scheme = notificationscheme.ID where lower(notif_parameter) in (select lower_parent_name from CWD_membership where lower_child_name = 'username') or lower(notif_parameter) = lower('username') order by notif_parameter
Hope that helps!
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :). In the spirit of this month's august-challenge, we're sourcing stories of Jira Service Desk activation fro...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs