Skip to main content
Source coverage for this page is limited to the servlet layer (PlanningBoardApiServlet). Deeper scripting-hook documentation (item lifecycle callbacks, custom field transformation scripts) is not confirmed in the available context.
See also the Scripting API for the general scripting model, the Config Script API for board-configuration scripting, and the Data Script API for board-data scripting.

Overview

Request flow from the Planningboard Client through PlanningBoardApiServlet's GET and POST /api/data endpoints down to PlanningBoardDataService

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:
Where {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:
Example — bulk update of two fields on two items:

ids Parameter


Deletion Convention

Item deletion uses the same parameter-map mechanism as updates, with a reserved field name.

_!nativeeditor_status Field

When {taskId}_!nativeeditor_status equals "deleted", the item is permanently removed from Polarion. This operation cannot be undone through the Planningboard UI. Ensure the item ID and intent are correct before submitting.
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:
All date/time fields in the response payload use this format. Parse accordingly in any scripting context that processes item dates. Response structure:
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:
Response: Returns the updated 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.

KB Articles
  • Planningboard: Customizable Statistics and Capacity Indicators
Source Code
  • PlanningBoardApiServlet.java
Last modified on July 9, 2026