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

When viewing an issue through the SD Queue, then, adding a custom field with the type 'Text field' through Admin > Add Field button results in the screen loading indefinitely and the 'Edit Field' button grayed out.

    • Icon: Bug Bug
    • Resolution: Low Engagement
    • Icon: Low Low
    • None
    • 4.1.0
    • Issue View

      Issue Summary

      When viewing an issue through the SD Queue and adding a custom field with the type 'Text field' through Admin > Add Field button results in the screen loading indefinitely and the 'Edit Field' button grayed out.

      For example, if you view the issue via the Queue and the URL of the issue is 'http://localhost:8081/projects/SERV/queues/custom/1/TEST-19', the add field will not work accordingly. However, this will feature will work accordingly if you view the issue directly via the URL 'http://localhost:8081/browse/TEST-19'.

      Did some testing in 4.1.3, it seems to be affecting all custom fields, but only the Issue Type 'Service Request'. In 4.1.0, it is reproducible only with the custom field with the type 'Text field(single line)' with all Issue Types.

      Steps to Reproduce

      1. Create a custom field with the type 'Text field(Single Line)'.
      2. Ensure that the field is associated with a screen in the Service Desk project.
      3. Go to your Service Desk 'Queue', view the issue details from there.
      4. Click on Admin > Add field
      5. Type the name of a custom field.
      6. The correct field is suggested and selected.
      7. Click on the blue 'Edit field' button to edit the field value for the current issue
      8. Clicking on 'Cancel' does not do anything either.

      Expected Results

      The field is successfully added to the View Issue Screen of the issue.

      Actual Results

      The process hangs and the 'Edit Field' button grays out.

      You will see this error being thrown in the Browser Console.

      Uncaught Error: Handler not found for 'issueEditor:fields'
          at d.getHandler (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-UK&richediton=true&user-logged-in=true:1875)
          at d.request (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-UK&richediton=true&user-logged-in=true:1878)
          at constructor.request (batch.js?agile_global_admin_condition=true&baseurl-check-resources=true&healthcheck-resources=true&jag=true&jaguser=true&jira.create.linked.issue=true&locale=en-UK&richediton=true&user-logged-in=true:1911)
          at getFieldsOnSelectedIssue (batch.js?locale=en-UK:2949)
          at Function._isFieldVisible (batch.js?locale=en-UK:427)
          at Object._analytics (batch.js?locale=en-UK:427)
          at c (batch.js?locale=en-UK:65)
          at Object.fireWith [as resolveWith] (batch.js?locale=en-UK:65)
          at Object.a.<computed> [as resolve] (batch.js?locale=en-UK:65)
          at a._onCompleteSuccess (batch.js?locale=en-UK:394)
      

      Workaround

      Access the issue directly instead of viewing it through queue.

        1. image-2019-12-02-16-09-14-318.png
          64 kB
          Putri Nur Dayana Kamarudin
        2. When Issue is viewed directly.mp4
          2.42 MB
          Putri Nur Dayana Kamarudin
        3. When issue is viewed through Queue.mp4
          1.24 MB
          Putri Nur Dayana Kamarudin

            [JSDSERVER-6659] When viewing an issue through the SD Queue, then, adding a custom field with the type 'Text field' through Admin > Add Field button results in the screen loading indefinitely and the 'Edit Field' button grayed out.

            Ishwinder Kaur made changes -
            Resolution New: Low Engagement [ 10300 ]
            Status Original: Gathering Impact [ 12072 ] New: Closed [ 6 ]
            Ishwinder Kaur made changes -
            Labels Original: ril New: cleanup-seos-fy25 ril
            Marc Dacanay made changes -
            Labels New: ril
            Marc Dacanay made changes -
            Remote Link New: This issue links to "Internal ticket (Web Link)" [ 955171 ]
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 2
            SET Analytics Bot made changes -
            UIS Original: 8 New: 3
            SET Analytics Bot made changes -
            UIS Original: 3 New: 8
            SET Analytics Bot made changes -
            UIS Original: 2 New: 3

              Unassigned Unassigned
              pkamarudin@atlassian.com Putri Nur Dayana Kamarudin (Inactive)
              Affected customers:
              2 This affects my team
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: