Is there way to disable comments for group of users for specific workflow status

Requirement

 

When issue turns to "In review"status, comment field should be disabled for specific set of JIRA users (it can be a group or individual users). Is it possible with JIRA v6.4.2

I tried using the property key jira.permissions.comment = disabled and jira.permissions.comment.user = username and jira.permissions.comment.group = groupname but that didnt work out

 

Can someone help me with it

 

1 answer

im only familiar with jira, not jira-agile. there may be better solution for this but you can always hide things on screen depending on some conditions using javascript. i would create new plugin which contains a js script in atl.general context. that script could evaluate condition using JIRA rest APi and then just hide the comments from the dom.

 

Additional Thoughts:

you can specify the users or groups that meet the condition either hardcoded in script itself, or you can provide a special administration webwork that lets the administrators to set up and persist condition parameters. Then you could expose a new Rest Service which basically receives username + issue and returns boolean weather the user meets the condition to comment that issue.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

631 views 4 15
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot