As an Admin I want the ability to share the visibility of a dashboard or filter with Groups and Roles that I am not a member of via API

XMLWordPrintable

    • 32
    • 4

      Issue Summary

      Since this feature was introduced via UI (reference JRACLOUD-15900), it would be best to have it working the same via API. Currently, in order to add sharing or edit permissions to a group, the user sending the request needs to be the member of the group.

      Steps to Reproduce

      1. Try to update the editPermissions and sharePermissions  with https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-dashboards/#api-rest-api-2-dashboard-id-put and https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-filters/#api-rest-api-2-filter-id-put to add a group to it.
      2. If you're not a member of the group, there will be an error returned saying 
        "errors": 
        {        
            "shares": "You do not have permission to share with Group: 'test group'.",        
            "shares_delegated": "The user 'XYZ' does not have permission to share with Group: 'test group'."    
        } 
      1.  

      Expected Results

      It would be best to use the same logic as in the UI because making such changes there does not require being a group member as explained in https://jira.atlassian.com/browse/JRACLOUD-15900 

      Actual Results

      In order to make the updates explained above, you need to become a member of the group.

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

            Assignee:
            Unassigned
            Reporter:
            Pawel Przeworowski
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: