While the AuditService class file is available for apps to reference, the actual service is not OSGi-exported and cannot be used. Any app which attempts to use AuditService will fail to start.
- Add a <component-import/> or @ComponentImport for AuditService
The app successfully imports the AuditService.
The app fails to start with an error like the following:
There is no workaround for this issue. It will require a software fix in Bitbucket Server, and any app that requires the AuditService will only be able to work when deployed to a fixed version.