I found the solution for this question is:
private final SearchRequestService searchRequestService;
ApplicationUser user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();
searchRequestList = new ArrayList<>(searchRequestService.getOwnedFilters(user));
Try out the free App "My Filter Manager for Jira" this can be used by admins to check the usage of certain fields in filters or filters owned by inactive users.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event