Skip to content

Commit

Permalink
Qcim65320 cannot find project type key (#21)
Browse files Browse the repository at this point in the history
* defect#169007 - Task name should Epic Milestones instead of Epics Milestones

* defect169007 - sync Epic status (milestones & epic tasks) + new feature to disable Epic Milestone Import if Epic issue type is not imported

* QCCR1L65320 - Error when parsing Projects list as ProjectTypeKey is not included
  • Loading branch information
etiennec authored Nov 8, 2017
1 parent 43b4ab6 commit e9ba088
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ public class JIRAProject {

private String name;

private String projectTypeKey;

public String getKey() {
return key;
}
Expand All @@ -28,20 +26,12 @@ public void setName(String name) {
this.name = name;
}

public String getProjectTypeKey() {
return projectTypeKey;
}

public void setProjectTypeKey(String projectTypeKey) {
this.projectTypeKey = projectTypeKey;
}

public static JIRAProject fromJSONObject(JSONObject obj) {
try {
JIRAProject project = new JIRAProject();
project.setName(obj.getString("name"));
project.setKey(obj.getString("key"));
project.setProjectTypeKey(obj.getString("projectTypeKey"));
return project;
} catch (JSONException e) {
throw new RuntimeException("Error while reading JSon defintiion of Project", e);
Expand Down

0 comments on commit e9ba088

Please sign in to comment.