Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Date tool in velocity for Plugin

Ed Sattar July 29, 2013

I am writing servlet plugin in JIRA . I need to format date in velocity.

How can i achieve this?

I have tried $dateTool but didn't succeed.

2 answers

0 votes
Andrew
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 25, 2015

Updated link for Julian's answer:

https://answers.atlassian.com/questions/31681397

0 votes
Julian Riedinger [Decadis AG]
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.
July 29, 2013
Have you put the object of the class DateTool in the vm-context? With this possibillity you can check it out: https://developer.atlassian.com/pages/viewpage.action?pageId=4227172
AnaG
Contributor
January 28, 2014

Is it correct to use TemplateRenderer to render templates? Will it include standard velocity variables into the context?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, likes for trees, atlassian community, social impact, tree planting campaign, community kudos, atlassian giving, environmental impact, sustainability, likes for good, atlassian social responsibility, community challenge

Make every click count—help us plant 50,000 trees! 🌳

Want to make your everyday Community actions directly contribute to reforestation? The Atlassian Community can achieve this goal by liking a post, attending an ACE, sending your peers kudos, and so much more!

Help us plant more trees
AUG Leaders

Atlassian Community Events