public Map<String, List<JiraIssue>> getIssueMapFromFilters(final List<JiraFilter> filters) throws JiwServiceException { final Map<String, List<JiraIssue>> filterIssueMap = new HashMap<String, List<JiraIssue>>(); for (JiraFilter filter : filters) { final String filterId = filter.getId(); filterIssueMap.put(filter.getId(), loadIssuesByFilter(filterId)); } return filterIssueMap; }
public JiraFilter convertMapToJiraFilter(Map<String, String> map) throws JiwServiceException { JiraFilter filter = new JiraFilter(); filter.setId(map.get("id")); filter.setName(map.get("name")); return filter; }