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

Misleading validator's error message appears for requests failed to be created

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.4.0
    • 3.12.2
    • Create Request
    • None

      Problem

      When a request cannot be raised due to permission issue, the form does not display the correct message but it indicates missing fields.

      Steps to reproduce the issue
      1. Add a permission validator to the Create Issue transition. For example, Only users with Create Attachments permission can execute this transition.
      2. Log in and raise a request as the customer who does not have the required permission.
      Expected result

      The request cannot be created with an error on the form, indicating that the user does not have the permission to raise the request.

      Actual result

      The following error is displayed:

      Your request could not be created. Please check the fields have been correctly filled in

      The error on the form and also in the Network tab is misleading, it is about missing required fields instead of permissions.

            [JSDSERVER-5882] Misleading validator's error message appears for requests failed to be created

            Devisree Gedda made changes -
            Remote Link Original: This issue links to "JSDS-4082 (JIRA Server (Bulldog))" [ 422962 ] New: This issue links to "JSMDC-4082 (JIRA Server (Bulldog))" [ 422962 ]
            Benjamin Suess made changes -
            Fix Version/s New: 5.4.0 [ 102903 ]
            Benjamin Suess made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Short Term Backlog [ 12074 ] New: Closed [ 6 ]

            This is now resolved and you get a detailed error message on the customer portal:

            Benjamin Suess added a comment - This is now resolved and you get a detailed error message on the customer portal:
            Bartosz Ornatowski made changes -
            Status Original: Long Term Backlog [ 12073 ] New: Short Term Backlog [ 12074 ]
            SET Analytics Bot made changes -
            UIS Original: 0 New: 1
            SET Analytics Bot made changes -
            UIS Original: 1 New: 0
            SET Analytics Bot made changes -
            UIS New: 1
            Bugfix Automation Bot made changes -
            Support reference count Original: 3 New: 4

            I can't believe this is not an important issue...The error message does not appear correctly on whole Service Desk. This is ridiculous and this is a two years old ticket.

            toth.roland added a comment - I can't believe this is not an important issue...The error message does not appear correctly on whole Service Desk. This is ridiculous and this is a two years old ticket.

              Unassigned Unassigned
              michin Michelle Chin
              Affected customers:
              16 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: