public class Epic extends AgileResource
ATTR_ID, ATTR_NAME, ATTR_SELF, RESOURCE_URI| Constructor and Description |
|---|
Epic(RestClient restclient,
net.sf.json.JSONObject json)
Creates a new Agile resource.
|
| Modifier and Type | Method and Description |
|---|---|
Issue |
asIssue(boolean refresh) |
static Epic |
get(RestClient restclient,
long id)
Retrieves the epic matching the ID.
|
List<Issue> |
getIssues() |
String |
getKey() |
String |
getSummary() |
boolean |
isDone() |
getAttribute, getId, getName, getResource, getResourceArray, getRestclient, getSelfURL, toStringpublic Epic(RestClient restclient, net.sf.json.JSONObject json) throws JiraException
restclient - REST client instancejson - JSON payloadJiraExceptionpublic static Epic get(RestClient restclient, long id) throws JiraException
restclient - REST client instanceid - Internal JIRA ID of the epicJiraException - when the retrieval failspublic Issue asIssue(boolean refresh) throws JiraException
refresh - If true, will fetch the information from JIRA, otherwise use the cached info.JiraException - when the retrieval failspublic List<Issue> getIssues() throws JiraException
JiraException - when the retrieval failspublic String getKey()
public String getSummary()
public boolean isDone()
Copyright © 2022. All rights reserved.