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

id attribute missing on comment field -> 3rd party validator not working properly

      In JIRA Service Desk, the comment field on a transition screen has no id:
      <textarea name="comment" class="textarea sd-comment-textarea mentionable" data-issuekey="DESK-1"></textarea>

      As a consequence any message from a workflow validator is NOT shown.

      Instead the html code for that textarea should look something like this:
      <textarea name="comment" id="comment" class="textarea sd-comment-textarea mentionable" data-issuekey="DESK-1"></textarea>

      Background:
      People would like to use the 'Field required' validator from the plugin 'JIRA Suite Utilities' to ensure the users enter a comment.
      On a non-JSD project this is working fine. In a JSD project, I can see with the debugger, that the proper InvalidInputException is thrown from the validator if no comment is entered.
      However the message won't be shown on the transition screen, because the comment textarea is missing the id. The user will just stuck on the transition screen without a message.

      => Please add the id="comment" to that textarea.

          Form Name

            [JSDSERVER-1485] id attribute missing on comment field -> 3rd party validator not working properly

            Owen made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2304649 ] New: JAC Bug Workflow v3 [ 3125466 ]
            Status Original: Done [ 10044 ] New: Closed [ 6 ]
            Anne Calantog made changes -
            Link New: This issue is related to JSDSERVER-6029 [ JSDSERVER-6029 ]
            Anne Calantog made changes -
            Remote Link New: This issue links to "DEVHELP-1733 (Ecosystem Jira)" [ 387981 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 2058534 ] New: JSD Bug Workflow v5 - TEMP [ 2304649 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 - TEMP [ 2055919 ] New: JSD Bug Workflow v5 [ 2058534 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v5 [ 1956421 ] New: JSD Bug Workflow v5 - TEMP [ 2055919 ]
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v4 [ 1616149 ] New: JSD Bug Workflow v5 [ 1956421 ]
            Confluence Escalation Bot (Inactive) made changes -
            Labels New: affects-server
            Katherine Yabut made changes -
            Workflow Original: JSD Bug Workflow v2 [ 1603354 ] New: JSD Bug Workflow v4 [ 1616149 ]
            Owen made changes -
            Workflow Original: JSD Bug Workflow [ 1399299 ] New: JSD Bug Workflow v2 [ 1603354 ]

              dtrinh@atlassian.com Diep Ngoc Trinh (Inactive)
              5174d8ce3506 Stefan Forstmoser [beecom]
              Affected customers:
              2 This affects my team
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: