@intuitionrobotics/bug-report 0.42.17 → 0.42.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,6 +36,7 @@ class JiraBugReportIntegrator_Class extends ts_common_1.Module {
|
|
|
36
36
|
super(...arguments);
|
|
37
37
|
this.parser = (name) => `Bug: ${name}`;
|
|
38
38
|
this.openTicket = (bugReport, logs, reporter) => __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
var _a;
|
|
39
40
|
if (bugReport.platforms && !bugReport.platforms.includes(__1.Platform_Jira))
|
|
40
41
|
return;
|
|
41
42
|
if (!this.config.jiraProject)
|
|
@@ -46,7 +47,7 @@ class JiraBugReportIntegrator_Class extends ts_common_1.Module {
|
|
|
46
47
|
}, [bugReport.description]);
|
|
47
48
|
if (reporter)
|
|
48
49
|
description.push("\nReported by: " + reporter);
|
|
49
|
-
const issue = yield jira_1.JiraModule.issue.create(this.config.jiraProject, this.config.issueType, this.parser(bugReport.subject), description, this.config.label.label);
|
|
50
|
+
const issue = yield jira_1.JiraModule.issue.create(this.config.jiraProject, this.config.issueType, this.parser(bugReport.subject), description, (_a = this.config.label) === null || _a === void 0 ? void 0 : _a.label);
|
|
50
51
|
return { platform: __1.Platform_Jira, issueId: issue.url };
|
|
51
52
|
});
|
|
52
53
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JiraBugReportIntegrator.js","sourceRoot":"","sources":["../../../src/main/app-backend/modules/JiraBugReportIntegrator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;;;;;;;;;;AAEH,4DAGsC;AACtC,kDAMiC;AACjC,6BAIe;AASf,MAAa,6BACZ,SAAQ,kBAAc;IADvB;;QAOS,WAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,QAAQ,IAAI,EAAE,CAAC;QAElD,eAAU,GAAG,CAAO,SAA4B,EAAE,IAAqB,EAAE,QAAiB,EAAsC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