public class Sprint extends AgileResource
ATTR_ID, ATTR_NAME, ATTR_SELF, RESOURCE_URI| Modifier | Constructor and Description |
|---|---|
protected |
Sprint(RestClient restclient,
net.sf.json.JSONObject json)
Creates a rapid view from a JSON payload.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserialize(net.sf.json.JSONObject json)
Deserialize the json to extract standard attributes and keep a reference of
other attributes.
|
static Sprint |
get(RestClient restclient,
long sprintId)
Retrieve all sprints related to the specified board.
|
static List<Sprint> |
getAll(RestClient restclient,
long boardId)
Retrieve all sprints related to the specified board.
|
Date |
getCompleteDate() |
Date |
getEndDate() |
List<Issue> |
getIssues() |
long |
getOriginBoardId() |
Date |
getStartDate() |
String |
getState() |
getAttribute, getId, getName, getResource, getResourceArray, getRestclient, getSelfURL, toStringprotected Sprint(RestClient restclient, net.sf.json.JSONObject json) throws JiraException
restclient - REST client instancejson - JSON payloadJiraExceptionpublic static Sprint get(RestClient restclient, long sprintId) throws JiraException
restclient - REST client instancesprintId - The Internal JIRA sprint ID.JiraException - when the retrieval failspublic static List<Sprint> getAll(RestClient restclient, long boardId) throws JiraException
restclient - REST client instanceboardId - The Internal JIRA board ID.JiraException - when the retrieval failspublic List<Issue> getIssues() throws JiraException
JiraException - when the retrieval failsprotected void deserialize(net.sf.json.JSONObject json)
throws JiraException
AgileResourcejson - The JSON object to read.JiraExceptionpublic String getState()
public long getOriginBoardId()
public Date getStartDate()
public Date getEndDate()
public Date getCompleteDate()
Copyright © 2022. All rights reserved.