Getting System error

Description

*This issue has moved*

This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.

Hi,
Am new to JIRA 4.1.
Am running JIRA 4.1 as a service.My JIRA home directory is : C:\Program Files\Atlassian\Application Data\JIRA
I have added my sample groovy script(groovyscript.groovy) in C:\Program Files\Atlassian\Application Data\JIRA\script
I have added groovyrunner.jar in web-inf/lib.
I tried to execute groovy script in workflow post function.
When I give the script path name and click Add button am getting this below error.

Oops - an error has occurred
System Error
A system error has occurred.

Please try submitting this problem via the Support Request Page
Otherwise, please create a support issue on our support system at http://support.atlassian.com with the following information:

a description of your problem
cut & paste the error and system information found below
attach the application server log file ( C:\Program Files\Atlassian\Application Data\JIRA\log\atlassian-jira.log )

Cause:
java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy

Stack Trace: [hide]

java.lang.IllegalArgumentException: Cannot find (or read) script file at: script/groovyscript.groovy
at com.onresolve.jira.groovy.GroovyConditionFactory.getDescriptorParams(GroovyConditionFactory.java:59)
at com.atlassian.jira.web.action.admin.workflow.AddWorkflowTransitionFunctionParams.addWorkflowDescriptor(AddWorkflowTransitionFunctionParams.java:71)
at com.atlassian.jira.web.action.admin.workflow.AbstractAddWorkflowTransitionDescriptorParams.doExecute(AbstractAddWorkflowTransitionDescriptorParams.java:77)
at webwork.action.ActionSupport.execute(ActionSupport.java:165)

I have tried by giving the absolute path also but no luck.
Please suggest.

Environment

Windows XP

Activity

Show:
User known
December 7, 2010, 8:22 AM

I think you've asked the same question on the forum? Basically use an absolute path like

C:\Program Files\Atlassian\Application Data\JIRA\script\groovyscript.groovy

or whatever, OR alternatively find out the working directory of jira by pasting in to the admin panel

which will tell you the working directory, and then using a path relative to that.

Invalid
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Jamie Echlin

Reporter

SaravananK

Internal Complexity

Unknown

Internal Value

Unknown