Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How can I stop users from commenting on closed issue?

Adele Brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 22, 2016

Hi, I have added to my workflow the following properties on the status "closed", however users can still comment on a closed issue.

Jira.issue.editable - FALSE

Jira.permission.work - FALSE

Jira.permission .comment.user - DENIED

Any ideas how i can stop users from commenting on a closed JIRA item?

Thanks
Adele

4 answers

0 votes
Adele Brown
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 26, 2016

Thankyou!

Yes I put the "denied" in the "Property value" not part of the "Property Key"?

Mahtab
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 17, 2020

Make sure that in the Workflow for desired transition that you set this under View Properties and then set jira.permission.comment.user as the property key and then either denied or false as the Property value. This will make it to where on that specific transition step that the user is unable to make a comment.

0 votes
Mathiyalagan
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 Leaders.
September 23, 2016

Use this property to solve this issue,

jira.permission.comment.user = false


0 votes
Nic Brough -Adaptavist-
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 Leaders.
September 23, 2016

Your properties don't look right to me - they've got capitals and spaces in them.

The simplest "block all comments in this status" option is jira.permission.comment=denied  (or possibly = false, I've forgotten.  But it's one string, lower case and so-on)

0 votes
Shamith Shankar
Contributor
September 22, 2016

Its a tricky one and that workproperties is not applicable for comment Field i guess. 
try this
jira.issue.editable 
Its for making non-editable , but have not checked for comment.

If that doesnt work , then u may have to edit,

CommentSystemField java class.

 

Suggest an answer

Log in or Sign up to answer