We want to keep a relatively large set of filters (with Rapid Views) available for groups within our organization. The problem we have is that the filters are owned by a user and can only be modified by that single user. For us it would make more sense that "the group" should handle their own filters. We would really need to be able to share edit-rights for filters the same way you can share them for reading right now. There is already a request for this here, https://jira.atlassian.com/browse/JRA-6985. It doesn't look like this will be changed any time soon, so my question is;
How do you manage filters within a group? What is a good work-around?
Workaround:
Hi Sarap,
you can use this plugin https://studio.plugins.atlassian.com/wiki/display/JOUT/Filter+List+Plugin.
or the second approach would be.
Find the class where you need to change or apply your business logic.
find all available for the user saved searches (own and shared filters). We have list ofFilters
List<SearchRequest> filters = filtersResult.getResults();
for (SearchRequest filter : filters) {
// filter.getName()
USer user= filter.getOwnerUserName())
List<Group> group=user.getGroups();
{
//logic if log-in user[Remote user] and group contain in [Login user.getGroups] are contained in each other with same permission.
The user belog to group can edit the same filter.
}
the process to change single class in jira is
https://answers.atlassian.com/questions/43414/easy-way-compile-java-files-of-jira.
may be you have to change Class DefaultSearchRequestService or SearchRequestService interface implementation
make changes in search method. it should work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.