Active Objects for JIRA Plugin configuration for starters

Hi community,

I am changing my JIRA plugin to use ActiveObjects.

I added the parameters to my atlassian-plugin.xml, like this:

<component-import key="ao" name="Active Objects service" interface="com.atlassian.activeobjects.external.ActiveObjects">

	  <description>Component to access Active Objects functionality from the plugin</description>



	<ao key="ao-module">

  		<description>The module configuring the Active Objects service used by this plugin</description>





Like you can see I have three entities. Now the catalina.out from JIRA is giving this:

2013-08-02 12:46:36,654 Spring executor 18 ERROR rgallegos 766x718x2 sv32jl /rest/plugins/1.0/ [atlassian.activeobjects.osgi.ActiveObjectsServiceFactory] Could not find any active objects configurations for bundle com.zagile.jira.plugin.zteamworkjira.
Did you define an 'ao' module descriptor in your plugin?
Try adding this in your atlassian-plugin.xml file: <ao key='some-key' />
com.atlassian.plugin.PluginException: com.atlassian.activeobjects.osgi.NoServicesFoundException: Was expecting one service reference for interface <com.atlassian.activeobjects.config.ActiveObjectsConfiguration> and filter <(com.atlassian.plugin.key=com.zagile.jira.plugin.zteamworkjira)>. Got null ! You should check whether an ActiveObjectsPluginException was thrown at startup. It will give you more information about potential errors in the <ao> module in your atlassian-plugin.xml.
	at com.atlassian.activeobjects.osgi.ActiveObjectsServiceFactory.getConfiguration(

The problem is maybe that I don't know how to use the ao object, all the tutorials and pages say that you just need to use with create, find and all the methods, but where? when? how JIRA will initilize that ao object, which class should create it? That is my major concern. Please help.

2 answers

or maybe you could direct me to a jira plugin code ready to test, I was trying with - aoexample, but I was giving me some maven problems. Thank you

0 votes

Hi Raul.

It looks like there is a tutorial for ActiveObjects

You can find a correspondent reference to the Mercurial repository there: Bitbucket serves a pulbic Mercurial repository containing the tutorial's code. To clone the repository, issue the following command:

hg clone ssh://


Cheers, Ignat.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,463 views 15 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you