JIRA 4.3 : Removing Commas for Values Held in Number Field Custom Field Type
This page last changed on Feb 10, 2010 by jlargman.
JIRA adds commas to numeric value stored in Number field, like 1,234. For further reference see JIRAKB:JRA-7582.
Deploying Velocity Templates without a RestartIn a development instance, you can play with picking up velocity file changes without a restart.
If you don't wan commas to be added, edit /WEB-INF/classes/templates/plugins/fields/view/view-number.vm. Replace the following line: $!numberTool.format($value) with: $value.longValue() Make sure to back up the velocity file before changing it. Keep in mind the notes from Modifying JIRA Templates and JSPs. RELATED PAGES |
![]() |
Document generated by Confluence on Mar 27, 2011 18:51 |