Java classes for importing Insight object schemas not accessible via OSGi, workaround?

Cary Clark June 7, 2022

As part of a custom java plugin startup for our Jira server instance, we're trying to import Insight schema object export zip files. I see how it could be done programmatically by looking at the `importObjectSchemaFromServer` method in the (riada) `ObjectSchemaImportResource` class, it makes use of the `ObjectSchemaImportService` to do the import. However, the service class, and some other related classes, are not available as exports in any OSGi bundle.

Although we could write an HTTP client for the schema import endpoint, the preference would be to find a workaround using available Insight libs, if possible.

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events