O'Reilly logo

JIRA 5.x Development Cookbook by Jobin Kuruvilla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Active Objects to store data

Active Objects represent a technology recently used by JIRA to allow per-plugin storage. This gives the plugin developers a real protected database where they can store the data belonging to their plugin and which other plugins won't be able to access. In this recipe, we will see how we can store an address entity in the database using Active Objects.

You can read more about Active Objects at http://java.net/projects/activeobjects/pages/Home.

Getting ready

Create a skeleton plugin using the Atlassian Plugin SDK.

How to do it...

In order to understand it better, let us look at the simple address entity example that we used in the previous recipe. This will also help in an easy comparison with PropertySet; if desired, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required