Problem
Comment restriction was added to the new issue view, but it didn't include team-managed (formerly next-gen) projects, so currently, the comments are visible to anyone that has access to the project.
Suggestion
Add the comment restriction feature to team-managed (formerly next-gen) projects.
Workaround
The comment visibility can be set from the search results in the Issue Navigator (List view).
- Search for issues in the Issue Navigator
- Switch to List view
- In the list view, you can choose to add comment and perform other actions on individual issues without opening them
- Add comment and notice you'll have an option to restrict the visibility
Note: Once the comment visibility is set it can't be edited from the issue view.
Comment visibility can be removed using the Update comment REST API call:
curl --request PUT \ --url 'https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/comment/{id}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "body": "Remove comment visibility restriction.", "visibility": null }'
- is related to
-
JRACLOUD-69231 Comment restriction is missing from the new issue detail view
-
- Closed
-
-
JRACLOUD-12347 Only certain groups or users should be able to set the "Viewable by" for comments
- Gathering Interest
- mentioned in
-
Page Failed to load
[JRACLOUD-83171] Comment restriction for team-managed projects
UIS | Original: 8 | New: 7 |
UIS | Original: 6 | New: 8 |
Support reference count | Original: 20 | New: 22 |
Support reference count | Original: 19 | New: 20 |
UIS | Original: 4 | New: 6 |
Remote Link | New: This issue links to "Page (Confluence)" [ 984903 ] |
UIS | Original: 3 | New: 4 |
Support reference count | Original: 18 | New: 19 |
Remote Link | New: This issue links to "Page (Atlassian Documentation)" [ 976310 ] |
Description |
Original:
h3. *Problem*
Comment restriction was added to the new issue view, but it didn't include team-managed (formerly next-gen) projects, so currently, the comments are visible to anyone that has access to the project. h3. *Suggestion* Add the comment restriction feature to team-managed (formerly next-gen) projects. h3. Workaround The comment visibility can be set from the search results in the Issue Navigator (List view). # Search for issues in the Issue Navigator # Switch to List view # In the list view, you can choose to add comment and perform other actions on individual issues without opening them # Add comment and notice you'll have an option to restrict the visibility Once the comment visibility is set it can't be edited from the issue view. Comment visibility can be removed using the [Update comment REST API|https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put] call: {code:java} curl --request PUT \ --url 'https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/comment/{id}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "body": "Remove comment visibility restriction.", "visibility": null }' {code} |
New:
h3. *Problem*
Comment restriction was added to the new issue view, but it didn't include team-managed (formerly next-gen) projects, so currently, the comments are visible to anyone that has access to the project. h3. *Suggestion* Add the comment restriction feature to team-managed (formerly next-gen) projects. h3. Workaround The comment visibility can be set from the search results in the Issue Navigator (List view). # Search for issues in the Issue Navigator # Switch to List view # In the list view, you can choose to add comment and perform other actions on individual issues without opening them # Add comment and notice you'll have an option to restrict the visibility {*}Note{*}: Once the comment visibility is set it can't be edited from the issue view. Comment visibility can be removed using the [Update comment REST API|https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-comments/#api-rest-api-2-issue-issueidorkey-comment-id-put] call: {code:java} curl --request PUT \ --url 'https://your-domain.atlassian.net/rest/api/2/issue/{issueIdOrKey}/comment/{id}' \ --user 'email@example.com:<api_token>' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json' \ --data '{ "body": "Remove comment visibility restriction.", "visibility": null }' {code} |