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

This widget could not be displayed.

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 Sign up to answer
Community showcase
Published Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,479 views 10 12
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