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.
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).
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.