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

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

112 views 2 0
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