Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-65027

Options to automatically make all Public filters and dashboards to Logged-in users

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • None
    • None
    • 2
    • 3
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Problem Definition

      Following the implementation to have shared filters and dashboards to be shared to only logged-in user in https://jira.atlassian.com/browse/JRASERVER-23255 the existing filters/dashboards shared continue to stay public.

      This is expected as per the description

      Allows users to share dashboards and filters with all users including those that are not logged in. Disabling this will not change sharing for dashboards and filters that are already shared with the public. See related knowledge base article.

      Use-case problem

      Users that tries to save Public filter after disabling Public sharing will hit into an error below

      Error is unclear and only can be understood when the said user go to Details > Edit Permission where it now show below

      Suggested Solution

      Have options when disabling this to have all shared dashboards/filters that were shared to Public now updates to Logged-in users only.

      Why this is important

      The error to users are not clear of what needed to be done and this would help solves user and administrators concern.

      Workaround

      Create a database and XML backup first!

      1. Shutdown JIRA
      2. Create a database backup
      3. Run the following to update filters
        update SHAREPERMISSIONS
        SET SHARETYPE = 'loggedin'
        WHERE SHARETYPE = 'global' AND entitytype = 'SearchRequest';
        
      4. Run the following to update dashboards
        update SHAREPERMISSIONS
        SET SHARETYPE = 'loggedin'
        WHERE SHARETYPE = 'global' AND entitytype = 'PortalPage' AND id !=10000;
        
      5. Start up JIRA
      6. Re-index Jira.

        1. editperm.png
          70 kB
          Zul NS [Atlassian]
        2. savefilter.png
          25 kB
          Zul NS [Atlassian]

              Unassigned Unassigned
              znoorsazali Zul NS [Atlassian]
              Votes:
              23 Vote for this issue
              Watchers:
              19 Start watching this issue

                Created:
                Updated: