Approve Models with Jira
Every process model of Flower BPM is a Jira work item: the work type of the models in the space of the models, as chosen in the Flower Settings or in the Create Model dialog. So the review of a model can use what Jira already offers for any work item: a workflow, a board, permissions, comments and the history. No extra tool and no roles of Flower’s own.
This page sets up such a review step by step. It does not change how Flower publishes, see the limit below.
Flower does not check the status of the model when you publish. Whoever can edit the work item of a model can publish it, in any status. The review workflow on this page documents and organizes the approval; it does not block publishing. Agree in your team that a model is published only from the status Approved, and check the history when in doubt.
What You Can Do with Jira Means
| You want | Jira gives you |
|---|---|
| A clear state for each model | A workflow for the work type of the models, for example Draft → In review → Approved |
| An overview of what waits for review | A board or a filter on the models in In review |
| Only certain people may approve | A condition on the transition to Approved: a space role or a group |
| Proof of who approved and when | The history of the work item |
| A place for the discussion | Comments and @mentions on the work item of the model |
Set It Up
Give the models their own work type and workflow
Keep the models in a space of their own with a work type such as Flower BPMN Model (see Setup). In the Jira settings of that space, give the work type a workflow with the statuses of your review, for example:
- Draft: the model is being worked on.
- In review: the model waits for the reviewers.
- Approved: the reviewers agree with the current draft.
- A transition back from In review to Draft for changes.
The status does not change what Flower does with the model: the repository lists it, and it can be published and started in any status, also when Approved is a done status with a resolution. Flower never moves the work item of a model to another status itself. Archiving a model only adds the label archive.
Restrict who may approve
Add a rule to the transition In review → Approved that restricts who can move the work item, for example to the space role Process owners or to a group. Only these people see the transition. Jira’s workflow conditions decide; Flower adds nothing.
A strict four-eyes rule (the person who approves is not the person who changed the model) is not a built-in condition of Jira. Agree on it in the team, or assign the review to a second person and restrict the transition to the assignee.
Show the review on a board
Create a filter and a board for the models, for example:
flowerType = Model AND status = "In review" ORDER BY updated DESCThe reviewers see at a glance which models wait for them. flowerType = Model AND labels not in (archive) lists all models that are not archived.
Discuss on the work item
Open the work item of the model in Jira to comment, to @mention the reviewers, or to link a Confluence page with the requirements. The diagram itself is edited in the Flower modeler.
Who Approved Which Version?
The history of the work item shows every status change with the person and the time, so you see who moved the model to Approved and when. The versions of the model show when each version was published and by whom. Comparing the two answers which version was approved: the version published right after the approval.
Drafts and published versions are kept in properties of the work item of the model. A status that denies editing the work item (for example with the workflow property jira.permission.edit.denied) would therefore also block saving the draft in the modeler. Use a condition on the transition instead, as above.
Related
- Permission Handling: Jira permissions for models, process instances and tasks
- Make Approval Steps: approvals as steps of a process
- Setup: the space and the work types of Flower
- Search Flower Data with JQL