How to find out the usage of user groups?

Gisela Lassahn
Contributor
November 4, 2024

Hi all together,

we’re using Jira Datacenter 9.17.2 with ScriptRunner.

We have some user groups I would like to delete, because I think they are no longer used.

In the administration for groups, I can see whether a certain group is used in Permissions Schemes, Notification Schemes and Issue Security Schemes and to share saved filters.

But user groups can be used in many other ways, e.g.

  • as board administrators,
  • to give them project roles,
  • to share dashboards,
  • for filter subscriptions,
  • to define the visibility of comments,
  • for permissions on plans,
  • in workflows (Conditions, Validators, Post Functions?),
  • in Groovy scripts (which can be used in many ways with ScriptRunner),
  • in JQL (e.g. function membersOf(); JQL can also be used in many ways, e.g. for saved filters, board subfilters, automation rules)
  • ???

Unfortunately, Jira doesn’t check all these points when I try to delete a group.

Is there a way to find out whether a group is still used or not, at least for some of the points?

Best regards,

Gisela

2 answers

0 votes
Dang Thi Thuy Tien
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2025

Hi, 
I think this app can cover your request ;), you can have a look :v
Tracking group usage in Jira/Confluence can be a challenge, but Group Master for Jira/Confluence makes it simple! You can easily see where each group is being used across all your projects—no more searching or guessing. It’s all in one place, making things way more organized. Give it a try and see how easy it can be!

https://marketplace.atlassian.com/apps/1236395/group-master-for-jira?hosting=datacenter&tab=overview

And another advanced group management capabilities:
    View group usage across Jira
    Edit group names for clarity
    Move or copy group members easily
    Replicate or migrate group usage
    Delete groups and clean up associated data 

0 votes
Gisela Lassahn
Contributor
November 6, 2024

In the meantime I've written some SQL Stored Procedures for these above mentioned points:

  • as board administrators,
  • to give them project roles,
  • to share dashboards,
  • for filter subscriptions,
  • to define the visibility of comments,
  • for permissions on plans,

and also for "User In Group Conditions" in Workflows.

These points are still open:

  • in workflows (Conditions, Validators, Post Functions?), [generally]
  • in Groovy scripts (which can be used in many ways with ScriptRunner),
  • in JQL (e.g. function membersOf(); JQL can also be used in many ways, e.g. for saved filters, board subfilters, automation rules)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events