Importing Project Data

Code Insight allows you to import data from one Code Insight project into another project. The data to be imported must be in a properly formatted and archived JSON file, such the archive resulting from an export described in Exporting Project Data. The following procedure describes how to import project data using the Code Insight Web UI.

For complete information about the import feature (including how to import project data using the public REST API), see Exporting and Importing Project Data.

To import project data, do the following:

1. As Project Administrator or Analyst, navigate to the Summary tab (see Opening the Project Summary Tab).
2. From the Manage Project menu, select Import Project Data. (For information about the occasions when this option is temporarily disabled, see Import Menu Option Disabled When Certain Other Jobs Are Scheduled or Running.)
3. Complete the fields as described in Import Project Data Dialog, and click OK. Once an internal temporary copy of the export data file is created for the import job, the dialog closes and the message “Project Data Import is initiated with Job ID: x” is temporarily displayed in the upper right of the screen.

The import job is now added to the Jobs queue and will run in the background in queue order.

4. To track the status of the project import, check the Project Data section on the Summary tab.

Alternatively, open the Jobs queue and use the job ID to locate the import 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 project-import job in relation to other jobs running in the Code Insight system.

Note:When other projects trigger Project Import jobs concurrently with your job, the first import job triggered is in the Active state. The remaining import jobs are placed in a Scheduled state and are run based on the scheduled order.

Import Menu Option Disabled When Certain Other Jobs Are Scheduled or Running

The Import Project Data menu option is temporarily disabled whenever an Electronic Update is in progress or scheduled for the Code Insight instance. Additionally, the menu option is temporarily disabled whenever one of these jobs is in progress or scheduled for the current project: a scan, rescan, SBOM Insights export, Project Copy, Project Branch, report generation, or another import job.

Once the conflicting job completes, the Import Project Data menu option is re-enabled so that you can initiate the import process. (You can check the Jobs queue to view the status of the conflicting job. See Monitoring the Code Insight Jobs Queue for help accessing and monitoring the queue.)