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

improve Assets import logs in relationship to violation of unique constraint

    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      At the moment the Assets import logs print an exception where a unique constraint on an attribute set as unique is violated but they do not print which item value is violating it.

      Ex.

      • an attribute serial number is set as unique
      • the import source try to import a serial number which already exists in another object in the object type
      • following exception is thrown out:
      Error messages: context: rlabs-insight-attribute-5762; messages: [ErrorMessage {i18nKey='rlabs.insight.i18n.constraint.violation.unique', parameters=[Name of the attrribute], additionalMessage=null}
      

      As above example the error report the cause and the attribute name but not the actual value which cannot be duplicated.

      Adding the offending value as well would make a research quite more easier.

            [JSDSERVER-13261] improve Assets import logs in relationship to violation of unique constraint

            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Anton Miniailo made changes -
            Fix Version/s Original: 10.1.0 [ 109015 ]
            Fix Version/s New: 10.1.1 [ 108913 ]
            Marko Filipan made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 950097 ]
            Binoy Nicholas made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 946205 ]
            Andrew Bui made changes -
            Fix Version/s New: 10.1.0 [ 109015 ]
            Andrew Bui made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Andrew Bui made changes -
            Status Original: Gathering Interest [ 11772 ] New: In Progress [ 3 ]
            Andrew Bui made changes -
            Assignee New: Andrew Bui [ f31f2aa3fba9 ]
            Marko Filipan made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 927733 ]
            Tiziana Marchionni created issue -

              f31f2aa3fba9 Andrew Bui
              tmarchionni@atlassian.com Tiziana Marchionni
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: