Requirements
Goals, stories, actors, use cases, scenarios and the glossary, and how they link together.
Lists and editors
Each kind of requirement has a list (from the sidebar tree or the overview’s tiles) with search, sorting and a New button. Click a name to open its editor.
Every editor works the same way:
- The details form at the top, with Save. Leaving with unsaved changes asks first.
- Copy makes a duplicate to start a similar one from; Delete removes it after you confirm.
- Below the form, the items it links to, each with an Add button, and Referenced By: the items that link to it.
- Tags and Annotations (notes and issues) at the bottom.
Goals
A goal is an outcome the system must achieve: a short name and a description. Relate goals to each other with Add Relation:
| Relation | Read from the other goal | Meaning |
|---|---|---|
| Supports | Supported by | This goal helps the other succeed. |
| Refines | Refined by | This goal is a more concrete statement of the other. |
| Depends on | Required by | This goal can’t be achieved until the other is. |
| Obstructs | Obstructed by | This goal makes the other harder, without making it impossible. |
| Measures | Measured by | This goal is the measurable stand-in for the other’s outcome. |
| Conflicts | Conflicts | The two can’t both be satisfied. |
| Duplicates | Duplicates | The two state the same requirement. |
This Goal’s Relations lists the ones you added here; Related To This Goal lists the ones other goals point at it. Actors, stakeholders, stories and use cases reference goals from their own editors.
Stories
A story is a short narrative of one person using the system. Its type is Success (it works) or Exception (something goes wrong). Pick the primary actor it is told from, add any other actors and the goals it illustrates, and Add to Use Case to file it under the use case it describes.
Actors
An actor is a role that uses the system: a kind of user, another system, a device. Give it a name and description and link the goals it cares about. Stories and use cases name their actors; the actor’s Referenced By shows where.
Use cases
A use case is something an actor does with the system. It needs a name and a primary actor. Then:
- Primary Scenario: the main flow. Create New makes one named after the use case; Select Existing reuses a primary scenario. Open in Editor edits its steps.
- Additional Scenarios: alternatives and exceptions.
- Goals, Stories and Additional Actors it involves.
Scenarios and steps
A scenario is a sequence of steps. Scenarios and steps have a type that says what part they play:
| Type | Use it for |
|---|---|
| Primary | The expected, successful case: the main flow of a use case. |
| Alternative | Another successful way through. |
| Exception | An interaction that fails. |
| Optional | A step that may be skipped. |
| PreCondition | What must happen first; without it the scenario can’t begin. |
Under Steps, Add step adds one at the top or bottom; drag a step’s handle to reorder; its buttons edit its details, add a step below it and remove it. Add Sub-scenario inserts another scenario as one step, so shared flows are written once. A scenario can belong to several use cases.
A step can be shared by several scenarios. As you type a new step’s name, the editor suggests the project’s existing steps, with their type and how many scenarios use them; pick one to reuse that step instead of adding a new one. Step names are unique in a project, so a new step named like an existing one can’t be saved: pick it from the suggestions, or choose another name.
A step can say who does it apart from its wording. Pick Who does it before its name: Primary actor, The system or one of the project’s actors, and keep only the action as the name (“ends the room”). A primary-actor step reads with the primary actor of the use case it is shown in, so one shared step reads “Operator ends the room” in one use case and “Engineer ends the room” in another. In a scenario that is in no use case, or in use cases with different primary actors, it reads “Primary actor ends the room”. In the wording leaves the actor in the name, as before. A scenario’s own name can have an actor the same way. Deleting an actor that a step names this way puts the actor back into the step’s wording.
A saved step has a page of its own: its pencil opens it. The page shows the step’s name, type and notes, the scenarios that use it, and its issues and notes, where an issue can be resolved. A step is shared, so an edit there changes it in every scenario listed. Save the scenario first; the pencil is off while it has unsaved changes. A new step, not yet saved, is edited in a small popup instead.
A step with open issues shows a warning icon in place of its pencil. Its color is the highest severity among them, and its tooltip gives the count. Click it to open the step’s page. A sub-scenario with open issues shows the icon beside its name, and it opens the sub-scenario’s own page.
The Steps list, from the project overview or the sidebar, shows every step in the project: who does it, its type, how many scenarios use it, and its open issues with the highest severity. Sub-scenarios aren’t listed; they are scenarios. Filter by name or type, or tick Has open issues or Shared (used by more than one scenario). Click a step to open its page; Back there returns to the list as you left it. Steps are added in a scenario, not from the list.
Glossary
The glossary holds the project’s terms. Each has a definition. When two words mean the same thing, pick the preferred one and set it as the other’s Canonical Term: the alternate then points at it, and the canonical term lists its Alternate Terms. In the sample, Interested Party is an alternate for Stakeholder.
Terms are often added straight from an issue: the assistants spot likely terms and offer Add to Glossary (resolving issues).
Under the text of a goal, story, actor, use case, scenario, step, stakeholder or term, Terms used lists the glossary terms its name and text use, as you type, before you save. Point at a term, or tab to it, to see its definition; click it to open the term. A term matches as a whole word or phrase in any case, so “rooms” and “bedroom” don’t count as “room”. The longest term wins: “video room” is listed, not the “room” inside it. An alternate shows as alternate → canonical with the canonical term’s definition, so you can see the preferred word. A term’s own page never lists the term itself.
Review and approval
Goals, stories, use cases, scenarios, actors and glossary terms each have a review status, shown under the editor’s title: Draft (every new item), In review or Approved.
- Submit for review moves a draft to In review, and Back to draft moves it back. That needs Edit on that kind of item.
- Approve records who approved the item, when, and its wording at that moment. It needs the Approve permission, and works on a draft as well as on an item in review.
- Approve is unavailable while a must-resolve issue on the item is open; the issues are listed under the buttons. For a scenario, issues on its steps count too.
- Editing an approved item doesn’t undo the approval. It shows Changed since approval until it is approved again with Re-approve, or its wording goes back to what was approved. A scenario’s wording includes its steps.
- Revoke approval returns the item to Draft.
The lists have a Status column and a filter for each status and for
Changed since approval. The project overview counts them per kind of item. A copy
of an approved item starts as a draft. The status and the approval travel with an exported
project; an approver who isn’t a user where it is imported shows as unknown. The same
actions are the SetReviewStatus, Approve and
RevokeApproval commands, for MCP and requel run.
Requirement keys
Every goal, story, actor, use case, scenario, step and glossary term has a key, such as
GO-7Q2K9M, shown under the editor’s title with a button that copies it.
Use the key to cite the item in a commit, a test, a task or a ticket.
- The two letters say what kind of item it is:
GOgoal,STstory,ACactor,UCuse case,SCscenario,SPstep andGTglossary term. Six letters and digits follow. - A key is given when the item is created and never changes: not when it is edited or renamed, and not when the project is exported and imported. A deleted item’s key isn’t given to another item, and a copy gets its own key.
- A step shared by several scenarios has one key. Its number in each scenario is still shown, but that changes when steps are added or moved, so cite the key.
- The lists have a Key column, and the traceability page shows keys. Searching for a key opens that item first; case doesn’t matter.
- The ticket and HTML reports show every item’s key, so removing an item doesn’t renumber the others.
- On the command line,
requel entity-key Requel GO-7Q2K9Mshows the item a key names; MCP clients use thegetEntityByKeytool.
Sources
Requirements created by a tool from a ticket or a document (through the API or MCP) show a Sources section: where each came from, whether it was derived from the source or only cites it, and whether the source has changed since. Requirements you write by hand don’t have one.