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 lots of global configuration 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, ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.