@manyos/smileconnect-api 1.43.1 → 1.44.0

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.
@@ -483,7 +483,7 @@ function getTicketConfigByTicketType(ticketType) {
483
483
  function getCIData(instanceId) {
484
484
  log.debug('Search for CI', instanceId);
485
485
  //get only CIs with recon
486
- const query = `'InstanceId'="${instanceId}" AND 'ReconciliationIdentity' != $NULL$ AND 'ReconciliationIdentity' != "0"`;
486
+ const query = `('InstanceId'="${instanceId}" OR ('ReconciliationIdentity' = "${instanceId}" AND 'DatasetId' = "BMC.ASSET")) AND 'ReconciliationIdentity' != $NULL$ AND 'ReconciliationIdentity' != "0"`;
487
487
  const form = CONSTANTS.FORM_CMDB_CI_BASE;
488
488
  return utilCache.get(form + ':' + query, function () {
489
489
  return new Promise((resolve, reject) => {
package/docs/releases.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## API
4
4
 
5
+ ### 1.44.0 - 27.09.21
6
+ Also allow CI RecondId for Ticket2CI Relations.
7
+
5
8
  ### 1.43.1 - 23.09.21
6
9
  Allow also "isPublic": "true" instead of "isPublic": true for Ticket Worklogs
7
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manyos/smileconnect-api",
3
- "version": "1.43.1",
3
+ "version": "1.44.0",
4
4
  "description": "A proxy and abstraction layer for BMCs IT Service Management Suite",
5
5
  "main": "app.js",
6
6
  "scripts": {