We have a customer-facing portal, where after submitting their tickets to us they have access to their tickets within our workspace.
The problem is that they end up visualizing the tickets of other customers from other companies.
The solution we thought: A security scheme automation that will automatically set the security level of the work item submitted by the user to a specific one related to their company, based on their reporter email domain. This should ensure that they only visualize the work items of their respective companies and hide the work items of the other companies.
The problem: As we have many customers submitting tickets to us, it is very troublesome to manually add each and every user to the security level. We could do it via groups, but then we have to manually add every single new user to their respective group which is a hassle.
As we can add groups to the security levels, is there a way to automatically add users to specific groups based on their reporter/email domain?
Example: If reporter email contais @companyXYZ.com, assign to group "Company XYZ"
Is the above doable? Are there any other means of accomplishing it?