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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Restrict Comment Creation Based on User Role and Issue Status?

In Jira Software Server, is it possible to restrict who can comment in issues based on the user's role and the status that the issue is in?

Specifically, I want people in the "users" role to no longer be able to create comments once an issue is moved into the Closed state, but I would like users in the "developers" and "administrators" roles to be able to keep commenting. (Usually, we're discussing the finer points of how the issue was addressed with the comments restricted to only being viewed by users in those groups.) 

I did try setting the "jira.permission.comment.user" property to "false" when the issue is moved into that state, hoping the "user" part of the property was referring to the user's role, but sadly, that seems to have applied to _all_ users, so nobody could comment, even our devs and admins. Is there an option that's less all-or-nothing? 


2 answers

Also, I just noticed that when using "jira.permission.comment.user" set to "false", the full screen view of the issue doesn't show the Comment button or respond to the keyboard shortcut (m), when viewing the issue in a Rapid Board, the Comment button is still there and the keyboard shortcut is handled. The comment that's entered via the board is not accepted (throwing an error about the server not being able to be contacted), but that's kind of ugly.

0 votes
Daniel Ebers Community Leader Nov 22, 2020

Hi Pete,

I came across a requirement like this in the past and we addressed it okay-ish but like you said the solution is never absolutely 100% - here is what I can share right now. Please also not it would require you have "Script Runner" installed - this is an App which needs extra payment. So the following might not be a solution for you.


Thank you, Daniel! I already do have ScriptRunner installed, so I'll dig more into this later. I hadn't even thought to check to see if it could be done with SR... 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,184 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you