Polarion Applications · 2612
Build Polarion Applications with AI
This folder contains the complete developer guide and seven working example applications, prepared so that an AI coding assistant can build a new Polarion Application for you.
Three steps
- Open this folder in your AI coding assistant.For example Claude Code, GitHub Copilot in VS Code, or Cursor. The assistant reads
AGENTS.md(also provided asCLAUDE.mdand.github/copilot-instructions.md), which tells it how Polarion Applications work. - Paste the prompt below and describe what you want.Replace the part in angle brackets: what the application should show, where it should appear, and what it reads or changes.
- Upload the result.The assistant builds a ZIP file. Upload it in Global Administration → Applications and place it as the assistant describes. Try it on a test server first.
Prompt
Read AGENTS.md in this folder and follow it. Then build a Polarion Application that <describe what it should show or do, where it should appear (on the work item form, next to the Work Items table, or as a page in the project navigation), and what it reads or changes>. Start from the closest example, build and package it, and tell me how to upload and place it.
Example requests
- …a sidebar next to the Work Items table that shows the total initial estimate and the number of open items of the selected work items.
- …a panel on the work item form that lists the linked test cases with their last test result.
- …a page in the project navigation that shows how many requirements are in each status, as a bar chart.
- …a panel on the work item form with a button that copies the work item's title into its description, using an endpoint on the server.
What is in this folder
| File or folder | What it is |
|---|---|
Guide.html | The whole developer guide as one page, to read in a browser. |
AGENTS.md | Instructions for the AI assistant: rules, workflow, pitfalls. |
guide/ | The guide as Markdown files, for the assistant. |
examples/ | Seven example projects with their sources, and the SDK in examples/_sdk/. |
Before you start
You need Node.js 20.19 or newer (22.12 or newer on Node 22; 22 LTS recommended) and a Polarion 2612 server with Applications enabled and REST token authentication on. Enable Applications in Polarion in the guide describes the settings.
An assistant cannot upload or test the application in Polarion. Check the result on a test server before you use it in production, and review what it changes in your data.