The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Champions.
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?

TAGS
AUG Leaders

Atlassian Community Events