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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

12,660 views 15 13
Join discussion

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