How to use Security Level as 1 dimension in Two dimensional filter statistics gadget?

Clemens Luebbers February 2, 2015

If I use the Two dimensional filter statistics gadget, I do not see an option to choose security level for one of the 2 dimensions.

Any ideas?

We are using JIRA 6.2.

1 answer

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 2, 2015

Security level isn't really a field for issue information, it's about who can see an issue, so it's not available as a statistic for the gadget (the gadget is about issue information)

It would also be quite hard to implement - you'd need to list all the possible security levels, and then work your way through all the permissions for every project to work out if the current user can actually see it in the list.

You could try some work-around if you wanted to - take the security level and use a listener to copy it into another select list when it changes, but that will expose the whole list to all users (they still won't see any issues they are restricted from).  But it might be better to stick to using it for security only, and not issue information.

Clemens Luebbers February 2, 2015

Nic, I expected an answer like this. As security level is available as filter criteria I hoped for another one. Thanks for your answer. Clemens

Like sumanyadav9518 likes this
MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2015

It's because the searcher for this standard field doesn't implement the cistomfieldstatae interface. A workaround is to create a readonly field of type select that displays the security field and use that in the gadget. Not as easy as it should be though

Suggest an answer

Log in or Sign up to answer