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

Unable to create issue upgrading to 6.0.1 due to missing script field config

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 6.0.1
    • Fix Version/s: 6.0.2
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SR4J Sprint 78
    • Critical Points:
      11.6

      Description

      If you had creating a script field from Admin -> Custom Fields, and then had never edited that or any other script field, after upgrading to 6.0 issue creation could fail with:

      java.lang.Exception: Missing parameters for fields
      at sun.reflect.GeneratedConstructorAccessor665.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
      at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:80)
      at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
      at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:249)
      at com.onresolve.scriptrunner.canned.jira.fields.editable.ScriptFieldConfigProvider.getConfigurationForFieldId(ScriptFieldConfigProvider.groovy:80)
      

        Attachments

          Structure

            Activity

              People

              Assignee:
              jechlin Jamie Echlin
              Reporter:
              jechlin Jamie Echlin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Structure Helper Panel