Uploaded image for project: 'SR for Jira - Development'
  1. SR for Jira - Development
  2. SRJIRA-3949

Incorrect Warning message displayed in Listener Inline Script Field if code exceeds limit

    Details

    • Type: Bug
    • Status: Triage
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 5.6.2.1-jira8
    • Fix Version/s: None
    • Component/s: Listeners
    • Labels:
      None
    • Critical Points:
      2.8

      Description

      Steps to reproduce

      1. Create a custom listener
      2. Add a code into the listener which is very long around 2400 lines.

      Current Behaviour

      When the code exceeds the limit of characters permitted in the Inline Script field, a warning message appears which seems more like an error in the code and doesn't specify the exact problem.

      Expected Behaviour

      When the code exceeds the limit of characters permitted in the Inline Script field, a warning message should appear, but the message should be more informative e.g. The number of lines has exceeded the limit.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            rkumar Ram Kumar Aravindakshan
            Votes:
            8 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated: