Read Custom property in velocity

Ed Sattar November 18, 2013

I have put a custom property in jira-config.properties

let us say that

property=value

How to read this value in email velocity template?

2 answers

1 vote
RambanamP
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.
November 18, 2013

you can get following way

$i18n.getText("propertylabel")

before that need to define resource tag in atlassian-plugin.xml as follows

<resource type="i18n" name="i18n" location="property file path"/>

0 votes
Bharadwaj Jannu
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.
November 18, 2013

Suggest an answer

Log in or Sign up to answer