Document the effects of jira.dev.mode

XMLWordPrintable

      NOTE: This suggestion is for JIRA Server. Using JIRA Cloud? 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");
      

            Assignee:
            Wazza
            Reporter:
            MattS
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: