@manyos/smileconnect-api 1.45.1 → 1.45.3

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/conf/mapping.json CHANGED
@@ -829,64 +829,6 @@
829
829
  "newName": "supportGroup"
830
830
  }
831
831
  ],
832
- "newTask": [
833
- {
834
- "oldName": "Summary",
835
- "newName": "summary"
836
- },
837
- {
838
- "oldName": "Notes",
839
- "newName": "notes"
840
- },
841
- {
842
- "oldName": "Support Company",
843
- "newName": "supportCompany"
844
- },
845
- {
846
- "oldName": "Assignee Organization",
847
- "newName": "supportOrganization"
848
- },
849
- {
850
- "oldName": "Assignee Group",
851
- "newName": "supportGroup"
852
- },
853
- {
854
- "oldName": "RootRequestFormName",
855
- "newName": "RootRequestFormName"
856
- },
857
- {
858
- "oldName": "RootRequestName",
859
- "newName": "RootRequestName"
860
- },
861
- {
862
- "oldName": "RootRequestMode",
863
- "newName": "RootRequestMode"
864
- },
865
- {
866
- "oldName": "RootRequestInstanceId",
867
- "newName": "RootRequestInstanceId"
868
- },
869
- {
870
- "oldName": "Sequence",
871
- "newName": "sequence"
872
- },
873
- {
874
- "oldName": "TaskName",
875
- "newName": "TaskName"
876
- },
877
- {
878
- "oldName": "Character 01",
879
- "newName": "character01"
880
- },
881
- {
882
- "oldName": "Character 06",
883
- "newName": "character06"
884
- },
885
- {
886
- "oldName": "Phase GUID",
887
- "newName": "phaseGuid"
888
- }
889
- ],
890
832
  "taskWorklog": [
891
833
  {
892
834
  "oldName": "Summary",
@@ -52,7 +52,7 @@ async function createTask(clientConfig, rootForm, rootRequestId, taskData, creat
52
52
  allTask.push(taskData);
53
53
  }
54
54
 
55
- const mapping = config.getMapping('newTask');
55
+ const mapping = config.getMapping('task');
56
56
  //add required data
57
57
 
58
58
  const allTaskFinal = [];
@@ -88,7 +88,7 @@ async function createTask(clientConfig, rootForm, rootRequestId, taskData, creat
88
88
 
89
89
  //run afterExecution
90
90
  if (scripts && scripts.afterExecution) {
91
- await scriptController.runScripts(scripts.afterExecution, data, clientConfig.clientId, globalScriptParams);
91
+ await scriptController.runScripts(scripts.afterExecution, taskData, clientConfig.clientId, globalScriptParams);
92
92
  }
93
93
 
94
94
  log.debug('Create Task Result', taskResult);
package/docs/releases.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## API
4
4
 
5
+ ### 1.45.3 - 05.10.21
6
+ Fix issue: Use normal Task mapping for new tasks and existing tasks as no Interface Create Form is used.
7
+
8
+ ### 1.45.2 - 05.10.21
9
+ Fix issue: Error on AfterExecution Scripts in Tasks
10
+
5
11
  ### 1.45.1 - 29.09.21
6
12
  Fix issue: POST scripts on Ticket Worklogs are not startet
7
13
 
@@ -47,6 +53,9 @@ e.g.
47
53
 
48
54
  ## Event Manager
49
55
 
56
+ ### 1.17.1 - 01.10.21
57
+ Fix issue: TicketNumber3 added to Event Data
58
+
50
59
  ### 1.17.0 - 17.09.21
51
60
 
52
61
  Add eventdata to Queue for outbound
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.45.1",
3
+ "version": "1.45.3",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {
package/util/config.js CHANGED
@@ -171,7 +171,6 @@ function checkMapping() {
171
171
  'workOrderWorklog',
172
172
  'workOrderTemplate',
173
173
  'task',
174
- 'newTask',
175
174
  'taskWorklog',
176
175
  'taskTemplate',
177
176
  'flowBuilder'