@tiledesk/tiledesk-server 2.3.128 → 2.3.130
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.
package/package.json
CHANGED
@@ -146,6 +146,7 @@ class RulesTrigger {
|
|
146
146
|
|
147
147
|
if (text && text.endsWith(":tdk_msg_subtype_info")) {
|
148
148
|
attributes.subtype = "info";
|
149
|
+
//TODO ATTENTION change value by reference text. Text is string so string is passed by value. No problem
|
149
150
|
text = text.replace(':tdk_msg_subtype_info', '');
|
150
151
|
winston.verbose('tdk_msg_subtype_info');
|
151
152
|
}
|
@@ -250,7 +251,8 @@ class RulesTrigger {
|
|
250
251
|
//custom ocf here
|
251
252
|
//prod //pre
|
252
253
|
if (eventTrigger.event.id_project =="6406e34727b57500120b1bd6" || eventTrigger.event.id_project == "642c609f179910002cc56b3e") {
|
253
|
-
subject = "Richiesta di supporto #" + eventTrigger.event.ticket_id;
|
254
|
+
// subject = "Richiesta di supporto #" + eventTrigger.event.ticket_id;
|
255
|
+
subject = "Segnalazione #" + eventTrigger.event.ticket_id;
|
254
256
|
if (eventTrigger.event.subject) {
|
255
257
|
subject = subject + " - " + eventTrigger.event.subject;
|
256
258
|
}
|
@@ -758,6 +760,7 @@ class RulesTrigger {
|
|
758
760
|
winston.debug('runAction action preflight: ' + preflight);
|
759
761
|
|
760
762
|
if (text && text.indexOf(":tdk_msg_subtype_info")>-1) {
|
763
|
+
//TODO ATTENTION change value by reference text subtype. Text is string so string is passed by value. No problem
|
761
764
|
|
762
765
|
subtype = "info";
|
763
766
|
text = text.replace(':tdk_msg_subtype_info', '');
|
@@ -766,6 +769,7 @@ class RulesTrigger {
|
|
766
769
|
|
767
770
|
if (text && text.indexOf(":tdk_req_status_hidden")>-1) {
|
768
771
|
|
772
|
+
//TODO ATTENTION change value by reference status preflight text. Text is string so string is passed by value. No problem
|
769
773
|
status = 50;
|
770
774
|
preflight = true;
|
771
775
|
text = text.replace(':tdk_req_status_hidden', '');
|