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, loom, loom for training, loom for teaching, video training, async learning, online education, screen recording, loom tutorials, loom use cases, atlassian learning, team training tools, instructional video, virtual training tools

🛗 Elevate Your Training and Enablement with Loom

Join us June 26, 11am PT for a webinar with Atlassian Champion Robert Hean & Loom’s Brittany Soinski. Hear tips, stories, and get your burning questions answered. Learn how Loom makes training and enablement easier. Don’t miss it!

Register today
AUG Leaders

Atlassian Community Events