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: 

Adding values to velocity context globally

Michał Gawlik
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 Champions.
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!