I pass the exact data that is provided in the example: https://docs.atlassian.com/software/jira/docs/api/REST/7.12.1/#api/2/filter-addSharePermission
I get an error that appears to say is does not want to work with an array:
"Can not deserialize instance of com.atlassian.jira.rest.v2.search.SharePermissionInputBean out of START_ARRAY token\n at [Source: org.apache.catalina.connector.CoyoteInputStream@4af39074; line: 1, column: 1]"
If I provide only a single object, it takes it.
The problem is that if I apply multiple objects each one will overwrite the other. Seems I cannot apply multiple types of permissions to the same filter.
Anyone have it working?