return getIssue(gitLab.project.id, issueId)
.then(function(gitLabIssue) {
- //console.log(data.title + " -- " + issueId);
- //console.log(data.title + " -- " + issueId + " -- " + gitLab.gitlabIssues[issueId]);
if (gitLab.gitlabIssues[issueId]) {
// update
console.log("updating: " + data.title + " (Issueid: " + issueId + ")");
return Q();
}
- //console.warn(("Skipping Missing Mantis Issue (<= #" + issueId + ") ...").yellow);
console.log(("Adding placeholder ...").yellow);
var data = {
var data = {
page: page,
per_page: per_page,
- // FIXME: schnalke
- //order_by: 'id',
private_token: gitlabAdminPrivateToken, sudo: gitlabSudo };
return rest.get(url, {data: data})
attributes.push("Reported By: " + value);
}
-/*
+/* omit ...
if (value = row["Assigned To"]) {
attributes.push("Assigned To: " + value);
}
description = description.replace(/\\t/g, " ");
description = description.replace(/``/g, '"');
description = description.replace(/''/g, '"');
-
description = description.replace(/\n *----/g, "\n>>>");
- //description = description.replace(/schnalke/g, "@MSchnalke");
-
Object.keys(config.users).forEach(function(muser) {
if (muser != "") {
var gluser = config.users[muser].gl_username;