Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,991
Community Members
 
Community Events
165
Community Groups

How to access Velocity tools

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

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
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

115 views 1 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you