Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-38357

Text field size limit ignored by incoming mail handlers

    XMLWordPrintable

Details

    Description

      Summary

      We set a limit for text fields through jira.text.field.character.limit. However, if we send an email to a project that has an incoming mail handler, and add enough text in the body to go past the limit, the bug is still created with a description that is over the limit.

      If you then go to edit the issue's description field and don't change anything, the limit kicks in and it won't let you save it.

      The mail handler should obey the limits on the text fields.

      Steps to Reproduce

      1. Setup a of something to test with, say 10k.
      2. Restart the instance and verify the limit is in place.
      3. Send through an email with more than 10k in the body (baconipsum.com is good for this).

      Expected Results

      The email is not created.

      Actual Results

      The email is created, ignoring the jira.text.field.character.limit.

      Workaround

      To work around it we've added a regexp validator on the workflow that we normally have problems with, but it would be nice if the global setting was, you know, global.

      Attachments

        Issue Links

          Activity

            People

              ohernandez@atlassian.com Oswaldo Hernandez (Inactive)
              f6cd224ef230 Matt Janulewicz
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: