Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to access Velocity tools

Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2013

I would like to use some functions from Velocity Tools in a plugin s templates (like $numberTool.format).

How can I access these tools from velocity templates?

Thanks in advance.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2013
Adolfo Casari
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 25, 2013

Thanks, I add

$number.format('integer',$value)

to a velocity file (view.vm) , but then I get the literal '$number.format('integer',$value)' instead of value formatted.

I am following this tutorial:

https://developer.atlassian.com/display/JIRADEV/Custom+Fields+in+JIRA

What am I am missing?

Thanks.

Like Dalectric likes this
TAGS
AUG Leaders

Atlassian Community Events