Uploaded image for project: 'Admin Experience'
  1. Admin Experience
  2. AX-91

It's not possible to identify which "JQL Filters - Result" a group is used in without support assistance when renaming group

    • 5
    • 50
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Issue Summary

      Creating this ticket to track where customers can't self-serve when they see this error message:
       

      Edit group name BETA
      We're unable to edit the group name jira-software-users, as it is used in Jira administration settings.
      To edit this group name, first remove the group from the following Jira settings:

       

      The above hyperlinks go to

      • [YOUR_SITE_NAME.atlassian.net/jira/filters]
      • [YOUR_SITE_NAME.atlassian.net/jira/filters]

      Steps to Reproduce

      1. Create a private filter
      2. In the filter's JQL query refer to a group
      3. As a user without access to the private filter, try and change the name of the group referred to in step 2
      4. It's not possible unless you go through every single private filter, change its owner to yourself, and check its JQL for reference to the group

      Expected Results

      Admins should be able to know which filters are blocking them from renaming a group.

      Actual Results

      Admins are unable to know which filters are blocking them from renaming a group.

      Workaround

      A user with the Administer Jira Global permission can go to 
      YOUR_SITE_NAME.atlassian.net/rest/api/3/filter/search?expand=jql&overrideSharePermissions=true

      and search for the group name to see which filter it is used in.

      Once you know the filter's name you can go to YOUR_SITE_NAME.atlassian.net/secure/admin/filters/ViewSharedFilters.jspa and delete the filter:

        1. image-2024-08-20-08-42-45-505.png
          67 kB
          Anusha Rutnam
        2. screenshot-2.png
          318 kB
          Anusha Rutnam
        3. screenshot-3.png
          118 kB
          Anusha Rutnam

            [AX-91] It's not possible to identify which "JQL Filters - Result" a group is used in without support assistance when renaming group

            SET Analytics Bot made changes -
            Support reference count New: 50

            You can use the below Jira REST API to identify the filters associated with the group:

            curl --request GET \
              --url 'https://your-domain.atlassian.net/rest/api/3/filter/search?expand=owner,jql' \
              --user 'your-email@example.com:your-api-token' \
              --header 'Accept: application/json'
            

            Fetch all accessible filters and scan the JQLs for any reference like membersOf("GroupName").

            Once identified, you can edit or delete the filter, rename the group, and then restore the filter if needed.
            :hammer_and_wrench: This API query is super helpful since the UI doesn’t expose such references directly. Full KB with steps is documented here.

            Mayura Gautham added a comment - You can use the below Jira REST API to identify the filters associated with the group: curl --request GET \ --url 'https: //your-domain.atlassian.net/ rest /api/3/filter/search?expand=owner,jql' \ --user 'your-email@example.com:your-api-token' \ --header 'Accept: application/json' Fetch all accessible filters and scan the JQLs for any reference like membersOf("GroupName"). Once identified, you can edit or delete the filter, rename the group, and then restore the filter if needed. :hammer_and_wrench: This API query is super helpful since the UI doesn’t expose such references directly. Full KB with steps is documented here .
            Roxanne Bernard made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1037617 ]
            Roxanne Bernard made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 1037618 ]
            Rodrigo B. made changes -
            Affected Products Original: Jira Software,Jira Service Management,Jira Work Management,Jira Product Discovery,Confluence,Bitbucket [ 18436, 18437, 18438, 18439, 18440, 18441 ]
            Component/s Original: Directory - Groups - Add / remove users [ 66395 ]
            Component/s New: Directory - Groups - Add / remove users [ 80139 ]
            Key Original: ID-8534 New: AX-91
            Support reference count Original: 105
            Project Original: Identity [ 16810 ] New: Admin Experience [ 24210 ]
            SET Analytics Bot made changes -
            Support reference count Original: 104 New: 105
            SET Analytics Bot made changes -
            Support reference count Original: 103 New: 104
            SET Analytics Bot made changes -
            Support reference count Original: 102 New: 103
            SET Analytics Bot made changes -
            Support reference count Original: 101 New: 102
            SET Analytics Bot made changes -
            Support reference count Original: 99 New: 101

              Unassigned Unassigned
              23ef3e30d63c Anusha Rutnam (Inactive)
              Votes:
              34 Vote for this issue
              Watchers:
              41 Start watching this issue

                Created:
                Updated: