I'm developing a jira server plugin (add-on) which should be able to get a list of project issues according to existing filter.
Let's say this filter: 1. already exists, 2. its name is "myFilter", 3. its id is 10003, 4.the user that created the filter is userCreatedTheFilter.
So I can get the filter in the following way:
SearchRequestService srs = ComponentAccessor.getComponent(SearchRequestService.class);
SearchRequest sr = srs.getFilter(new JiraServiceContextImpl(userCreatedTheFilter), Long.valueOf(10003));
However, I can't filter the available issues with this filter(!)
I want the ability to get a list of issues after filter was executed.
Thanks,