Get Jira Advanced Properties programatically (jira.text.field.character.limit)

sahan kanuwana September 7, 2017

Looks like 

ComponentAccessor.getApplicationProperties.getString(<Key>) only works for Standard and other properties. 

I have a requirment to get (jira.text.field.character.limit) which is a advanced property. 

Any idea, how can we do that?

1 answer

1 vote
yassine kaci December 6, 2017

Hi,

Try with :

JiraSystemProperties.getInstance().getProperties().getProperty("jira.text.field.character.limit");

Regards,

Sa Kan
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.
December 7, 2017

Great Thanks Kaci.  Yes, Correct. Also, I managed the case with this. That also works.
ComponentAccessor.getApplicationProperties().getString("jira.text.field.character.limit")

Suggest an answer

Log in or Sign up to answer