Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-24964

Document the effects of jira.dev.mode

    XMLWordPrintable

Details

    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      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");
      

      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: