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

Incorrect Focus to 'Enter Object Key' value in Asset Custom Field Drop-down

      Issue Summary

      When entering keywords in the asset custom field to retrieve related objects in a drop-down list, the focus incorrectly defaults to the keyword entered in the 'Enter Object Key' input field rather than the first object in the drop-down list. This behavior leads to the custom field value failing to update when there is no object corresponding to the entered keyword.

      This is reproducible on Data Center: (yes) / (no)

      Steps to Reproduce

      1. Navigate to the asset custom field input section.
      2. Begin typing a keyword to search for related objects.
      3. Observe the drop-down list that appears with related object suggestions.

      Expected Results

      The focus should automatically be set to the first object in the drop-down list. If the entered keyword does not match any object, the field should not accept the keyword as a valid entry.

      Actual Results

      The focus remains on the 'Enter Object Key' input field, displaying the entered keyword. The system expects an object key but incorrectly displays the entered keyword, which does not match any object.As a result, the custom field value fails to update because there is no object with the entered keyword.

      Workaround

      To manually set the object from the drop-down which needs to be added to customfield.

          Form Name

            [JSDSERVER-15722] Incorrect Focus to 'Enter Object Key' value in Asset Custom Field Drop-down

            Jim Alexander made changes -
            Fix Version/s New: 10.3.4 [ 110310 ]
            Satej Mirpagar made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            Jim Alexander made changes -
            Fix Version/s New: 10.5.0 [ 110315 ]
            Fix Version/s New: 10.4.1 [ 110415 ]
            Jim Alexander made changes -
            Status Original: In Progress [ 3 ] New: Waiting for Release [ 12075 ]
            Jim Alexander made changes -
            Status Original: Short Term Backlog [ 12074 ] New: In Progress [ 3 ]
            Jim Alexander made changes -
            Assignee New: Jim Alexander [ fb78834a366d ]
            Marc Dacanay made changes -
            Affects Version/s New: 5.13.0 [ 105935 ]

            072fabfd41a3 as mentioned in the Slack thread you linked, this has been present since 5.13. Can you please update the affected versions please as it affects NBCR. cc 04f71de77d5e 

            Marc Dacanay added a comment - 072fabfd41a3 as mentioned in the Slack thread you linked, this has been present since 5.13. Can you please update the affected versions please as it affects NBCR. cc 04f71de77d5e  
            SET Analytics Bot made changes -
            Support reference count New: 1
            Bartosz Ornatowski made changes -
            Status Original: Needs Triage [ 10030 ] New: Short Term Backlog [ 12074 ]

              fb78834a366d Jim Alexander
              072fabfd41a3 Shreekesh Mohan
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: