Hi All,
we have migrated jira from 4.4.4 to 5.0.7. when we click on the issue navigator tab we are getting the below error in log.
/secure/IssueNavigator.jspa [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = getEncodedBodyFromContent [line 1,column 59] : ${issue.id} is not a valid reference.
/secure/VersionBoard.jspa [velocity] org.apache.velocity.runtime.exception.ReferenceException: reference : template = getEncodedBodyFromContent [line 1,column 59] : ${issue.id} is not a valid reference
but this was not affecting any functionality in jira. How to resolve this error.
Kindly suggest.
Thanks,
Jayasingh
You have some plugin (mostly a custom field) that references ${issue.id} in the velocity templates or maybe in issue operations. The fix will be to change the reference to $!{issue.id}.
You will have to find the appropriate plugin though.
Hi Jobin,
Thanks for your reply.
${issue.id} problem got resolved by changing the version of copy-to-subtask-plugin-3.0.0 to 3.1.1. But now we are getting the below error now
2013-01-28 13:33:23,663 http-8088-4 ERROR jirasupport 813x527x1 179l6ia 10.10.194.225 /secure/QuickCreateIssue.jspa [jira.cot.functions.CreateSubIssueFunction] Could not create sub-task
com.atlassian.jira.exception.CreateException: Error occurred while creating issue through workflow:
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:472)
at com.atlassian.jira.issue.managers.DefaultIssueManager.createIssue(DefaultIssueManager.java:402)
kindly suggest
jaysingh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Um, I'm not sure that the copy-to-subtask plugin is the problem here. Your original problem was a display problem on issues. The copy-to-subtask plugin is procedural.
They could well be intertwined though. I suspect that your issue with the display has been fixed because the nwere version of copy-to-subtask plugin is not functioning at all, and hence it's not creating data that your display is struggling with. In other words, it sounds like a compound problem.
I don't know which would be easier to fix first, but I'd have a go at the sub-task one. Your error log isn't detailed enough though - we can see the error happening, but you need to find the error that's thrown by the sub-task plugin, rather than Jira (the classes in your posted log are part of the core and are just falling over because the sub-task is failing somewhere)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic the fiurst one was related to Copy to subtask. It was using issue.id in a web-item and JIRA for some reason gets this referneece as null in the issue navigator, probably while rendering issue actions. I don't understand why it would be null because issue can never be null there but the issue goes away after using $!{issue.id} ;)
Regarding the new error, it seems to be coming from a different plugin. Looking at the package, seems similar to https://answers.atlassian.com/questions/129113/issues-facing-in-jira-logs-need-to-reslove-on-high-priority
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.