Skip to content

Limiting Status Transitions

Florian Krönert edited this page Aug 26, 2020 · 1 revision

General

PowerKanban honors status transitions which you defined inside your statuscode optionsets. Once they are in place, users will not be able to drag tiles to status reasons which are not allowed for the currently active status and the invalid status reasons are coloured in red.

When using other option sets or booleans, you can write a custom script and load it (as in the examples) and check conditions yourself. If your custom script is supposed to prevent a transition, return an object resembling { preventDefault: true } on the execution context that is passed to your handler. Example

Clone this wiki locally