1
0
Fork 0

implemented reading of the rapid view backlog

master
Bob Carroll 2013-08-25 13:43:49 -07:00
parent 3d7a392e5d
commit e12e5e3a2d
10 changed files with 816 additions and 131 deletions

View File

@ -0,0 +1,206 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.RestClient;
import java.net.URI;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.sf.json.JSON;
import net.sf.json.JSONArray;
import net.sf.json.JSONObject;
/**
* GreenHopper backlog data.
*/
public final class Backlog {
private RestClient restclient = null;
private List<SprintIssue> issues = null;
private int rankCustomFieldId = 0;
private List<Sprint> openSprints = null;
private List<RapidViewProject> projects = null;
private List<Marker> markers = null;
private List<Epic> epics = null;
private boolean canEditEpics = false;
private boolean canManageSprints = false;
private boolean maxIssuesExceeded = false;
private int queryResultLimit = 0;
private Map<String, List<RapidViewVersion>> versionsPerProject = null;
/**
* Creates the backlog from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected Backlog(RestClient restclient, JSONObject json) {
this.restclient = restclient;
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
issues = GreenHopperField.getResourceArray(
SprintIssue.class,
map.get("issues"),
restclient);
rankCustomFieldId = Field.getInteger(map.get("rankCustomFieldId"));
openSprints = GreenHopperField.getResourceArray(
Sprint.class,
map.get("openSprints"),
restclient);
projects = GreenHopperField.getResourceArray(
RapidViewProject.class,
map.get("projects"),
restclient);
markers = GreenHopperField.getResourceArray(
Marker.class,
map.get("markers"),
restclient);
canManageSprints = Field.getBoolean(map.get("canManageSprints"));
maxIssuesExceeded = Field.getBoolean(map.get("maxIssuesExceeded"));
queryResultLimit = Field.getInteger(map.get("queryResultLimit"));
if (map.containsKey("epicData") && map.get("epicData") instanceof JSONObject) {
Map epicData = (Map)map.get("epicData");
epics = GreenHopperField.getResourceArray(Epic.class, epicData.get("epics"), restclient);
canEditEpics = Field.getBoolean(epicData.get("canEditEpics"));
}
if (map.containsKey("versionData") && map.get("versionData") instanceof JSONObject) {
Map verData = (JSONObject)map.get("versionData");
if (verData.containsKey("versionsPerProject") &&
verData.get("versionsPerProject") instanceof JSONObject) {
Map verMap = (Map)verData.get("versionsPerProject");
versionsPerProject = new HashMap<String, List<RapidViewVersion>>();
for (Map.Entry<String, Object> kvp :
(Iterable<Map.Entry<String, Object>>)verMap.entrySet()) {
if (!(kvp.getValue() instanceof JSONArray))
continue;
List<RapidViewVersion> versions = new ArrayList<RapidViewVersion>();
for (Object item : (JSONArray)kvp.getValue()) {
if (!(item instanceof JSONObject))
continue;
RapidViewVersion ver = new RapidViewVersion(restclient, (JSONObject)item);
versions.add(ver);
}
versionsPerProject.put(kvp.getKey(), versions);
}
}
}
}
/**
* Retrieves the backlog data for the given rapid view.
*
* @param restclient REST client instance
* @param rv Rapid View instance
*
* @return the backlog
*
* @throws JiraException when the retrieval fails
*/
public static Backlog get(RestClient restclient, RapidView rv)
throws JiraException {
final int rvId = rv.getId();
JSON result = null;
try {
URI reporturi = restclient.buildURI(
GreenHopperResource.RESOURCE_URI + "xboard/plan/backlog/data",
new HashMap<String, String>() {{
put("rapidViewId", Integer.toString(rvId));
}});
result = restclient.get(reporturi);
} catch (Exception ex) {
throw new JiraException("Failed to retrieve backlog data", ex);
}
if (!(result instanceof JSONObject))
throw new JiraException("JSON payload is malformed");
return new Backlog(restclient, (JSONObject)result);
}
public List<SprintIssue> getIssues() {
return issues;
}
public int getRankCustomFieldId() {
return rankCustomFieldId;
}
public List<Sprint> getOpenSprints() {
return openSprints;
}
public List<RapidViewProject> getProjects() {
return projects;
}
public List<Marker> getMarkers() {
return markers;
}
public List<Epic> getEpics() {
return epics;
}
public boolean canEditEpics() {
return canEditEpics;
}
public boolean canManageSprints() {
return canManageSprints;
}
public boolean maxIssuesExceeded() {
return maxIssuesExceeded;
}
public int queryResultLimit() {
return queryResultLimit;
}
public Map<String, List<RapidViewVersion>> getVersionsPerProject() {
return versionsPerProject;
}
}

