-
Bug
-
Resolution: Unresolved
-
Low (View bug fix roadmap)
-
None
-
8.13.1
-
None
-
8.13
-
4
-
Severity 3 - Minor
-
0
-
Issue Summary
3rd party automation apps cannot be enabled if they were installed prior to Automation for Jira.
Steps to Reproduce
- Install and start Jira Server 8.13.1
- Clone and build the Atlassian 3rd party sample app from here: https://bitbucket.org/atlassian/automation-addon-sample/src/master/automation-thirdparty-sample/
- Install the sample app JAR into Jira. An exception is thrown and the app becomes disabled.
- Install Automation for Jira 7.2.1 app into Jira from here: https://marketplace.atlassian.com/download/apps/1215460/version/300003990
- Try to enable the sample app. It hangs and won't enable.
Expected Results
The sample app can be enabled once Automation app is available.
Actual Results
The sample app cannot be enabled. It hangs for a while then remains disabled.
Workaround
A possible workaround is reinstalling the sample app, but this is still very confusing and frustrating for new customers.
Based on he Atlassian SDK developer documentation, we managed to solve the problem by making the asterisk optional, like:
<Import-Package> ... *;resolution:="optional" </Import-Package>
https://developer.atlassian.com/server/framework/atlassian-sdk/configuration-of-instructions-in-atlassian-plugins/#making-the-wildcard-optional
Could you confirm that it's the correct solution?
If so, please update the sample app according to this.