Forums

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

How can I automatically enforce a default comment visibility restriction?

Jyoti Kumari
Contributor
November 20, 2025

Hello Everyone,

 

How can I automatically enforce a default comment visibility restriction (e.g., to a specific Project Role or Group) for new comments in a designated Jira Cloud project, specifically using a Forge application or a native REST API call?Kindly suggest.

Thanks and Regards,

Jyoti

2 answers

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
November 20, 2025

Hello @Jyoti Kumari 

In addition to what @Nikola Perisic has said, the Update Comment endpoint does allow you to set a comment's visibility to a particular group or role, but it requires that the comment already exists, because the endpoint needs to know the ID of that comment

You'd need a convoluted workflow that, when a new comment was added to the Work Item, it used the Get Comments endpoint to get a list of all the IDs of all the comments, somehow compare that list of IDs to a prior list of existing comment IDs to find which one was the new one, then used the ID of that new comment to set its visibility, then added that new comment's ID to the existing IDs list. This is a seriously non-trivial task for a native Jira workflow

However, if you are a moderately proficient Forge developer, you should not have any problems converting the logic of what I just described into an app for your Jira Cloud instance.

0 votes
Nikola Perisic
Community Champion
November 20, 2025

Hello @Jyoti Kumari 

Automatically no, but manually you can do this when the comment is being made there is a lock icon near the comment where you can limit on which roles will be seeing the comment. 

Screenshot 2025-11-20 at 14.10.30.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events