Main Content

Import and Integrate Requirements

Import requirements from third-party requirements management tools and integrate with OSLC servers

Integrate Requirements Toolbox™ with third-party requirements management tools by importing requirements or by using a command-line OSLC client.

You can import requirements from external applications such as Microsoft® Word, Microsoft Excel®, IBM® DOORS®, and IBM DOORS Next. You can also import requirements from ReqIF™ files. Migrate requirements to Requirements Toolbox or continue to manage the requirements in the third-party tool and update the imported requirements when you make changes in the third-party tool.

Apps

Requirements EditorCreate and edit requirements
Profile EditorCreate and manage profiles with stereotypes and properties

Functions

expand all

slreq.importImport requirements from external documents
slreq.getCurrentImportOptionsGet import options in PreImportFcn callback (Since R2022a)
slreq.updateReqIfMappingsRefresh registered custom ReqIF import mappings (Since R2023b)
slreq.registerNavigationFcnRegister navigation function for referenced requirements
slreq.getNavigationFcnGet registered navigation function for referenced requirements
slreq.findFind requirement, reference, and link set artifacts
slreq.getCurrentObjectGet selected objects in Requirements Editor, Requirements Browser, or Requirements Table block (Since R2021a)
slreq.loadLoad requirement set, link set, or Requirements Table block
slreq.openOpen requirement set
slreq.clearClear requirements and links from memory

Classes

expand all

slreq.ReqSet Work with requirement sets
slreq.Reference Work with external requirement proxy objects
slreq.callback.CustomImportOptionsCustom import options (Since R2022a)
slreq.callback.DOORSImportOptionsIBM DOORS import options (Since R2022a)
slreq.callback.MSExcelImportOptionsMicrosoft Excel import options (Since R2022a)
slreq.callback.MSWordImportOptionsMicrosoft Word import options (Since R2022a)
slreq.callback.ReqIFImportOptionsReqIF import options (Since R2022a)

Methods

expand all

importFromDocumentImport editable requirements from external documents
updateReferencesUpdate referenced requirements in requirement set
updateSrcArtifactUriUpdate document resource identifier of imported requirements
updateSrcFileLocationUpdate document location of imported requirements

Get Requirements, Requirement Sets, and External Requirements

findFind children of parent referenced requirements
childrenFind children references
parentFind parent item of referenced requirement
reqSetReturn parent requirement set
getExternalTypeNameGet requirement type name from external artifact
navigateToExternalArtifactNavigate from imported referenced requirement to original requirement

Add Comments and Customize Imported Requirements

addComment Add comments to referenced requirements
getAttributeGet referenced requirement custom attributes
setAttributeSet referenced requirement custom attributes

Edit and Update Requirements

hasNewUpdateCheck if import node has available update
updateFromDocumentUpdate referenced requirements from external requirements document
unlock Unlock referenced requirements
unlockAll Unlock all child referenced requirements for editing

Customize Import Behavior

getPostImportFcnGet contents of PostImportFcn callback
getPreImportFcnGet registered PreImportFcn callback script
setPostImportFcnAssign PostImportFcn callback script
setPreImportFcnAssign PreImportFcn callback script
setParentSet parent of referenced requirement in PostImportFcn callback
moveUpMove referenced requirement up in hierarchy
moveDownMove referenced requirement down in hierarchy

Objects

expand all

Client and Core Objects

oslc.ClientClient to integrate with OSLC providers (Since R2021a)
oslc.core.CreationFactoryOSLC service provider creation factory (Since R2021a)
oslc.core.DialogOSLC service provider user interface dialog (Since R2021a)
oslc.core.QueryCapabilityOSLC service provider query capability (Since R2021a)

Resource Objects

oslc.rm.RequirementRequirement resource for OSLC requirements management domain (Since R2021a)
oslc.rm.RequirementCollectionRequirement collection resource for OSLC requirements management domain (Since R2021a)
oslc.qm.TestCaseTest case resource for OSLC quality management domain (Since R2021a)
oslc.qm.TestExecutionRecordTest execution record resource for OSLC quality management domain (Since R2021a)
oslc.qm.TestPlanTest plan resource for OSLC quality management domain (Since R2021a)
oslc.qm.TestResultTest result resource for OSLC quality management domain (Since R2021a)
oslc.qm.TestScriptTest script resource for OSLC quality management domain (Since R2021a)
oslc.cm.ChangeRequestChange request resource for OSLC change management domain (Since R2021a)

Topics

Import and Update Requirements

Customize Imported Requirements

View Requirements

Featured Examples