Deleting a context of a custom field causes JSM email handler to fail

XMLWordPrintable

    • 2
    • Severity 3 - Minor

      Summary

      Deleting the field context of a custom field associated with a JSM email channel causes emails not to be processed.

      Steps to Reproduce

      1. Create a new custom field (Field10)
      2. Add Field10 to the project's screens.
      3. Add Field10 to the Request type associated with the Email Channel. Make sure to close the request type configuration screen
      4. Go to the Field10 configuration screen and delete its context.
      5. Send an email to your JSM project.

      Expected Results

      • The issue will be processed correctly

      Actual Results

      The following error will appear in the processing logs.

      Mail handler throws exception: Unexpected error while running action as user 'Optional[<account id>]'

      The following pop-up message will appear when navigating through your JSM project, and clicking on the "fields" link will fix the bug.

      Notes

      • Because of the JSM retry policy, it may take up to 20 minutes for the error to show up in the logs.
      • The bug doesn't prevent comments from being added via emai.

      Workaround

      • Opening up the request type configuration will fix the issue
      • Add context back can solve the problem

            Assignee:
            Unassigned
            Reporter:
            Paulo Junior (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: