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

As a Jira administrator I cannot change the sharePermissions & editPermissions for private filters & private dashboards via REST API

XMLWordPrintable

    • 27
    • 41
    • 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.

      Problem Definition

      Currently, the documentation is wrongly stating that: "Shared filters can be updated by the Jira administrator."

      • However, as a Jira administrator if I'm not the owner of the filter I will receive the following error:
       {"errorMessages":["You may only create, modify or delete filters that you own."],"errors":{}} 
      • Additionally, I cannot change the owner through REST API.
      • The REST API endpoint Update filter provides the body parameter owner but this cannot be used, currently, to change the owner.
      PUT /rest/api/3/filter/{id}
      

      Suggested Solution

      • Provide the functionality to change the owner through REST API.
      • Or provide the functionality to update sharePermissions value without verifying ownership of the filter.
      • Or, fix the documentation.

      Note:

      • This ticket should include the ability to allow admin to search private filters & dashboards through the Rest API (add `overrideSharePermissions` or `extendAdminPermissions`)

      Why this is important

      • Currently, as a Jira administrator, I cannot update the filter configuration (for example sharePermissions value) if I'm not the owner of the filter.
      • If the functionality is provided, the Jira administrator will be able to bulk update sharePermissions value if he notice that filters are shared with anyone or with any logged in user.
      • Since a Jira administrator can do the change through the UI, it would be useful to have this functionality through REST.
      • The endpoint Update filter will be richer, more useful and more efficient.

      Workaround

      • Currently, there is no workaround.

              Unassigned Unassigned
              f8a631bf8bd2 StephenG
              Votes:
              82 Vote for this issue
              Watchers:
              65 Start watching this issue

                Created:
                Updated: