-
Bug
-
Resolution: Unresolved
-
Low (View bug fix roadmap)
-
None
-
7.13.0, 7.12.3, 9.12.10, 9.4.30, 9.12.19
-
None
-
7.12
-
18
-
Severity 3 - Minor
-
1
-
Summary
Adding in -Dupm.pac.disable=true to JVM parameters does not stop Jira from connecting to the Marketplace as indicated in problems connecting to the Atlassian marketplace.
While this works for Confluence.
Steps to reproduce
- Set -Dupm.pac.disable=true in setenv.sh or Windows Service Java Options (depends which OS is running Jira).
- Start Jira
- Navigate to Jira Administration > Add ons
Expected results
Find new apps should not appear or allow searching of apps in marketplace.
Actual results
Find new apps is present and connecting to the marketplace, searching and downloading plugins and updates work as normal.
Verify
You can verify if its disabled without going to Find new apps via - http://yourjira/rest/plugins/1.0/settings
Results shows -
{"settings":[{"key":"pacDisabled","value":false,"requiresRefresh":true,"defaultCheckedValue":true,"readOnly":false},{"key":"requestsDisabled","value":false,"requiresRefresh":true,"defaultCheckedValue":true,"readOnly":false},{"key":"emailDisabled","value":false,"requiresRefresh":false,"defaultCheckedValue":true,"readOnly":false},{"key":"autoUpdateEnabled","value":false,"requiresRefresh":false,"defaultCheckedValue":false,"readOnly":false}]}
Where "pacDisabled","value":false value false shows that it was not disabling pac.
While in start up parameters show that -Dupm.pac.disable=true is set in the application logs -
upm.pac.disable : true
In Confluence this works and shows results -
{"settings":[{"key":"pacDisabled","value":true,"requiresRefresh":true,"defaultCheckedValue":true,"readOnly":false},{"key":"requestsDisabled","value":false,"requiresRefresh":true,"defaultCheckedValue":true,"readOnly":false},{"key":"emailDisabled","value":false,"requiresRefresh":false,"defaultCheckedValue":true,"readOnly":false},{"key":"autoUpdateEnabled","value":false,"requiresRefresh":false,"defaultCheckedValue":false,"readOnly":false}]}
Where "pacDisabled","value":true
Tested on UPM versions 2.22.9, 2.22.14, 2.22.19, 3.0.1
Workaround
Can only disable this in Jira via Jira Administration > Add ons > Manage apps go to the settings and uncheck the Connect to the Atlassian Marketplace option.