Uploaded image for project: 'Atlassian Product Integrations'
  1. Atlassian Product Integrations
  2. API-307

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

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature 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

              Assignee:
              Unassigned Unassigned
              Reporter:
              imurakami@atlassian.com Isabel Murakami
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: