Skip to content

Project bootstrap

A platform team can provision a repeatable workflow after creating a project. Okatana creates the default Open, Hold, In-progress, Pull Request, and Deployed boards with the project, so automation should discover those boards instead of creating duplicate defaults.

BootstrapProject.cs creates the project, lists the generated boards, finds them by stable project-local slugs, applies colors and WIP limits, marks the terminal board as done, creates an additional Security Review board, and then reorders the complete board set.

This pattern is safer than relying on returned array positions. Slugs remain useful for automation after a board is renamed, but they are project-local. Read the board collection after provisioning and store IDs for later operations.

dotnet run --project examples/Okatana.Examples -- bootstrap-project

Required environment variables are OKATANA_URL, OKATANA_API_KEY, and OKATANA_ORGANIZATION_ID. The example does not use the documentation hostname as a fallback API deployment.