I am developing a custom field plugin, I am confused about whether should I include velocity templates....if so how am I supposed to do that.....
I recommend reading our documentation on How to create a new custom field type. You'll need velocity templates to provide access for viewing and displaying the saved values from the database. You can define the templates in your <customfield-type> in the atlassian-plugin.xml like so:
<resource name="view" type="velocity" location="/templates/customfields/money-custom-field/view.vm" /> <resource name="edit" type="velocity" location="/templates/customfields/money-custom-field/edit.vm" />
Good luck!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.