Skip to main content
Skip table of contents

Import Requirements

Import Requirements

Valispace Users can upload their existing requirements data into Valispace in a quick and easy way via the “Import” wizard inside the Requirements Module.

As illustrated in Figure Import Wizard Access the Import wizard can be accessed from the top bar of Valispace, with its own action button (1) or where the table view would be on an empty Specification (2).

image-20240327-173438.png

Import Wizard Access

This wizard guides users through three main stages: “Specification”, “Upload” and “Review” to import a Specification at a time. On completing a specification import, a summary is presented as well as the possibility to perform additional actions such as Valify or import other files.
These stages and actions are as follows:

1 - Selection

As seen in Figure Import Wizard Spec Selection, Users define the target import Specification, either a pre-existing specification (1) and its section (2) (optional) or they can create a new specification (3) (also being able to define the abbreviation (4) and the component (5) to be allocated to) without exiting the import wizard.

image-20240327-174905.png

Import Wizard Spec Selection

If the Importer is started within the context of a Specification or a Section, that will appear as pre-select for import destination.

In case there are no existing specifications, the user must create one.

In the naming definition of the new Specification the users have to abide by the naming definition rules, i.e., only alpha-numerical characters and the special characters “_” (underscore) are allowed.

2 - Upload

If one of the supported file types is uploaded the user will be notified of the upload success and can either continue the import operation or upload a new-file (replacing the previous one), as in the Video Uploading an Import File where a file is dragged from a user’s desktop environment onto the wizard’s file upload area. In case a non-supported file is uploaded an error message will notify the user.

Uploading an Import File

Currently, only Excel (.xls, .xlsx) and .CSV files are supported. Excel Macro files (.xlsm) are not supported.

3 - Review

As seen in Figure Wizard Review, notification messages (1) will pop up at the top of the wizard to warn of any mandatory missing fields.

A user has also access to a visual indication of the “Destination” where their data will be imported to (i.e. Specification and Section), and has a set of “File options” to be selected (2).

image-20240327-182028.png

Wizard Review

In “File options” (2) the user can :

  • “Update requirements” selection - Which overwrite any existent requirements in the destination specification by substitution of the data (file data substitutes the data in the specification).

In case the “update requirements” option is not selected and the user is importing requirements whose Identifier already exist in the specification selected as destination, Valispace will add suffix “_import” to the identifiers of the imported requirements to differentiate them.

In case the “update requirements” option is not selected and the user is importing requirements whose Identifier already exist in the current project but not in the specification selected as destination, Valispace will add a warning icon ((warning)) to the identifiers that alert to a duplicate identifier in the same project.

  • “Use header row” selection - The user can decide to use the header row of their file or to use a general reference header row provided by Valispace (i.e. Columns headers as: A; B; C;…).

Valispace considers the Header row as the 1st row of any uploaded file

  • “Sheet” selection - In case of having a file with multiple sheets, the user can select which is the sheet they want to import from.

  • “Starting row” definition - The user can select from which row of the imported file the data should start being collected to be inserted in Valispace.

At the preview level (3), the users can consult a preview of the file provided by the them and to map the files' fields, more properly each column, to fields in Valispace. That is, the user can establish how the fields from their file will be placed in Valispace by selecting the Valispace field in the “MAP TO” fields, according to the respective column. If the file contains the same headers as the default Valispace fields, these will be automatically mapped, though users can choose to override this mapping.

Currently, the following fields can be selected for the mapping:

  • Identifier; Text; Title; Rationale; Parents; Children; Path to Section; Type; State; Tags; Compliance; Compliance comment; Verification Methods, Applicability, Owner, Tags, Custom Columns

For Verification Methods, Applicability and Tags more than one value can be imported for each requirement. To do so, each value should be separated by a comma.

For Applicability , compound component types can be referenced with a “/”. for example, component_A/component_B

The user must always select at least the Identifier column, if not a warning message will be displayed until that condition is met

While the import operation is ongoing, the user will be prompted with a loading screen. Once the process is finalized, if the import is successfully completed a message of success, the changes made (Image 8) and soft errors are displayed. If the import fails completely, a message of failure will be displayed. An example of a succesfull import with errors and Valifying of engineering values can be seen in the Video Review & Import.

The soft errors are:

  • Relation can’t be established → Parent or Children Identifier doesn’t exist on the project

  • Relation can’t be established → Parent or Children Identifier is duplicated on the project

  • Requirement Compliance Statement doesn't exist in the project

  • Requirement Type doesn't exist in the project

  • Requirement State doesn't exist in the project

  • Tag doesn't exist in the project

  • Applicability Condition doesn't exist

Regardless of the importer being successful or not, the user will have the opportunity to re-import or to make a new import by clicking “Import new file” (success) or “Try again” (failure), taking the user back to section 1 (Specification).

3.1 - Valify option

Upon a successful import, the user can also start the Valify process which will scan the imported requirements text for possible quantifiable parameters to be converted to Valis inside the requirement.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.