Forums

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

How lock comments section in an issue in a Team-managed project?

Nur Fatin
Contributor
May 21, 2025

Hello, I have a Jira team-managed project. I want to lock the comment section of an issue when it moves to a certain status, in my case, "Done". No other users can add, edit or delete a comment when the issue is in "Done" status. Can this be done for team-managed project? Kindly share the steps if this is possible. If it isn't, is there a workaround for this?

Thank you in advance.

1 answer

0 votes
Prachi Bolar
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 21, 2025

Hi Nur,

Welcome to community :) 

Presently in team managed project there is no direct way to lock comments in any status.

We have a feature request here for the same : https://jira.atlassian.com/browse/JRACLOUD-83171

Workaround given in FR : 

The comment visibility can be set from the search results in the Issue Navigator (List view).

  1. Search for issues in the Issue Navigator
  2. Switch to List view
  3. In the list view, you can choose to add comment and perform other actions on individual issues without opening them
  4. Add comment and notice you'll have an option to restrict the visibility

Screenshot 2025-05-22 at 11.23.41 AM.png

Screenshot 2025-05-22 at 11.24.03 AM.png

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
}'

Also, while trying to set the visibility using the workaround, you may notice that not all groups and roles are listed. Please make sure that you are part of the group or role you wish to restrict the comment to.
Otherwise, you will not be able to see it in the drop-down list.

Thank You,

Prachi

 

Nur Fatin
Contributor
May 22, 2025

Hello @Prachi Bolar I see the workaround is to restrict visibility to the comments. I still want the other users to be able to see the comments, but not to add, edit or delete a comment. Is that possible? Is there a workaround for that? Thank you in advance.

Suggest an answer

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

Atlassian Community Events