There is no native one-click import from MS Project. This workflow requires exporting XML from MS Project and using the Polarion REST API to create work items and dependency links.
Prerequisites
- MS Project file with tasks and dependency links defined
- Access to the Polarion REST API
- A Polarion project with the target work item types and link roles configured
- Dependency roles configured in the Gantt widget parameters
Step 1: Export from MS Project
- Open your project in Microsoft Project
- Navigate to File > Save As
- Select XML Format (.xml) as the file type
- Save the file to a local directory
Step 2: Map Dependency Types
MS Project uses four dependency types that map to Gantt dependency link types:| MS Project Type | Code | Gantt Equivalent | Description |
|---|---|---|---|
| Finish-to-Start | FS | finish_to_start | Successor starts after predecessor finishes |
| Start-to-Start | SS | start_to_start | Both tasks start together |
| Finish-to-Finish | FF | finish_to_finish | Both tasks finish together |
| Start-to-Finish | SF | start_to_finish | Successor finishes when predecessor starts |
Step 3: Create Work Items via REST API
Parse the MS Project XML and create corresponding Polarion work items using the Polarion REST API:- Extract task names, start dates, end dates, and durations from the XML
- For each task, create a work item in Polarion with the mapped fields matching your Gantt data mapping configuration (e.g.,
gantt_start,gantt_duration) - Record the mapping between MS Project task IDs and Polarion work item IDs
Step 4: Create Dependency Links
For each predecessor relationship in the MS Project XML:- Look up the Polarion work item IDs for both the predecessor and successor tasks
- Create a typed work item link using the appropriate link role
- Set the dependency type based on the MS Project relationship type mapping
Step 5: Configure the Gantt Widget
- Open your Gantt wiki page in edit mode
- Open the widget parameters
- Set the Dependency Role to include the link roles you used during import
- Set the Parent Role if you also imported parent-child hierarchies
- Save and reload the page
Verification
You should now see:- Imported tasks displayed as task bars on the Gantt chart
- Dependency arrows drawn between linked tasks matching the original MS Project relationships
- Auto-scheduling (if enabled) respecting the imported dependency structure
See Also
- Create and Configure Dependency Links
- Configure Advanced Dependency Types (FS, SS, FF, SF)
- Configure Auto-Scheduling
Sources
Sources
Support Tickets