When creating a request from Assist, a generic error message is shown when submitting an invalid URL to a URL Field

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • Component/s: Channel - Chat
    • None
    • 0
    • 3

      Issue Summary

      In Assist, when an user enters an invalid URL in a custom field of type URL (or with >255 characters), a generic error message is shown, instead of specifying that the failure is because of the invalid URL:

      Steps to Reproduce

      1. Create a Request Type form with a URL Field
      2. Setup JSM Chat on Slack 
      3. Configure the Request Type with the URL Field onto a Request Channel
      4. Try to raise a request through Slack using Assist
      5. Provide a URL with >255 characters OR without the correct URL syntax expected by the field. For example, enter www.atlassian.com instead of https://www.atlassian.com/ 

      Expected Results

      The Assist bot should mention display an error message indicating that the URL entered was invalid, instead of a generic error message.

      Actual Results

      A generic error message is shown:

      Something went wrong. We were unable to create a ticket. We've notified the agents for this channel. 

      Workaround

      1. In case you need to accept different URL formats, consider using a text field instead.

      Or:

      2. Add a hint in the "Display description" section of the Request Form:

      This will be displayed as follows in Assist:

              Assignee:
              Unassigned
              Reporter:
              Marco Velasco
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: