Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-24964

Document the effects of jira.dev.mode

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      Starting JIRA with -Djira.dev.mode=true changes some things that make it easier for plugin developers. These have long been known in the community but don't appear to be documented.

      The details are that JiraStartupChecklistContextListener.java has a method setJiraDevMode that does the following:

                  // turn off minification of web resources, available from plugins 2.3 onwards
                  setDefault("atlassian.webresource.disable.minification", "true");
      
                  // disable mail
                  setDefault("atlassian.mail.senddisabled", "true");
                  setDefault("jira.trackback.senddisabled", "true");
                  setDefault("atlassian.mail.fetchdisabled", "true", "atlassian.mail.popdisabled");
      
                  // disable caches
                  setDefault("com.atlassian.gadgets.dashboard.ignoreCache", "true");
                  setDefault("atlassian.disable.caches", "true");
      
                  // turn on jelly
                  setDefault(JELLY_SYSTEM_PROPERTY, "true");
      
                  //jira dev mode should also set atlassian.dev.mode to true if it isn't already set!
                  setDefault("atlassian.dev.mode", "true");
      
                  // turn on i18n reload
                  setDefault(JIRA_I18N_RELOADBUNDLES, "true");
      

      Attachments

        Issue Links

          Activity

            People

              wthompson Wazza
              73d805a2526b MattS
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: