Accessing the JIRA configuration properties
We have seen how to use PropertySet
to store details of plugins in the previous recipes. In this recipe, we will see how we can access the JIRA configuration properties using PropertySet
.
How to do it...
There are lot of global configurations settings in JIRA that are configured using Administration menus. More on the various options can be read at http://confluence.atlassian.com/display/JIRA/Configuring+Global+Settings. Where does JIRA store this information and how do we access it?
All these configuration properties, such as, settings under General Configuration, Base URL, Attachments path, license info, and more, are stored in the propertyset
tables we saw earlier. They are stored against a virtual entity, jira.properties
. This is the same virtual entity that is used when PropertySet
is retrieved using PropertiesManager
, as we saw while persisting plugin information.
Here, all the property key entries are stored in the propertyentry
table, with...