View File

@ -0,0 +1,74 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.Issue;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.RestClient;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* Represents a GreenHopper epic issue.
*/
public final class Epic extends GreenHopperIssue {
public String epicLabel = null;
public String epicColour = null;
public EpicStats epicStats = null;
/**
* Creates an epic issue from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected Epic(RestClient restclient, JSONObject json) {
super(restclient, json);
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
epicLabel = Field.getString(map.get("epicLabel"));
epicColour = Field.getString(map.get("epicColor"));
epicStats = GreenHopperField.getEpicStats(map.get("epicStats"));
}
public String getEpicLabel() {
return epicLabel;
}
public String getEpicColour() {
return epicColour;
}
public EpicStats getEpicStats() {
return epicStats;
}
}

View File

@ -0,0 +1,80 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* GreenHopper epic statistics.
*/
public final class EpicStats {
private Double notDoneEstimate = null;
private Double doneEstimate = null;
private int estimated = 0;
private int notEstimated = 0;
private int notDone = 0;
private int done = 0;
/**
* Creates an estimate sum from a JSON payload.
*
* @param json JSON payload
*/
protected EpicStats(JSONObject json) {
Map map = json;
notDoneEstimate = Field.getDouble(map.get("notDoneEstimate"));
doneEstimate = Field.getDouble(map.get("doneEstimate"));
estimated = Field.getInteger(map.get("estimated"));
notEstimated = Field.getInteger(map.get("notEstimated"));
notDone = Field.getInteger(map.get("notDone"));
done = Field.getInteger(map.get("done"));
}
public Double getNotDoneEstimate() {
return notDoneEstimate;
}
public Double getDoneEstimate() {
return doneEstimate;
}
public int getEstimated() {
return estimated;
}
public int getNotEstimated() {
return notEstimated;
}
public int getNotDone() {
return notDone;
}
public int getDone() {
return done;
}
}

View File

@ -52,6 +52,22 @@ public final class GreenHopperField {
null;
}
/**
* Gets an epic stats object from the given object.
*
* @param es a JSONObject instance
*
* @return a EpicStats instance or null if es isn't a JSONObject instance
*/
public static EpicStats getEpicStats(Object es) {
EpicStats result = null;
if (es instanceof JSONObject && !((JSONObject)es).isNullObject())
result = new EpicStats((JSONObject)es);
return result;
}
/**
* Gets an estimate statistic object from the given object.
*
@ -117,8 +133,14 @@ public final class GreenHopperField {
T result = null;
if (r instanceof JSONObject && !((JSONObject)r).isNullObject()) {
if (type == RapidView.class)
if (type == Epic.class)
result = (T)new Epic(restclient, (JSONObject)r);
else if (type == Marker.class)
result = (T)new Marker(restclient, (JSONObject)r);
else if (type == RapidView.class)
result = (T)new RapidView(restclient, (JSONObject)r);
else if (type == RapidViewProject.class)
result = (T)new RapidViewProject(restclient, (JSONObject)r);
else if (type == Sprint.class)
result = (T)new Sprint(restclient, (JSONObject)r);
else if (type == SprintIssue.class)

View File

@ -0,0 +1,181 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.Issue;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.RestClient;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* A base class for GreenHopper issues.
*/
public abstract class GreenHopperIssue extends GreenHopperResource {
private String key = null;
private boolean hidden = false;
private String summary = null;
private String typeName = null;
private String typeId = null;
private String typeUrl = null;
private String priorityUrl = null;
private String priorityName = null;
private boolean done = false;
private String assignee = null;
private String assigneeName = null;
private String avatarUrl = null;
private String colour = null;
private String statusId = null;
private String statusName = null;
private String statusUrl = null;
private List<Integer> fixVersions = null;
private int projectId = 0;
/**
* Creates an issue from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected GreenHopperIssue(RestClient restclient, JSONObject json) {
super(restclient);
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
id = Field.getInteger(map.get("id"));
key = Field.getString(map.get("key"));
hidden = Field.getBoolean(map.get("hidden"));
summary = Field.getString(map.get("summary"));
typeName = Field.getString(map.get("key"));
typeId = Field.getString(map.get("typeId"));
typeUrl = Field.getString(map.get("typeUrl"));
priorityUrl = Field.getString(map.get("priorityUrl"));
priorityName = Field.getString(map.get("priorityName"));
done = Field.getBoolean(map.get("done"));
assignee = Field.getString(map.get("assignee"));
assigneeName = Field.getString(map.get("assigneeName"));
avatarUrl = Field.getString(map.get("avatarUrl"));
colour = Field.getString(map.get("color"));
statusId = Field.getString(map.get("statusId"));
statusName = Field.getString(map.get("statusName"));
statusUrl = Field.getString(map.get("statusUrl"));
fixVersions = GreenHopperField.getIntegerArray(map.get("fixVersions"));
projectId = Field.getInteger(map.get("projectId"));
}
/**
* Retrieves the full JIRA issue.
*
* @return an Issue
*
* @throws JiraException when the retrieval fails
*/
public Issue getJiraIssue() throws JiraException {
return Issue.get(restclient, key);
}
@Override
public String toString() {
return key;
}
public String getKey() {
return key;
}
public Boolean isHidden() {
return hidden;
}
public String getSummary() {
return summary;
}
public String getTypeName() {
return typeName;
}
public String getTypeId() {
return typeId;
}
public String getTypeUrl() {
return typeUrl;
}
public String getPriorityUrl() {
return priorityUrl;
}
public String getPriorityName() {
return priorityName;
}
public Boolean isDone() {
return done;
}
public String getAssignee() {
return assignee;
}
public String getAssigneeName() {
return assigneeName;
}
public String getAvatarUrl() {
return avatarUrl;
}
public String getColour() {
return colour;
}
public String getStatusId() {
return statusId;
}
public String getStatusName() {
return statusName;
}
public String getStatusUrl() {
return statusUrl;
}
public List<Integer> getFixVersions() {
return fixVersions;
}
public int getProjectId() {
return projectId;
}
}

View File

@ -0,0 +1,65 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.RestClient;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* Represents a GreenHopper marker (a sprint that hasn't started).
*/
public final class Marker extends GreenHopperResource {
private String name = null;
/**
* Creates a marker from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected Marker(RestClient restclient, JSONObject json) {
super(restclient);
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
id = Field.getInteger(map.get("id"));
name = Field.getString(map.get("name"));
}
@Override
public String toString() {
return name;
}
public String getName() {
return name;
}
}

View File

@ -168,6 +168,17 @@ public final class RapidView extends GreenHopperResource {
return SprintReport.get(restclient, this, sprint);
}
/**
* Retrieves the backlog data for this rapid view.
*
* @return the backlog
*
* @throws JiraException when the retrieval fails
*/
public Backlog getBacklogData() throws JiraException {
return Backlog.get(restclient, this);
}
@Override
public String toString() {
return name;

View File

@ -0,0 +1,84 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.Project;
import net.rcarz.jiraclient.RestClient;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* Represents a GreenHopper JIRA project.
*/
public final class RapidViewProject extends GreenHopperResource {
private String key = null;
private String name = null;
/**
* Creates a project from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected RapidViewProject(RestClient restclient, JSONObject json) {
super(restclient);
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
id = Field.getInteger(map.get("id"));
key = Field.getString(map.get("key"));
name = Field.getString(map.get("name"));
}
/**
* Retrieves the full JIRA project.
*
* @return a Project
*
* @throws JiraException when the retrieval fails
*/
public Project getJiraProject() throws JiraException {
return Project.get(restclient, key);
}
@Override
public String toString() {
return key;
}
public String getKey() {
return key;
}
public String getName() {
return name;
}
}

View File

@ -0,0 +1,90 @@
/**
* jira-client - a simple JIRA REST client
* Copyright (c) 2013 Bob Carroll (bob.carroll@alum.rit.edu)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.RestClient;
import net.rcarz.jiraclient.Version;
import java.util.Map;
import net.sf.json.JSONObject;
/**
* Represents a GreenHopper JIRA project version.
*/
public final class RapidViewVersion extends GreenHopperResource {
private String name = null;
private int sequence = 0;
private boolean released = false;
/**
* Creates a version from a JSON payload.
*
* @param restclient REST client instance
* @param json JSON payload
*/
protected RapidViewVersion(RestClient restclient, JSONObject json) {
super(restclient);
if (json != null)
deserialise(json);
}
private void deserialise(JSONObject json) {
Map map = json;
id = Field.getInteger(map.get("id"));
name = Field.getString(map.get("name"));
sequence = Field.getInteger(map.get("sequence"));
released = Field.getBoolean(map.get("released"));
}
/**
* Retrieves the full JIRA version.
*
* @return a Version
*
* @throws JiraException when the retrieval fails
*/
public Version getJiraVersion() throws JiraException {
return Version.get(restclient, Integer.toString(id));
}
@Override
public String toString() {
return name;
}
public String getName() {
return name;
}
public int getSequence() {
return sequence;
}
public boolean isReleased() {
return released;
}
}

View File

@ -20,11 +20,8 @@
package net.rcarz.jiraclient.greenhopper;
import net.rcarz.jiraclient.Field;
import net.rcarz.jiraclient.Issue;
import net.rcarz.jiraclient.JiraException;
import net.rcarz.jiraclient.RestClient;
import java.util.List;
import java.util.Map;
import net.sf.json.JSONObject;
@ -32,28 +29,10 @@ import net.sf.json.JSONObject;
/**
* Represents a GreenHopper sprint issue.
*/
public final class SprintIssue extends GreenHopperResource {
public final class SprintIssue extends GreenHopperIssue {
private String key = null;
private boolean hidden = false;
private String typeName = null;
private String typeId = null;
private String summary = null;
private String typeUrl = null;
private String priorityUrl = null;
private String priorityName = null;
private boolean done = false;
private String assignee = null;
private String assigneeName = null;
private String avatarUrl = null;
private String colour = null;
private String epic = null;
private EstimateStatistic estimateStatistic = null;
private String statusId = null;
private String statusName = null;
private String statusUrl = null;
private List<Integer> fixVersions = null;
private int projectId = 0;
/**
* Creates a sprint issue from a JSON payload.
@ -62,7 +41,7 @@ public final class SprintIssue extends GreenHopperResource {
* @param json JSON payload
*/
protected SprintIssue(RestClient restclient, JSONObject json) {
super(restclient);
super(restclient, json);
if (json != null)
deserialise(json);
@ -71,95 +50,8 @@ public final class SprintIssue extends GreenHopperResource {
private void deserialise(JSONObject json) {
Map map = json;
id = Field.getInteger(map.get("id"));
key = Field.getString(map.get("key"));
hidden = Field.getBoolean(map.get("hidden"));
summary = Field.getString(map.get("summary"));
typeName = Field.getString(map.get("key"));
typeId = Field.getString(map.get("typeId"));
typeUrl = Field.getString(map.get("typeUrl"));
priorityUrl = Field.getString(map.get("priorityUrl"));
priorityName = Field.getString(map.get("priorityName"));
done = Field.getBoolean(map.get("done"));
assignee = Field.getString(map.get("assignee"));
assigneeName = Field.getString(map.get("assigneeName"));
avatarUrl = Field.getString(map.get("avatarUrl"));
colour = Field.getString(map.get("color"));
epic = Field.getString(map.get("epic"));
estimateStatistic = GreenHopperField.getEstimateStatistic(map.get("estimateStatistic"));
statusId = Field.getString(map.get("statusId"));
statusName = Field.getString(map.get("statusName"));
statusUrl = Field.getString(map.get("statusUrl"));
fixVersions = GreenHopperField.getIntegerArray(map.get("fixVersions"));
projectId = Field.getInteger(map.get("projectId"));
}
/**
* Retrieves the full JIRA issue.
*
* @return an Issue
*
* @throws JiraException when the retrieval fails
*/
public Issue getJiraIssue() throws JiraException {
return Issue.get(restclient, key);
}
@Override
public String toString() {
return key;
}
public String getKey() {
return key;
}
public Boolean isHidden() {
return hidden;
}
public String getSummary() {
return summary;
}
public String getTypeName() {
return typeName;
}
public String getTypeId() {
return typeId;
}
public String getTypeUrl() {
return typeUrl;
}
public String getPriorityUrl() {
return priorityUrl;
}
public String getPriorityName() {
return priorityName;
}
public Boolean isDone() {
return done;
}
public String getAssignee() {
return assignee;
}
public String getAssigneeName() {
return assigneeName;
}
public String getAvatarUrl() {
return avatarUrl;
}
public String getColour() {
return colour;
}
public String getEpic() {
@ -169,25 +61,5 @@ public final class SprintIssue extends GreenHopperResource {
public EstimateStatistic getEstimateStatistic() {
return estimateStatistic;
}
public String getStatusId() {
return statusId;
}
public String getStatusName() {
return statusName;
}
public String getStatusUrl() {
return statusUrl;
}
public List<Integer> getFixVersions() {
return fixVersions;
}
public int getProjectId() {
return projectId;
}
}