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

Place Extra JIRA system Info into exported XML

    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

      The JIRA data export is a very basic dump of the database entities.

      We should put extra JIRA system info to improve the supportability of JIRA.

      For example if support staff are having probleems with the new Project Import/ Export, they may be ablee to diagnose problems quicker by being able to see .. "ahhh you have exported version 4.75 but are running 5.23"
      or " this was exported from enterprise and you are running professional"

      Currently an export looks like this :

      <?xml version="1.0" encoding="UTF-8"?>
      <entity-engine-xml>
          <ChangeGroup id="10040" issue="10020" author="admin" created="2007-05-30 15:04:22.307"/>
          <ChangeGroup id="10050" issue="10030" author="admin" created="2007-05-31 11:02:15.639"/>
          <ChangeGroup id="10030" issue="10014" author="admin" created="2007-05-30 14:27:50.257"/>
          <ChangeGroup id="10011" issue="10011" author="admin" created="2007-05-30 14:06:48.846"/>
          <ChangeGroup id="10031" issue="10014" author="admin" created="2007-05-30 14:27:57.798"/>
          <ChangeGroup id="10020" issue="10013" author="admin" created="2007-05-30 14:18:11.005"/>
          <ChangeGroup id="10021" issue="10015" author="admin" created="2007-05-30 14:19:14.945"/>
          <ChangeGroup id="10010" issue="10011" author="admin" created="2007-05-30 14:06:30.45"/>
          <ChangeGroup id="10051" issue="10030" author="admin" created="2007-05-31 11:02:42.328"/>
          <ChangeItem id="10013" group="10011" fieldtype="jira" field="resolution" newvalue="1" newstring="Fixed"/>
          <ChangeItem id="10052" group="10051" fieldtype="jira" field="Fix Version" newvalue="10020" newstring="Version3"/>
          <ChangeItem id="10011" group="10010" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10012" group="10011" fieldtype="jira" field="status" oldvalue="1" oldstring="Open" newvalue="5" newstring="Resolved"/>
          <ChangeItem id="10041" group="10040" fieldtype="jira" field="resolution" newvalue="1" newstring="Fixed"/>
          <ChangeItem id="10021" group="10020" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10051" group="10050" fieldtype="jira" field="Component" newvalue="10020" newstring="Stuff"/>
          <ChangeItem id="10010" group="10010" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="4" newstring="Minor"/>
          <ChangeItem id="10020" group="10020" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="5" newstring="Trivial"/>
          <ChangeItem id="10030" group="10030" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10022" group="10021" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10031" group="10031" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="5" newstring="Trivial"/>
          <ChangeItem id="10040" group="10040" fieldtype="jira" field="status" oldvalue="1" oldstring="Open" newvalue="5" newstring="Resolved"/>
          <ChangeItem id="10050" group="10050" fieldtype="jira" field="Version" newvalue="10020" newstring="Version3"/>
          <ColumnLayout id="10000" username="admin"/>
          <ColumnLayoutItem id="10001" columnlayout="10000" fieldidentifier="issuekey" horizontalposition="1"/>
      

      It could be made to look more like this (basically the same as the new startup log info)

      <?xml version="1.0" encoding="UTF-8"?>
      <!--
      
      ___ Environment ___________________
      
           JIRA Build                          : Enterprise Edition, Version: 4.0-SNAPSHOT-#319
           JIRA Installation Type              : EAR/WAR
           Application Server                  : Apache Tomcat/5.5.20 - Servlet API 2.4
           Java Version                        : 1.6.0_03 - Sun Microsystems Inc.
           Current Working Directory           : /home/bbaker/src/atlassian/jira
           Maximum Allowable Memory            : 253MB
           Total Memory                        : 126MB
           Free Memory                         : 119MB
           Used Memory                         : 7MB
           
      
      ___ Database Configuration _______
      
           Loading entityengine.xml from       : file:/home/bbaker/src/atlassian/jira/src/webapp/WEB-INF/classes/entityengine.xml
           Entity model data source name       : defaultDS
           Entity model field type name        : postgres72
           Entity model schema name            : public
           Database Version                    : PostgreSQL - 8.2.6
           Database Driver                     : PostgreSQL Native Driver - PostgreSQL 8.2 JDBC3 with SSL (build 505)
           Database URL                        : jdbc:postgresql://localhost:5432/jira
           Database JNDI address               : java:comp/env/jdbc/JiraDS
           
      ___ Application Properties ________
      
           Edition                             : Enterprise
           Version                             : 4.0-SNAPSHOT
           Build #                             : 319
           Installation Type                   : EAR/WAR
           Server ID                           : AHJH-RF0Y-5O55-0LVL
           Default Language                    : English (Australia)
           External User Management            : OFF
           CROWD Integration                   : OFF
           
      ___ Database Statistics __________
      
           Issues                              : 4
           Projects                            : 2
           Custom Fields                       : 1
           Workflows                           : 0
           Users                               : 2
           Groups                              : 3
      
      ___ File Paths ___________________
      
           Location of atlassian-jira.log      : /home/bbaker/src/atlassian/jira/atlassian-jira.log
           Index Path                          : /tmp/jira_autotest/indexes
           Attachment Path                     : C:\DOCUME~1\mchai\LOCALS~1\Temp\\jira_autotest\attachments
      
      ___ Plugins ______________________
      
           RPC JIRA Plugin                     : com.atlassian.jira.ext.rpc
                Version                             : 3.11
                Status                              : enabled
                Vendor                              : Atlassian Software Systems Pty Ltd
                Description                         : The standard JIRA RPC services, both SOAP and XML-RPC.
      
      
      ___ Listeners ____________________
      
           Issue Cache Listener                : com.atlassian.jira.event.listeners.cache.IssueCacheListener
           Mail Listener                       : com.atlassian.jira.event.listeners.mail.MailListener
           Issue Index Listener                : com.atlassian.jira.event.listeners.search.IssueIndexListener
      
      ___ Services _____________________
      
           Backup Service                      : com.atlassian.jira.service.services.export.ExportService
                Service Delay                       : 43200000ms
                USEZIP                              : admin.service.export.backup.as.zip
                DIR_NAME                            : C:\DOCUME~1\mchai\LOCALS~1\Temp\\jira_autotest\backups
           Mail Queue Service                  : com.atlassian.jira.service.services.mail.MailQueueService
                Service Delay                       : 60000ms
                     
      -->
      <entity-engine-xml>
          <ChangeGroup id="10040" issue="10020" author="admin" created="2007-05-30 15:04:22.307"/>
          <ChangeGroup id="10050" issue="10030" author="admin" created="2007-05-31 11:02:15.639"/>
          <ChangeGroup id="10030" issue="10014" author="admin" created="2007-05-30 14:27:50.257"/>
          <ChangeGroup id="10011" issue="10011" author="admin" created="2007-05-30 14:06:48.846"/>
          <ChangeGroup id="10031" issue="10014" author="admin" created="2007-05-30 14:27:57.798"/>
          <ChangeGroup id="10020" issue="10013" author="admin" created="2007-05-30 14:18:11.005"/>
          <ChangeGroup id="10021" issue="10015" author="admin" created="2007-05-30 14:19:14.945"/>
          <ChangeGroup id="10010" issue="10011" author="admin" created="2007-05-30 14:06:30.45"/>
          <ChangeGroup id="10051" issue="10030" author="admin" created="2007-05-31 11:02:42.328"/>
          <ChangeItem id="10013" group="10011" fieldtype="jira" field="resolution" newvalue="1" newstring="Fixed"/>
          <ChangeItem id="10052" group="10051" fieldtype="jira" field="Fix Version" newvalue="10020" newstring="Version3"/>
          <ChangeItem id="10011" group="10010" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10012" group="10011" fieldtype="jira" field="status" oldvalue="1" oldstring="Open" newvalue="5" newstring="Resolved"/>
          <ChangeItem id="10041" group="10040" fieldtype="jira" field="resolution" newvalue="1" newstring="Fixed"/>
          <ChangeItem id="10021" group="10020" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10051" group="10050" fieldtype="jira" field="Component" newvalue="10020" newstring="Stuff"/>
          <ChangeItem id="10010" group="10010" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="4" newstring="Minor"/>
          <ChangeItem id="10020" group="10020" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="5" newstring="Trivial"/>
          <ChangeItem id="10030" group="10030" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10022" group="10021" fieldtype="jira" field="assignee" oldvalue="admin" oldstring="Administrator" newvalue="wilma" newstring="wilma flintstone"/>
          <ChangeItem id="10031" group="10031" fieldtype="jira" field="priority" oldvalue="3" oldstring="Major" newvalue="5" newstring="Trivial"/>
          <ChangeItem id="10040" group="10040" fieldtype="jira" field="status" oldvalue="1" oldstring="Open" newvalue="5" newstring="Resolved"/>
          <ChangeItem id="10050" group="10050" fieldtype="jira" field="Version" newvalue="10020" newstring="Version3"/>
          <ColumnLayout id="10000" username="admin"/>
          <ColumnLayoutItem id="10
          
          

      Attachments

        Activity

          People

            Unassigned Unassigned
            bbaker ɹǝʞɐq pɐɹq
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: