Uploaded image for project: 'Jira Service Management Data Center'
  1. Jira Service Management Data Center
  2. JSDSERVER-12034

Insight UI displays random objects values if OTA_POSITION is duplicated

      Issue Summary

      Insight UI displays random objects values or it does not display all objects values if OTA_POSITION is duplicated.
      Insight AO_8542F1_IFJ_OBJ_TYPE_ATTR table, there is a OTA_POSITION column for the attributes and it has not been unique within the object type (which it should be)

      This is reproducible on Data Center: yes
      It affects to all Insight versions as of today (9.1.11)

      Steps to Reproduce

      Unable to reproduce the issue but refer to Actual Results to find out how to identify the wrong object attribute.

      Expected Results

      Insight UI should display valid objects values

      Actual Results

      Insight UI displays random objects values. A way to determinate it, would be as follows:

      1. Identify the Object Type where Insight display either missing values or incorrect object values
      2. Run the below query in Jira database. Replace ? for the Object Type Id
        SELECT "ID","NAME","OTA_POSITION" 
        FROM "AO_8542F1_IFJ_OBJ_TYPE_ATTR" 
        WHERE "OBJECT_TYPE_ID" = ?
        order by "OTA_POSITION" asc
        

      Below is just an example where OTA_POSITION is duplicated for some Object attributes (Display, Organisational Unit)

      843 Building 0
      844 Zone 1
      846 Display 2
      2004 Organisational Unit 2
      847 Thinclient 3
      848 Docking Station 4

      Workaround

      1. Please move one of the Attributes where OTA_POSITION is duplicated (any Attribute up or down).
      2. Run an Insight Clean re-Index.

        Jira > Administration > Manage Apps > Indexing Insight > Clean re-index

      3. The order should get reconstructed and the issue should go away. 

        1. Actual results.png
          Actual results.png
          242 kB
        2. Expected_results.png
          Expected_results.png
          230 kB

            [JSDSERVER-12034] Insight UI displays random objects values if OTA_POSITION is duplicated

            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            UIS Original: 43 New: 47
            SET Analytics Bot made changes -
            Support reference count Original: 6 New: 7
            Nick Turskyi - public name made changes -
            Fix Version/s Original: 4.20.19 [ 104608 ]
            Fix Version/s New: 4.20.20 [ 104630 ]
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 733708 ]
            Alina Starovoit (Inactive) made changes -
            Fix Version/s New: 5.4.4 [ 104715 ]
            Fix Version/s New: 4.20.19 [ 104608 ]
            Fix Version/s New: 5.7.0 [ 104602 ]
            Alina Starovoit (Inactive) made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            SET Analytics Bot made changes -
            UIS Original: 47 New: 43
            Alina Starovoit (Inactive) made changes -
            Status Original: Gathering Impact [ 12072 ] New: In Progress [ 3 ]
            SET Analytics Bot made changes -
            UIS Original: 43 New: 47

              90b610c8691b Alina Starovoit (Inactive)
              9f03f4114502 Pablo Bartolome
              Affected customers:
              0 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: