Adding values to velocity context globally

Michał Gawlik September 25, 2014

Hello
I am developing a plugin that requires some data to be added into velocity context. I want this data to be available globally - for all templates, not in a particular custom field or web panel. Is it possible in JIRA to create a module which will take control of creating or filling the velocity context?

I've found this solution for confluence but this module type is not present in jira
https://developer.atlassian.com/display/CONFDEV/Velocity+Context+Module

1 answer

0 votes
Jobin Kuruvilla [Adaptavist]
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.
September 25, 2014

There is no such module in JIRA. Best you can do is to create a utility class that populates the context and reuse it for all your templates, I guess!

Suggest an answer

Log in or Sign up to answer