If you are developping an app, this section contains useful information for Java setup and service reference.
At first you will need to reference the Elements Checklist API. If you're using Maven, you need to add this dependency to your pom.xml file :
Note the <scope>provided</scope> above. This scope is mandatory.
To make the dependency available, you will need to add our repository to your maven configuration :
Osgi / Package dependencies
When developping an add-on, you will need to add the following package import in your OSGI section:
The following code sniplet show how to reference the PanelContentService in you code (Imports have been omitted). The same works for PanelRenderingService.
The code above is in a plugin configured to use the Atlassian plugin scanner. If you are not using the plugin scanner, you will need to reference the services the old way, by adding a <component-import ...> reference inside your atlassian-plugin.xml.