Restrict the comment visibility in a team managed project

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Jira Team-managed projects don't have the same ability to restrict comment visibility that company-managed projects do.

That said, it's possible to create a restricted comment manually via the Jira REST API as a workaround.

Solution

Workaround: create a visibility-restricted comment via REST API

Send a POST request to the following API endpoint to add a comment. Note the "visibility" parameter which can be used to limit which Jira users can see the comment.

API Endpoint

1 /rest/api/3/issue/{issueIdOrKey}/comment

API Request body

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 { "visibility": { "type": "group/role", "value": "group_name/role_name" }, "body": { "type": "doc", "version": 1, "content": [ { "type": "paragraph", "content": [ { "text": "add comment here", "type": "text" } ] } ] } }

Further resources

As this feature does not yet exist, there has already been a feature request ticket logged to add this functionality to team-managed projects. Please see the following:

JRACLOUD-83171

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.