diff --git a/AUTHORS.md b/AUTHORS.md index e9822282..f40699e0 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -8,3 +8,4 @@ * Andrey Kuzmin @nach-o-man * Pierre-Luc Dupont @pldupont * Vivek Ganesan @vivganes +* Hiren Savalia @hiren879 diff --git a/src/main/java/net/rcarz/jiraclient/agile/Board.java b/src/main/java/net/rcarz/jiraclient/agile/Board.java index 4db6aeca..4b747aa7 100644 --- a/src/main/java/net/rcarz/jiraclient/agile/Board.java +++ b/src/main/java/net/rcarz/jiraclient/agile/Board.java @@ -112,5 +112,23 @@ public List getIssuesWithoutEpic() throws JiraException { public List getEpics() throws JiraException { return AgileResource.list(getRestclient(), Epic.class, RESOURCE_URI + "board/" + getId() + "/epic"); } + + /** + * + * @return All issues associated to the Board + * @throws JiraException + */ + public List getAllIssuesOfBoard() throws JiraException { + return AgileResource.list(getRestclient(), Issue.class, RESOURCE_URI + "board/" + getId() + "/issue", "issues"); + } + + /** + * + * @return All projects that are associated with the Board + * @throws JiraException + */ + public List getProjectsOfBoard() throws JiraException { + return AgileResource.list(getRestclient(), Project.class, RESOURCE_URI + "board/" + getId() + "/project"); + } }