Hi all, I'm having what is surely a pretty trivial problem , but for the life of me I can't seem to sort it out. I'm modifying the issuecreated template for text emails trying to include the issue description. Everything I'm trying seems to end badly though. According to the documentation I found I should be able to just call $issue.getDescription() but that is throwing a bad reference in the logs. I don't need anything fancy, just the description right underneath the summary.
Any ideas?
Hi,
Have you ever got this resolved..if so can you share the solution?
Thanks!
2011-10-31 11:35:50,605 WARN [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = getEncodedBodyFromContent [line 5,column 38] : $i
ssue.getDescription() is not a valid reference.
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:277)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:316)
at org.apache.velocity.app.VelocityEngine.evaluate(VelocityEngine.java:210)
at com.atlassian.velocity.DefaultVelocityManager.getEncodedBodyForContent(DefaultVelocityManager.java:137)
at com.atlassian.jira.mail.MailingListCompiler.addMailsToQueue(MailingListCompiler.java:219)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:134)
at com.atlassian.jira.mail.MailingListCompiler.sendLists(MailingListCompiler.java:109)
at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:167)
at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:68)
at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)
at com.atlassian.jira.service.JiraServiceContainerImpl.run(JiraServiceContainerImpl.java:61)
at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:48)
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
Thats the stack trace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.