/** * Search for issues with the given query and max results. * * @param jql JQL statement * @param maxResults limit the number of results * * @return a search result structure with results (issues include all * navigable fields) * * @throws JiraException when the search fails */ public Issue.SearchResult searchIssues(String jql, Integer maxResults) throws JiraException { return Issue.search(restclient, jql, null, maxResults); }
/** * Search for issues with the given query. * * @param jql JQL statement * * @return a search result structure with results (issues include all * navigable fields) * * @throws JiraException when the search fails */ public Issue.SearchResult searchIssues(String jql) throws JiraException { return Issue.search(restclient, jql, null, null); }
/** * Search for issues with the given query. * * @param restclient REST client instance * * @param jql JQL statement * * @return a search result structure with results (issues include all * navigable fields) * * @throws JiraException when the search fails */ public static SearchResult search(RestClient restclient, String jql) throws JiraException { return search(restclient, jql, null, null); }
/** * Search for issues with the given query and specify which fields to * retrieve. * * @param restclient REST client instance * * @param jql JQL statement * * @param includedFields Specifies which issue fields will be included in * the result. * <br>Some examples how this parameter works: * <ul> * <li>*all - include all fields</li> * <li>*navigable - include just navigable fields</li> * <li>summary,comment - include just the summary and comments</li> * <li>*all,-comment - include all fields</li> * </ul> * * @return a search result structure with results * * @throws JiraException when the search fails */ public static SearchResult search(RestClient restclient, String jql, String includedFields, Integer maxResults) throws JiraException { return search(restclient, jql, includedFields, maxResults, null); }
/** * Search for issues with the given query and specify which fields to * retrieve. * * @param jql JQL statement * @param maxResults limit the number of results * * @param includedFields Specifies which issue fields will be included in * the result. * <br>Some examples how this parameter works: * <ul> * <li>*all - include all fields</li> * <li>*navigable - include just navigable fields</li> * <li>summary,comment - include just the summary and comments</li> * <li>*all,-comment - include all fields</li> * </ul> * * * @return a search result structure with results * * @throws JiraException when the search fails */ public Issue.SearchResult searchIssues(String jql, String includedFields, Integer maxResults) throws JiraException { return Issue.search(restclient, jql, includedFields, maxResults); }
/** * Search for issues with the given query and specify which fields to * retrieve. * * @param jql JQL statement * * @param includedFields Specifies which issue fields will be included in * the result. * <br>Some examples how this parameter works: * <ul> * <li>*all - include all fields</li> * <li>*navigable - include just navigable fields</li> * <li>summary,comment - include just the summary and comments</li> * <li>*all,-comment - include all fields</li> * </ul> * * * @return a search result structure with results * * @throws JiraException when the search fails */ public Issue.SearchResult searchIssues(String jql, String includedFields) throws JiraException { return Issue.search(restclient, jql, includedFields, null); }
Integer maxResults, Integer startAt) throws JiraException { return Issue.search(restclient, jql, includedFields, maxResults, startAt);
Integer startAt) throws JiraException { return Issue.search( restclient, jql,