When i paste the Velocity template from https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Release+Notes+Template+Containing+Release+Comments, it does not retrieve the data programmtically. That why, i say the JIRA does not support Velocity template.
I have a custom field name GPS Type.
How to retrieve the data programmtically through Velocity template?
Thanks.
EDIT:
Sorry about that. I paste the Velocity template source code from https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Release+Notes+Template+Containing+Release+Comments into Edit/Configure Release Note section. Then i save as HTML, it does not retrieve the data programmatically.
For instance, i would like retrieve a data for GPS Type field.
Please help.
Thanks.
It's still unclear what you are asking. Jira clearly does "support velocity template" because most of the system uses velocity to render pages.
It helps that you've actually started to tell us what you mean, but I can't see where you are getting stuck. The instructions on that page work fine in the test system I'm tinkering with at the moment, so I don't know where you are stuck. Could you explain what you've done, in detail, and tell us what parts of the documentation you have done differently?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry about that. I paste the Velocity template source code from https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Release+Notes+Template+Containing+Release+Comments into Edit/Configure Release Note section. Then i save as HTML, it does not retrieve the data programmatically.
For instance, i would like retrieve a data for GPS Type field.
Please help.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry about that. I paste the Velocity template source code from https://developer.atlassian.com/display/JIRADEV/Creating+a+Custom+Release+Notes+Template+Containing+Release+Comments into Edit/Configure Release Note section (http://eda-prod-hud02:8080/jira/secure/ReleaseNote.jspa?atl_token=Id8Et8i1r8&version=11537&styleName=Html&projectId=10434&Create=Create). Then i save as HTML, it does not retrieve the data programmatically.
For instance, i would like to retrieve a data for GPS Type field.
Please help.
Thanks.
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.
If I have read this correctly, you seem to be pasting a block of velocity into a field in Jira. That's not what the documentation says - it says to create .vm templates, including references to the new fields you want to add, modify a properties file to tell Jira that your new files are to be used and restart it.
Could you try following the documentation exactly as it says and get that to work? If you can work through that, we can help you more because we know that works, and when you've got it to work, it's easy to change it for your needs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I don't understand the question. Jira uses velocity templates internally, in all versions, but I don't know what you're actually asking beyond that?
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.