Hello 
I am currently managing a Jira instance where we plan to consolidate multiple existing roles into a single new role. On various tickets, there are private comments that are only visible to the roles that will be replaced. I would like to know if it is possible to retrieve these comments and make them accessible to the new role.
Specifically, I am looking for a way to:
- Identify comments that are currently restricted to the existing roles.
- Update the visibility of these comments so that they can be accessed by the new role.
Could you please provide guidance or a recommended approach for achieving this? If possible, please include any relevant API endpoints or scripts that could facilitate this process.
Thank you for your assistance.