-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
1
-
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
- 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.
- 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'." }
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
- is related to
-
JRACLOUD-15900 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.
- Closed
-
JRACLOUD-60899 As a Jira administrator I cannot view change the sharePermissions & editPermissions for private filters & private dashboards via REST API
- Future Consideration
Form Name |
---|
this is a crucial step to accomplish a few migration requirements, wonder if this can be feasible via REST API as is via UI