Overview
Data Model
Data Object
The top-level object returned by the data-retrieval endpoint.
Item Object
Each element of data.items represents a single Planningboard work item (card).
The full set of
Item fields is not exhaustively listed in the available source context. The fields below are confirmed from the servlet and data-service layer. Additional fields (custom fields, display-only properties) may be present at runtime.Update Convention
Planningboard uses a parameter-map convention (not a JSON body) when submitting item updates. Understanding this convention is required when constructing manual or scripted requests.Parameter Naming
Updates are submitted as flat key-value parameters. Each updated field follows the pattern:{taskId} is the item’s id value and {fieldName} is the Polarion field ID to update.
Example — updating the priority field of item WI-42:
ids Parameter
Deletion Convention
Item deletion uses the same parameter-map mechanism as updates, with a reserved field name._!nativeeditor_status Field
Example — deleting item
WI-42:
Data Retrieval
GET /api/data
Retrieves the current Planningboard data set — Plans and items — for the board instance.
Date format used in response values:
The full list of query parameters accepted by
GET /api/data is not confirmed in the available context. Inspect the network requests made by the Planningboard client in your browser’s developer tools to enumerate the parameters used for your board configuration.Bulk Update Request
POST /api/data (bulk)
Submits field updates for one or more items in a single request.
Request format: application/x-www-form-urlencoded
Example request body:
Item object for each modified item, or confirms deletion.
The exact response envelope structure for bulk updates is not confirmed in the available source context. Verify the response format against the live application before building integrations that parse the response body.
Service Methods
The following service-layer methods underlie the HTTP endpoints. These are relevant when extending or scripting Planningboard via server-side hooks.getData(parameterMap)
updateItem(parameterMap)
deleteItem(id)
Configuration Example
The following example illustrates a scripted bulk update that re-assigns two cards to a new sprint Plan and deletes one stale card. The parameter map follows the conventions described on this page.The exact servlet URL path (
/polarion/planningboard/api/data) should be confirmed against your Polarion installation. The path prefix may vary depending on your Polarion context path and Planningboard installation.Related Reference Pages
- Scripting API — general scripting model and entry points
- Config Script API — board configuration via scripting
- Data Script API — board data scripting
- REST API — full HTTP endpoint reference including capacity and plan service endpoints
- Widget Parameters — Advanced Parameters — widget-level scripting parameters
- Scripting Properties — system-wide scripting configuration properties
Sources
Sources
KB Articles
- Planningboard: Customizable Statistics and Capacity Indicators
PlanningBoardApiServlet.java