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!
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.