Adding values to velocity context globally

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

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
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,731 views 17 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you