Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Transfer Comment Visibility to a New Role in Jira

Mohssine July 2, 2024

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:

  1. Identify comments that are currently restricted to the existing roles.
  2. 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.

1 answer

0 votes
Nikola Perisic
Community Champion
July 2, 2024

Welcome to the community @Mohssine 

When you are editing a comment a comment there is a padlock button that allows you to limit that comment to a specific role. You can limit per one role only. Screenshot 2024-07-02 at 14.45.50.png

Mohssine July 2, 2024

Many thanks @Nikola Perisic !!

Unfortunately, it doesn't address my issue. In fact, the private comments are visible only to certain roles, and even administrators can't access them.
For example, if a user with a tester role adds a private comment, that comment can only be seen by users with the same role. 

 

Nikola Perisic
Community Champion
July 2, 2024

In that case, have you checked if issue security has been applied to that project by going to project settings > issues > security?

Mohssine July 2, 2024

From my understanding, issue security allows applying a level of security to restrict access to the issues. Sorry i don't see the point by checking that. 
For a remind, I am looking for a way to:

  1. Identify comments that are currently restricted to the existing roles.
  2. Update the visibility of these comments so that they can be accessed by the new role.
Andreas Krupp _catworkx_
Atlassian Partner
March 18, 2025

Hi @Mohssine ,

I understand your issue - unfortunately, I only see here the Jira API to first retrieve all the comments by Issue - and then update the the comment with a new role:

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/#api-rest-api-3-issue-issueidorkey-comment-get

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-comments/#api-rest-api-3-issue-issueidorkey-comment-id-put

Obviously, this is very cumbersome and might take a lot of time due to API throttling. I opened an Atlassian Ticket for this issue - let's see what the answer will be.

Also in Atlassian Analytics I was not able to find a table for issue-comments.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events