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

Add button is missing when creating a new scripted mail handler in Jira 8.15

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 6.17.0, 6.19.0, 6.20.0
    • Fix Version/s: 6.21.0
    • Component/s: Mail Handler
    • Labels:
    • Sprint:
      SR4J Sprint 94
    • Critical Points:
      5.2

      Description

      When creating a scripted mail handler, the 'Add' button is missing and users are not able to save their scripted mail handlers. This is happening with both mail server and local files as the server. It seems that this is only happening with Jira 8.15.

      Steps to Reproduce

      1. Set up a Jira 8.15 instance with ScriptRunner 6.19 or 6.20.
      2. Choose Administration (   ) > System
      3. Select Mail > Incoming Mail to open the Incoming Mail page. 
      4. Click the Add incoming mail handler button with the following configuration :
        • Server : local files
        • Handler : ScriptRunner Mail Handler
          Then, click Next

      Expected Behaviour

      The 'Add' button is visible and users are able to save their scripted mail handler. I tested this with ScriptRunner 6.20 in Jira 8.13.3.

      Actual Behaviour

      The 'Add' button is missing and users have no way to save their scripted mail handler.

      Workaround

      For the workaround, you can follow the steps provided below :

      • Open your browser's Developer Tools. Then, select the console tab.
      • In the console, enter the following and press 'Enter' :
        document.getElementById('srMailHandlerForm').submit()}}
      • A message box will pop up. Click on 'Leave'. The mail handler will then be created. If you would like to cancel, just refresh the page.

      A screen recording of how the workaround is performed can be seen here:  screen-recorder-tue-mar-02-2021-18-39-40.webm

        Attachments

          Activity

            People

            Assignee:
            msiewruk Mariusz Siewruk [X] (Inactive)
            Reporter:
            pkamarudin Putri Kamarudin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: