Skip to content

Import

Arguments for importing

Following commands can be used during an import:

Argument Description Required
--PolarionProject The Polarion project name required
--PolarionLocationDocument The Polarion location and document Id for import required
--License Path to a folder or file with a license
--ServerUrl The Url to the Server required
--Username Username required
--Password Password
--Token Personal Access Token
--Model The source 'Model' used to import from Server required
--PackageGuid The guid of the 'Package' configured for import required
--PolarionMapping The mapping file used for import required
--UseNewProjectSchema Polarion server is Polarion V22 R1 or newer
--help Display the help screen

Powershell Example:

LemonTree.Connect.Polarion.Automation.exe import \
  --Model model.qeax \
  --PackageGuid {B62E2AC1-DFE5-44b2-95A8-052F7499585E} \
  --PolarionMapping Mapping\PolarionImportMapping.xml \
  --ServerUrl http://<server>/polarion/ \  
  --PolarionProject ImportProject\
  --PolarionLocationDocument LL/LLDocument1 \
  --Username username \
  --Password password \
  --License license.lic