Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-19792

-Dupm.pac.disable=true JVM parameter does not disable Marketplace connectivity in Jira

      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

      1. Set -Dupm.pac.disable=true in setenv.sh or Windows Service Java Options (depends which OS is running Jira).
      2. Start Jira
      3. 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.

            [JSWSERVER-19792] -Dupm.pac.disable=true JVM parameter does not disable Marketplace connectivity in Jira

            No work has yet been logged on this issue.

              Unassigned Unassigned
              dung@atlassian.com Dave (Inactive)
              Affected customers:
              17 This affects my team
              Watchers:
              14 Start watching this issue

                Created:
                Updated: