Using the Web UI to Perform the Export

When project data is exported through the Web UI, the export operation is added to the Jobs queue and runs in the background. During the export process, the exported data is written to a JSON data file, which is then compressed in a .zip archive and saved to an exports folder in the Code Insight installation.

Note:When a data export job for a given project is initiated, the options to perform a scan, rescan, Project Copy, or a Project Branch on this same project are disabled until the export is finished.

To export project data, do the following:

1. As Project Administrator or Analyst, navigate to the project’s Summary tab (see Opening the Project Summary Tab).
2. (Optional) If you want a backup of the existing .zip file containing your project’s most recently exported data, follow the instructions in Downloading the Archive Containing the Current Exported Data for the Project. This process downloads the .zip file from the exports folder in your Code Insight installation to your browser’s download site.

Note:The export you are about to perform overwrites the existing archive in the exports folder.

3. From the Manage Project menu, select Export Project Data. Either of the following occurs:
If a .zip file of data exported from this project already exists in the exports/<projectId> folder of your Code Insight installation, a popup is displayed. Continue with Step 4.
If no file exists, the export proceeds. The message “Project Data Export is initiated with Job ID: x” is temporarily displayed in the upper right of the screen. Skip to Step 5.

Note:Due to certain events, the Export Project Data menu option might be temporarily disabled. For more information, see Impact of Other In-Progress or Scheduled Jobs on an Export Issued for the Same Project.

4. In the popup, select whether you want to overwrite the existing exported data:
Yes—The export process will overwrite the current archive containing the previously exported data with an archive containing the results of the new export.

When you select this option, the export is immediately initiated and the message “Project Data Export is initiated with Job ID: x” is temporarily displayed in the upper right of the screen. The export job is added to the Jobs queue and will run in the background in queue order. Continue with Step 5.

No—The export process will not be performed at this time. The pop-up closes and you remain on the Summary tab.
5. To track the status of the export, do either:
Check the Export Project field in the Project Data section on the Summary tab. (For a description of the various statuses available in this field, see the field descriptions in Summary Tab.)

Open the Jobs queue and use the job ID to locate the Project Export job and track its status. (Use the instructions in Monitoring the Code Insight Jobs Queue to access and monitor the queue.) The Jobs queue enables you to see the status and position of the export job in relation to other jobs running in the Code Insight system.

Note:When other projects trigger Project Export jobs concurrently with your job, the first export job added to the queue will be the first export job placed in Active state. The remaining export jobs continue in a Scheduled state and are run based on the scheduled order.

During the export process, the project data is exported to a JSON data file, which is then compressed in a .zip archive and saved to the exports/<projectId> folder in your Code Insight installation. Both the .zip file and the JSON file inside the .zip file have the same name, <projectId>-export-<date>_<time>. This new .zip file overwrites the existing .zip file containing the project’s previously exported data.

When the export process is finished, the “completed” status is displayed both in the Jobs queue and for the Export Project field (in the Project Data section on the Summary tab). The Export Project field also provides an option to download the .zip file containing the exported data (see Downloading the Archive Containing the Current Exported Data for the Project).