Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-61158

Cannot save/edit filter/dashboard if user is removed from group shared in filter/dashboard

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      Summary

      If a user shares a filter or dashboard with a group, it must be a part of that group. However, if after sharing with the group, the user is removed from the group, or if the group is deleted in User Management, this user can no longer edit the filter.

      Steps to Reproduce

      1. Create a user and a group and add the user to the group
      2. Log in as this user
      3. Create any filter or dashboard as this user
      4. Share the filter/dashboard with the created group
      5. Remove user from the group or delete the group in User Management
      6. Find the filter in ‘My Filters’ or the dashboard in 'Manage Dashboards' and click it
      7. Edit its JQL and carry out the search again
      8. Click ‘Save’
      9. Or try to edit the Dashboard and click on 'Update'

      Expected Results

      The user is still able to edit the filter/dashboard.

      Actual Results

      The filter is actually not saved with this error:

      The filter My Filter could not be saved.
      

      This appears in the browser’s JavaScript Console:

      batch.js?agile_global_admin_condition=true&atlassian.aui.raphael.disabled=true&is-system-admin=true…:3875 PUT https://instance.atlassian.net/rest/api/2/filter/10100?expand=subscriptions[-5:] 400 ()
      

      The user won't be able to edit the Dashboard and also, the Add Gadgets and Edit Layout buttons won't display for the user.

      Notes

      There’s a similar problem here:
      https://jira.atlassian.com/browse/JRA-59185

      Workaround

      Workaround 1

      Delete the share with that group:

      1. Find the filter in ‘My Filters’
      2. Click ‘cog icon’ >> ‘Edit’
        • You’ll see this error:
          You do not have permission to share with Group: ‘mygroup’.
          
      3. Remove the group by clicking the ‘trash can icon’ next to it
      4. Click ‘Save’

      Workaround 2

      Add the user back to the group. (this may cause changes in permission for this user, make sure to check this first).

      Workaround 3 - Applicable only for Dashboards

      Delete the groups that were previously deleted from the 'User Management' from the Edit and share dashboard page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jsilveira Jaime S
              Votes:
              1 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: