How can I set this issue security: only users at least one comment added on issue, can view issue

How can I set this issue security:

Only users who at least one comment added on issue, can view the issue.

OR

Only users who at least one time the issue assigned to he/she, can view the issue.

1 answer

0 vote

That's quite a complex one, which I can't quite do without code.

However, the way I would code it is to have a user-picker field which is filled with people who meet one of the criteria.

You could get most of the way there by using the "participants" field from the (free) JIRA Toolkit add-on.  That combines a list of "current assignee, reporter and anyone who has made a comment".  It's not quite what you've defined, but it's close.  The hole is for "previous assignee who does something on the issue but does not make a comment"

(As an aside - "at least one comment added" - this implies a person would need to have access to the issue somehow to make the comment.  Although that's not a problem, it's worth thinking through how you'd get them to make a comment at some point)

Dear Nic,

First of all, thanks for your attention.

In my project permission scheme, the assignee can view issue (Browse Projects permission), so anyone assigned to an issue, he/she can view this issue and write a comment. assignee maybe changed in my workflow.

In the other word, with above permission scheme, we can assign some issues to some agents (and maybe cross assigning in later). Now i want agents available to view only issues that they already assigned to that (or made a comment on)

That is what my answer covered.  Except I managed to leave out "you will do this with issue security schemes"

Hi Dear Nic

Thank you for your valuable answers. I've installed "Jira watcher field plugin" add-ons and use features of this add-ons to manage who can view issues. 

Maybe it is good idea for develop a new "Grant permission" type in "Permission Scheme" for anybody already assigned to an issue ("Already assignee" like "Current assignee")

Best regards

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,314 views 14 20
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
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