Skip to content

Getting started with LemonTree.Connect Polarion

The screenshots from this documentation were created with EA version 16.1.1624.

Enable REST Api on Polarion Servers

Since LemonTree.Connect for Polarion 4.0.0 REST Api for Polarion servers are required. Polarion's REST API is disabled by default, but administrators can enable it by setting the following property in the polarion.properties file:

com.siemens.polarion.rest.enabled=true

This file resides on the server's file system. The path varies according to the server operating system hosting the installation:

Windows: [POLARION HOME]\polarion\configuration\polarion.properties

Linux: [POLARION HOME]/etc/polarion.properties

System configuration

  • There is no user interface for it in the Polarion portal.
  • It is highly recommended to make a backup copy of the current production version of the system properties file before modifying it. Then if the modified file causes problems, you can easily restore the last working version.
  • Changes to system properties do not take effect until the Polarion server is restarted.

Optional also Swagger UI can be enabled. The Swagger UI is generated automatically from Polarion's OpenAPI implementation. To enable Swagger UI, set the following property to true in the polarion.properties file:

com.siemens.polarion.rest.swaggerUi.enabled=true

More details can be found here

1. Import Requirements from Polarion

  1. To start the import of requirements from a Polarion project select a package, where the requirements from Polarion shall be imported to:
    Right-click the package and select Specialize > LemonTree.Connect Polarion > Import from Polarion:

    startImportGettingStarted

  2. If the credentials haven't been configured yet, the authentication dialog will appear (see Credentials for the Polarion Server).

  3. In the next step, the project (and optionally a space and document) has to be configured for the import.

    Import SystemsReqs 

    Handling of Documents

    If you don't select any space and document, all work items will be imported from the selected project.
    If you select a space, you also have to select a document. You cannot import a space only. Only the work items included in the selected document will be imported.
    You can also imported multiple documents from the same project into separate EA packages.

  4. After the configuration has been saved, the import will start automatically.

  5. After the import was finished, confirm the message box:
    importFinished

    This will trigger a reload of the EA project, in order to see the changes done to the EA project file.

It is possible to navigate from an imported requirement to the original work item in Polarion.
A simple double-click on the element in EA will open the original work item in Polarion in the configured standard browser.

2. Export Architecture to Polarion

Polarion Prerequisites

In order to export elements from EA to Polarion, the project has to be configured correctly. For this configuration, see Configure a Polarion Project for Export of EA Elements.

  1. To start the export of architecture elements to a Polarion project, select the package from which the architecture elements shall be exported.
    Right-click the package and select Specialize > LemonTree.Connect Polarion > Export to Polarion:
    startExportGettingStarted

  2. In the next step, the project for the export has to be configured. selectProjectExport

  3. After the configuration has been saved, the import will automatically start.
  4. After the export was finished, confirm the message box:

    exportFinished

  5. Reload the project in Polarion to see the exported architecture elements.

    Enable the tree view in Polarion

    In order to see the hierarchy between export elements (which is represented thanks to the link role "parent of") you have to do these steps:

    1. Switch to the tree view:

      enableTreeView

    2. Set Show Backlinked, Work Items having has parent and role expanded to a decent amount of levels (depending on how many levels you have in your export package):

      hierarchySettings

It is possible to navigate from an exported architecture element to the original element in Enterprise Architect.
The link to the EA element is stored as an "Association" at the work item in Polarion:

If you follow this link, the element will be selected in the corresponding EA project file, if it is opened.

If you don't have it opened, the file provided in the hyperlink will be opened.

EA Loading Time

Depending on your EA installation and on your system specification, the opening of EA and the selection of the element in EA can take several minutes.

3. Synchronize Requirement Traces between EA and Polarion

Work item link roles between work items in Polarion, as well as conenctors in Enterprise Architect are synced between the two tools during both import and export.

For more details on the respective functions, please refer to these pages:

Import of Traceability Links between Polarion Elements

Export of Traceability Links between Polarion Requirements and EA Elements