Could you try using a newer version of Velocity? There were some changes made between 1.4 and 1.5 in how these things were introspected. Testing with a newer version would help rule out any old, fixed bugs.
Also, can you tell me what output you get when you do: $issue $issue.class #foreach( $cf in $custfields ) $cf $cf.class #end This should just confirm that all the references are what we think they are. And lastly, would you let me know the whole line from your logs that indicates the error for getValue? On Fri, Dec 5, 2008 at 8:51 AM, kLy <[EMAIL PROTECTED]> wrote: > > It's the one that comes with Jira 3.13.1, velocity-1.4.jar > > I get the object from a method: > CustomFieldManager.getCustomFieldObjects().get(0) which just gives me a type > CustomField > > http://docs.atlassian.com/software/jira/docs/api/3.13.1/com/atlassian/jira/issue/CustomFieldManager.html > > so I'm not 100% sure what the implementation is but it should be this one: > > http://docs.atlassian.com/software/jira/docs/api/3.13.1/com/atlassian/jira/issue/fields/CustomFieldImpl.html > > which has getValue as public. Don't know what I can do here :( > > > Nathan Bubna wrote: >> >> Hmm. What version of Velocity are you using? And what does the >> implementing class look like? >> > > -- > View this message in context: > http://www.nabble.com/How-to-call-a-Java-method-with-params-from-velocity--tp20789552p20858012.html > Sent from the Velocity - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
