Export & Import of Component Versions
- Deniz Oğuz
Click on on the top right hand side of the "Component Versions" page and select "Export" from the menu to export component versions to JSON file. You can import this JSON file to another project or to the same project. It can be even another Jira instance.
[ { "id": "c-10119", "componentName": "Android Application", "componentDescription": "This is test description", "leadUsername": "admin", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-100850", "versionName": "11.0.0", "versionDescription": "This is a new version", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10085", "versionName": "1.1.0", "versionDescription": "", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "2.0.0 version fo mobile applications", "startDate": "", "releaseDate": "2018-03-23", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10500", "componentName": "CMP Test", "componentDescription": "Component Description Line 1\nComponent Description Line 2", "leadUsername": "admin", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10701", "versionName": "Test-1.0.0", "versionDescription": "aVersion Description Line 1Version Description Line 2", "startDate": "2006-03-16", "releaseDate": "2017-03-18", "released": false, "archived": false } ] }, { "id": "c-10112", "componentName": "Finance", "componentDescription": "Finance desc", "leadUsername": "agrant-sd-demo", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10084", "versionName": "1.0.1", "versionDescription": "", "startDate": "2017-06-01", "releaseDate": "2017-06-15", "released": true, "archived": false }, { "id": "v-10089", "versionName": "1.2.0", "versionDescription": "", "startDate": "2017-07-01", "releaseDate": "2017-07-15", "released": true, "archived": false }, { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": true, "archived": false }, { "id": "v-10094", "versionName": "2.0.1", "versionDescription": "", "startDate": "", "releaseDate": "2017-10-24", "released": true, "archived": false }, { "id": "v-10095", "versionName": "2.1.0", "versionDescription": "", "startDate": "", "releaseDate": "", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10111", "componentName": "Human Resources", "leadUsername": "jerome.johnson", "assigneeType": 0, "attributes": [], "versions": [ { "id": "v-10084", "versionName": "1.0.1", "versionDescription": "", "startDate": "2017-06-01", "releaseDate": "2017-06-15", "released": true, "archived": false }, { "id": "v-10085", "versionName": "1.1.0", "versionDescription": "", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10089", "versionName": "1.2.0", "versionDescription": "", "startDate": "2017-07-01", "releaseDate": "2017-07-15", "released": true, "archived": false }, { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": true, "archived": false }, { "id": "v-10095", "versionName": "2.1.0", "versionDescription": "", "startDate": "", "releaseDate": "", "released": false, "archived": false }, { "id": "v-10092", "versionName": "1.3.1", "versionDescription": "Emergency fix: *\"1.3.1\"* of *\"Human Resources\"*", "startDate": "", "releaseDate": "2017-07-26", "released": true, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10124", "componentName": "Installer", "leadUsername": "", "assigneeType": 0, "attributes": [], "versions": [ { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "*2.0.0 version of Installer*", "startDate": "", "releaseDate": "", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "*Installer executable initial release*", "startDate": "2016-11-30", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10120", "componentName": "iOS Application", "leadUsername": "jerome.johnson", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10085", "versionName": "1.1.0", "versionDescription": "", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10089", "versionName": "1.2.0", "versionDescription": "*1.2.0* of *\"iOS App\"* \n- Added compatibility for new screen size", "startDate": "2017-07-01", "releaseDate": "2017-07-15", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "2.0.0 version fo mobile applications", "startDate": "", "releaseDate": "2018-03-23", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10114", "componentName": "Material Management", "leadUsername": "eric.bates", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "Only released on Windows 10 platform", "startDate": "2016-11-30", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10122", "componentName": "MySQL", "leadUsername": "sara.howard", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10100", "versionName": "5.6", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false }, { "id": "v-10101", "versionName": "5.7", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false }, { "id": "v-10102", "versionName": "8.0", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false } ] }, { "id": "c-10121", "componentName": "Oracle", "leadUsername": "natalie.diaz", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10106", "versionName": "10g", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false }, { "id": "v-10107", "versionName": "11g", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false }, { "id": "v-10108", "versionName": "12c", "versionDescription": "", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false } ] }, { "id": "c-10123", "componentName": "PostgreSQL", "leadUsername": "leonarda.coles", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10103", "versionName": "9.6", "versionDescription": "PostgreSQL is supported with initial release of app:\n- 9.6\n- 9.7\n- 10.0", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false }, { "id": "v-10104", "versionName": "9.7", "versionDescription": "PostgreSQL is supported with initial release of app:\n- 9.6\n- 9.7\n- 10.0", "startDate": "", "releaseDate": "2017-07-01", "released": true, "archived": false } ] }, { "id": "c-10113", "componentName": "Production Planning", "leadUsername": "charles.goodman", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2018-08-15", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10117", "componentName": "Project Management", "leadUsername": "", "assigneeType": 2, "attributes": [], "versions": [ { "id": "v-10084", "versionName": "1.0.1", "versionDescription": "", "startDate": "2017-06-01", "releaseDate": "2017-06-15", "released": true, "archived": false }, { "id": "v-10085", "versionName": "1.1.0", "versionDescription": "", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10089", "versionName": "1.2.0", "versionDescription": "", "startDate": "2017-07-01", "releaseDate": "2017-07-15", "released": true, "archived": false }, { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": true, "archived": false }, { "id": "v-10094", "versionName": "2.0.1", "versionDescription": "", "startDate": "", "releaseDate": "2017-10-24", "released": true, "archived": false }, { "id": "v-10095", "versionName": "2.1.0", "versionDescription": "", "startDate": "", "releaseDate": "", "released": true, "archived": false }, { "id": "v-10099", "versionName": "2.3.0", "versionDescription": "", "startDate": "", "releaseDate": "2018-06-29", "released": false, "archived": false }, { "id": "v-10086", "versionName": "1.1.1", "versionDescription": "*1.1.1* version of *Project Management*\n- FIXED: permission problems\n- FIXED: search", "startDate": "2017-06-25", "releaseDate": "2017-06-27", "released": true, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10116", "componentName": "Quality Management", "leadUsername": "lowell.gile", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10084", "versionName": "1.0.1", "versionDescription": "", "startDate": "2017-06-01", "releaseDate": "2017-06-15", "released": true, "archived": false }, { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "Major 2.0.0 release of most modules except", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": true, "archived": false }, { "id": "v-10094", "versionName": "2.0.1", "versionDescription": "", "startDate": "", "releaseDate": "2017-10-24", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "Private 1.0.0 release", "startDate": "2016-11-30", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10115", "componentName": "Sales and Distribution", "leadUsername": "leonarda.coles", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10085", "versionName": "1.1.0", "versionDescription": "", "startDate": "2017-06-15", "releaseDate": "2017-06-25", "released": true, "archived": false }, { "id": "v-10089", "versionName": "1.2.0", "versionDescription": "", "startDate": "2017-07-01", "releaseDate": "2017-07-15", "released": true, "archived": false }, { "id": "v-10091", "versionName": "1.3.0", "versionDescription": "", "startDate": "2017-07-15", "releaseDate": "2017-07-25", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "*Sales and Distribution* (*2.0.0*)\n - Recommended to customers having branches in different location", "startDate": "2017-07-25", "releaseDate": "2017-08-15", "released": true, "archived": false }, { "id": "v-10095", "versionName": "2.1.0", "versionDescription": "", "startDate": "", "releaseDate": "", "released": true, "archived": false }, { "id": "v-10099", "versionName": "2.3.0", "versionDescription": "*Sales and Distribution* (*2.3.0*)\n - Recommended to customers having branches in different location", "startDate": "", "releaseDate": "2018-06-29", "released": false, "archived": false }, { "id": "v-10096", "versionName": "2.2.0", "versionDescription": "*2.2.0 version of Sales and Distribution*", "startDate": "", "releaseDate": "", "released": true, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "Initially released to Asian Market.", "startDate": "2016-11-30", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10125", "componentName": "Service Desk", "leadUsername": "", "assigneeType": 0, "attributes": [], "versions": [ { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "*2.0.0 version of service desk*", "startDate": "", "releaseDate": "2018-05-23", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10118", "componentName": "Supply Chain Management", "leadUsername": "", "assigneeType": 1, "attributes": [], "versions": [ { "id": "v-10084", "versionName": "1.0.1", "versionDescription": "", "startDate": "2017-06-01", "releaseDate": "2017-06-15", "released": true, "archived": false }, { "id": "v-10093", "versionName": "2.0.0", "versionDescription": "*2.0.0* version of *supply chain management*", "startDate": "", "releaseDate": "2017-11-01", "released": false, "archived": false }, { "id": "v-10083", "versionName": "1.0.0", "versionDescription": "First release of our ERP application with 1.0.0 version of all modules.", "startDate": "2016-12-01", "releaseDate": "2017-06-11", "released": false, "archived": false } ] }, { "id": "c-10200", "componentName": "Windows Phone", "componentDescription": "This is unsupported and not included in our Mobile Applications category", "leadUsername": "shane.soukup", "assigneeType": 1, "attributes": [], "versions": [] } ]
Importing
To import component versions, click on not he top right hand side of the "Component Versions" page and select "Import". This will open a file selector dialog, you can either select a previously exported JSON file or select a handcrafted file. But its structure should match to the format given above. Click on "Load" button to see a preview of import operation. Don't worry, you can still cancel operation after clicking on "Load". After clicking on "Load", following preview dialog will be displayed. Import operation will automatically create missing components and version, update existing components and versions to match them to the information in JSON file. It will not delete any component or version even if it doesn't exist in the JSON file. But it will remove all component versions from the project recreate necessary component versions to match to the information specified in the JSON File.
To start import operation press the "Import" button. After the operation is completed you will need to "Acknowledge" operation and the page will be refreshed to show newly imported component versions.