Re: How to hide the closed issues from all users except to a group?

[email protected]
Newsgroups gmane.comp.java.jira.user
Message-ID <23263731.268921308905263246.JavaMail.j2ee_forums.atlassian.com@atlassian12.managed.contegix.com>
Jira doesn't do permissions by status, other than a simple "cannot edit" flag.

The most simple approach is to use security schemes for this, but you're going to need some code to do it.  Set up a security scheme as usual, with a single "only let my restricted group see the issue" level, and apply it to the project.  You probably want to keep the security field off the create/edit screens for this, but that's optional.  

The code you need is a simple post-function that sets the security level as you go through any transition that takes the issue to "closed" (and you probably want to clear it on "reopen")

Two additional points
# https://plugins.atlassian.com/plugin/details/292?versionId=20215 has a "set security level based on users role" function, which I think you could use inventively to do this without having to write your own code.
# I assume you have prepared for the inevitable user questions?  "I can't see the issue I was working on last week", "The project report shows everything is always open", "why is my issue number XYZ-1000 when there's only five issues in the project?", "I can't find something I fixed and wrote on the Jira the other day and I need my notes".  Issue level security does have a place, but using it on simple "closed" issues feels a little too blunt to me.  But I don't know your user story, of course.
--
Post by broughn2 - online at:
http://forums.atlassian.com/thread.jspa?forumID=46&threadID=54949
_______________________________________________
Jira-user mailing list
[email protected]
To unsubscribe or change your options visit this page:
http://lists.atlassian.com/mailman/listinfo/jira-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.