The REST API surface described here is derived from source code analysis. Endpoint paths, parameter names, and response structures should be verified against the running Planningboard instance. Some details — particularly exact error codes and optional fields — may differ between versions.
Base URL
All Planningboard API endpoints are relative to the Polarion server base. The admin API base path (apiBase) is set dynamically by the servlet at runtime.
Endpoints
GET /api/data
Retrieves Planningboard data — the set of work items and Plans currently rendered on the board — as a JSON response. Request parameters
Date format
Dates in the response use the format
dd-MM-yyyy HH:mm.
Response
Returns a JSON object containing an items array. Each item in the array represents a work item or Plan card.
The full set of fields returned per item depends on the board’s widget parameter configuration. Verify the exact response schema against the live board.
POST /api/data — Bulk Task Update
Updates one or more work items in a single request. Task IDs and field values are submitted as form parameters using a specific naming convention. Parameter naming convention Each field update is submitted as a separate parameter following the pattern:status field of task WI-42:
_!nativeeditor_status
The _!nativeeditor_status parameter controls the operation type for each task:
Deletion example
To delete task
WI-42:
ids parameter supplies a comma-separated list of task IDs to process:
Response
Returns the updated
Item object for each processed task (update operations). Deletion operations return a confirmation. See application for exact response envelope.
POST /planningboard_license
Returns the current license status for the Planningboard installation. Request No request body parameters required. Response — LicenseResponse
Example response
POST /capacity
Sets the capacity value for a specific Plan within a project. Request body (JSON)
Example request body
POST /planservice/fetchNewPlanParams
Retrieves the parameters needed to create new Plans, based on a parameters request. Used to pre-populate the Plan creation form. Request body Submit aparametersRequest JSON object. The exact schema of parametersRequest depends on the Plan type and project configuration.
createPlan endpoint. See application for exact field structure.
The
parametersRequest schema and the returned plan parameters format are dependent on your Polarion project configuration and Plan types. Verify the exact structures in the running application.POST /planservice/createPlan
Creates one or more new Plans based on provided plan parameters. Supports bulk creation in a single request. Request body Submit aplanParams array, where each element is a PlanParameters object.
planParams array to create multiple Plans in one call.
The
PlanParameters field structure is determined by the server-side model. Retrieve the required fields first using POST /planservice/fetchNewPlanParams, then submit the populated objects to this endpoint.Data Flow Diagram
Admin Interface Properties
The following properties are set by the admin servlet and are relevant when integrating with or extending the Planningboard admin interface. These are not configurable by end users.The
roleId property defines which Polarion role grants access to Planningboard features. Administrators must assign this role to users during project setup. Refer to License Installation for the setup process.Configuration Example
The following example shows a typical sequence for reading board data and updating a task via the REST API. Step 1 — fetch board dataRelated Reference
- Scripting API — JavaScript scripting interface for board customization
- Config Script API — Configuration-time scripting hooks
- Data Script API — Data-layer scripting interface
- Teams Service API — Teams service integration endpoints
- Widget Parameters — Per-instance board configuration
- Configuration Properties — System-wide administration properties
Sources
Sources
KB Articles
- Planningboard: Customizable Statistics and Capacity Indicators
PlanningBoardApiServlet.javaPlanningBoardViewServlet.java