public Gee.ArrayList<RooOption> serverities;
public Gee.ArrayList<RooOption> classifications;
public Gee.ArrayList<RooOption> developers;
+ public string authuser_id;
public string username = ""; // only available for singletonn.
public string id; // not really important that they are numbers..
public string summary;
public string description;
+ public string project_id;
public string project_id_name;
add.id = t.get_string_member("id");
add.summary = t.get_string_member("summary");
add.description = t.get_string_member("description");
+ add.project_id = t.get_string_member("project_id");
add.project_id_name = t.get_string_member("project_id_name");
this.tickets.add(add);
GLib.debug("ADD ticket %s : %s : %s", add.id, add.summary, add.project_id_name);
t.id = "-1";
t.summary = "";
t.description = "";
+ t.project_id = "";
t.project_id_name = "";
RooTicket.singleton().tickets.add(t);
return t;
rt.serverities = this.readJsonArray( rd.get_array_member("severity"));
rt.classifications = this.readJsonArray( rd.get_array_member("classification"));
rt.developers = this.readJsonArray( rd.get_array_member("developer"));
+ rt.authuser_id = rd.get_string_member("authuser_id");
string project_id,
string milestone_id,
string priority_id,
+ string severity_id,
string classification_id,
string developer_id,
string summary,
table.insert("project_id", project_id);
table.insert("milestone_id", milestone_id);
table.insert("priority_id", priority_id);
+ table.insert("severity_id", classification_id);
table.insert("classification_id", classification_id);
table.insert("developer_id", developer_id);
table.insert("summary", summary);