Skip to content

LemonTree Connect Polarion – Import Arguments

Arguments

Following commands can be used during an import:

Option Description Required
--ServerUrl The URL to the Server. Yes
--Username Username. Yes
--Token Personal Access Token. Yes
--License Path to a folder or file with a license.
--Project The Polarion project name.
--Model The source 'Model' used to import from Server. Yes
--PackageGuid The GUID of the 'Package' configured for import. Yes
--Mapping The mapping file used for import. Yes
--LocationDocument The Polarion location and document ID for import.
--DocumentRevision The Polarion document revision for import.
--LoadReferencedItems If LocationDocument is set, defines if referenced workitems should be loaded.
--DocumentParentRoleId Defines the parent role ID for imported documents.
--AutoResolveParentRole Automatically resolves parent role ID from document configuration.
--PageSize Defines page size for loading Polarion items (Default is 100).
--MaxConcurrentTasks Number of concurrent tasks to process and load data. (Default: 8)
--TimeOut Timeout in minutes for communication.
--RateLimitPerSecond Limit API calls per second (0 = unlimited).
--RateLimitPerMinute Limit API calls per minute (0 = unlimited).
--ExtendedLog Enables extended logging.
--help Display this help screen.

Examples

Standard Import

LemonTree.Connect.Polarion.Automation.exe import `
  --ServerUrl http://<server>/polarion/ `
  --Username your-username `
  --Token your-personal-access-token `
  --License path\to\license.lic `
  --Project YourPolarionProject `
  --Model path\to\model.qeax `
  --PackageGuid {YOUR-PACKAGE-GUID} `
  --Mapping path\to\mapping.xml `
  --LocationDocument Import/Location/DocID `
  --LoadReferencedItems `
  --DocumentParentRoleId ROLE_ID `
  --AutoResolveParentRole `
  --PageSize 5000 `
  --MaxConcurrentTasks 8 `
  --TimeOut 30 `

Import a Specific Document Revision

LemonTree.Connect.Polarion.Automation.exe import `
  --ServerUrl http://<server>/polarion/ `
  --Username User `
  --Token your-personal-access-token `
  --Model model.qeax `
  --PackageGuid {GUID} `
  --Mapping mapping.xml `
  --LocationDocument Project/DocID `
  --DocumentRevision 4711 `