Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-21904

Unclear error message "An unhandled error occurred" when creating issue on MS teams and not filling a required field

    XMLWordPrintable

Details

    • 2
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      When creating a Jira issue using the create screen presented by the integration on MS Teams' channel, if a user misses populating a value on a mandatory field, the error message is misleading :
      Error
      An unhandled error occurred. We are working on it.

      This error occurs when the field is not required on Jira but Scriptrunner has a condition that turns the field as mandatory depends on the value selected on another field.

      The add-on script was not created to run on MS teams, so the condition is not executed. The issue fails to be created on Jira.

      We would expect a clear message returned to MS Teams explaining why the error had occurred (Field xxx was not filled).

      Environment
      Jira Server 8.5.4
      Microsoft Teams for Jira v.2020.5.1
      Scriptrunner add-on

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              imurakami@atlassian.com Murakami
              Votes:
              16 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated: