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

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

    XMLWordPrintable

Details

    Description

      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.

      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.

      Attachments

        Issue Links

          Activity

            People

              e555ca5e1233 Bartosz Robakowski
              f8a631bf8bd2 StephenG
              Votes:
              39 Vote for this issue
              Watchers:
              41 Start watching this issue

              Dates

                Created:
                Updated: