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

Code insight checks for Scriptrunner action within Automation for Jira do not work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Triage
    • Medium
    • Resolution: Unresolved
    • 6.4.0
    • None
    • Third-Party Apps
    • None
    • 0

    Description

      Summary:

      Code compilation fails for scripts in the "Execute a Scriptrunner script action" for automation for Jira:

      Steps to reproduce:

      1. Install Scriptrunner for Jira
      2. Install Automation for Jira
      3. Create an automation rule
      4. Add the "Execute a ScriptRunner Script Action"
      5. Open the browser developer tools JavaScript Console
      6. Try to write code in the script area and view the errors in the console

      Outcome:

      We are not checking code compiles correctly in Automation for Jira and this appears to also impact the errors we report on the code the user writes.

      Expected result:

      We should compile the code and show errors correctly

      Attachments

        Activity

          People

            Unassigned Unassigned
            mclark Matthew Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: