Issue Summary

      Currently - missing objects are flagged per import configuration.

      So, if the same object type is being updated by two different Import configuration - both with "Missing Objects" set to update a Status Attribute, with any threshold. After the threshold is reached on either import - the Status Attribute across all objects will fluctuate, depending on which Import was running last.

      Steps to Reproduce

      1. Configure 2 Import configurations (A, B) both updating the same Object Type for example: Importing from 2 Azure Subscriptions into the same Structure, with the Predefined mapping
      2. Let each import run on schedule to accede the Threshold
      3. Missing Objects Update on some object types is set to Update the Status Attribute to "Not found", Assume threshold is 2 syncs - for the explanation below
      4. Notice Object A (included in Import A) and Object B (included in Import B) both belong to the same object type X

      Expected Results

      Requested:

      If an objects in the same object type is updated by any import, the Missing Object's Counter is reset:

      Following the Imports along a timeline:
      Import A is running creating Object A

      Import B is running creating Object B, flagging Object A as a Missing Object

      Import A is running - Identifying Object A, Resetting Object A Flag, flagging Object B as a Missing Object

      Import B is running - identifying Object B, Resetting Object B Flag, flagging Object A as a Missing Object

      and so on - the end result: Status is not updated, unless an object is missing in BOTH the Imports for the given threshold

      Actual Results

      Following the Imports along a timeline:
      Import A is running creating Object A

      Import B is running creating Object B, flagging Object A as a Missing Object

      Import A is running - Identifying Object A, flagging Object B as a Missing Object

      Import B is running - identifying Object B, updating Status of Object A to "Not Found"(Threshold was reached)

      Import A is running - identifying Object A, Updating Status of Object A to "Running", updating Status of Object B to "Not Found" (Threshold was reached)

      Import B is running - identifying Object B, Updating Status of Object B to "Running", updating Status of Object A to "Not Found" (Threshold was reached)

      and so on.

      ...
      

      Workaround

      Either create a Root Object Type per subscription, so that each Import configuration will actually update its own Object Types,(Pros - Missing Objects will act as expected, Cons - hard to maintain, troubleshoot and requires more administration)

      or;

      Set Missing Objects to Ignore and configure an Automation rule to run on Schedule, and update Status to not found, if the object was not updated for a set period (Updated < now(-2d) - assuming that each Import will actually update the Objects (Pros - disregard the Missing Objects causing the Status to fluctuate. Cons - requires and Object update as a condition, and may add to performance when running)

            [JSDSERVER-7225] Insight Missing Objects across all import configurations

            Conny Postma made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 965449 ]
            Ishwinder Kaur made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 973174 ]
            Marko Filipan made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 968601 ]
            Patrick Turbett made changes -
            Remote Link New: This issue links to "Page (Atlassian Documentation)" [ 965449 ]
            Patrick Turbett made changes -
            Link New: This issue is related to JSDSERVER-8706 [ JSDSERVER-8706 ]
            Bartosz Ornatowski made changes -
            Link New: This issue causes JSDSERVER-15258 [ JSDSERVER-15258 ]
            Alex Cooksey made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 782540 ]
            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 733622 ]
            Divyanshi made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 733400 ]

              Unassigned Unassigned
              8cdc82c96fd5 Yinon Negev
              Affected customers:
              18 This affects my team
              Watchers:
              17 Start watching this issue

                Created:
                Updated:
                Resolved: