Jelly Script Fails as Jelly Service but Executes in the Jelly Runner
Symptoms
When running a Jelly service, the Jelly Runner is exectued, but the Jelly Script doesn't run. Errors appear in the logs like:
2007-10-17 18:04:58,252 JiraQuartzScheduler_Worker-1 WARN [jelly.tag.issue.AbstractCreateIssue] Component "ISS" unknown :
(CreateIssue(summary=Issue created )(issuetype=13)(project-key=NOTE)(issueType=Incident)(assignee=eddie)(pid=10090)(duplicateSummary=ignore)(issueKeyVar=issueKey)
(reporter=eddie)(description= ....)(priority=2)(components=ISS))
2007-10-17 18:04:58,256 JiraQuartzScheduler_Worker-1 ERROR [atlassian.jira.jelly.WebWorkAdaptor] Could not execute action
java.lang.NumberFormatException: For input string: "ISS"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
Cause
"jira:Login" is not included in the Jelly Service and therefore it does not have the permission to create a component. The Jelly Runner assumes the permission of user that is currently logged in. The Jelly Service requires a user to login and the user must have the required permission to execute the Jelly Script.
Resolution
Confirm that the specified user in the Jelly script has the appropriate permissions.