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
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
2
Map Dependency Types
MS Project uses four dependency types that map to Gantt dependency link types:
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
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
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