This site is moving soon to become part of an integrated Appfire documentation and information site for our apps. This site will remain available during the transition to our new and improved site. Once this site is moved over, this banner will be updated with the new site link for easy access.
Who can use this information? This document is intended for app vendors integrating their apps with Configuration Manager through the Service Provider Interface.
Configuration Manager for Jira (CMJ) supports seamless migration of Jira configuration and data between instances. To deliver the same level of consistency, integrity, and ease of use for app data,we introduce the Configuration Manager Service Provider Interface (SPI). This interface provides the tools necessary for moving app configuration and data between different instances of Jira.
The app configuration may be arbitrary but may also contain references to other configuration elements in Jira (priorities, resolutions, custom fields, filters, etc.). The SPI provides the means for collecting such references on the source instance and properly resolving them on the target instance. The diagram below illustrates the collect-and-resolve process.
If you need more technical information on the latest SPI packages and interfaces, follow the link to read the complete API reference.
This part aims to guide you through the initial setup of the Service Provider Interface (SPI).
Аdd the SPI as a maven dependency in your pom.xml:
3. Set the Maven property cmj.spi.version to the lowest possible version of the SPI - for example, 1.0.0.
Increment the version when you need new features of the SPI. This will ensure compatibility with a large set of Configuration Manager releases, as older releases come with an older version of the SPI. There is no need to compile to a newer version unless you need some new features, as the SPI is backward compatible.
Make sure that DynamicImport-Package is used instead of Import-Package. Otherwise, the SPI-related packages may not be correctly resolved at runtime.
If building with Atlassian SDK 8.0.0+, you also need to add the instruction “!com.botronsoft.cmj.spi.*” to Import-Package.
Next, implement any of the SPI interfaces to support your configuration and data. For more information, check the list below.