Scenario:
A user has created a ticket.
L1 Agent picks up the ticket and update ticket with their finding and attach some documents. At this step agent can delete their own attachments (for this configured project permission to delete own attachments). L2 agent can also delete all attachments at this level.
L1 agent transition the case to next level (e.g. Initial Working to Review Working), at this step case is assigned to L2 agent, now L2 agent should be able to add/ remove all attachments.
Configured workflow properties in following manner but not able to achieve the desired results.
Workflow status: Initial Working
Property Key: jira.permission.attachdeleteall.group.include
Property Value: L1 group ID, L2 group ID
Workflow status: Review Working
Property Key: jira.permission.attachdeleteall.group.include
Property Value: L2 group ID