Requirements

Requirements

A requirement is something your project must deliver — a user story, an acceptance criterion, a line from a spec. You link test cases to it, and Lathe rolls their results up so you can see whether the requirement is covered and passing.

Requirements are on by default. An organization admin can turn them off for everyone in Settings → Organization → Settings (Feature Flags → Requirements), and a project admin can turn them off for one project in Project Settings → Features. When they're on, Requirements appears under Planning in the sidebar.


Who can do what#

  • Everyone can see requirements and their results.
  • Test Lead and above (the requirement:manage permission) can create, edit, link, archive, import, and sync requirements.
  • Admin and Owner can delete them.

Creating a requirement#

On the Requirements page, click New Requirement and fill in:

  • External ID — optional, e.g. REQ-001. Imports and tracker sync match on it.
  • Title — what the requirement covers. It must start with a letter.
  • Description — optional.
  • Baseline Requirement — tick it when the requirement applies to every release in the project.

You can also add requirements from a release's detail page, in its Requirements section. A requirement that isn't a Baseline Requirement belongs to the releases you assign it to: select requirements on the Requirements page and use Assign to Release or Unassign from Release.

A requirement is Active or Archived. Archive one you no longer track; it keeps its links and history. Delete removes it permanently from every release, build, run, and test case.

Linking test cases#

Link from either side:

  • Open a requirement and use Link tests in its Linked Test Cases section.
  • In a test case's form, pick requirements in the Requirements field.

The new-run and new-build forms also have a Requirements field, for the requirements that run or build covers.

Coverage and results#

Each requirement's result is rolled up from the latest execution of each linked test case, anywhere in the project:

  • Failing — at least one linked case's latest result is Fail or Blocked.
  • Passing — otherwise, when every linked case has a result and at least one of them passed.
  • Not run — otherwise; some linked case has no result yet.
  • No tests — nothing is linked.

The Requirements page is project-wide, so its Latest result column is not limited to one release. To see one release only, filter the page by that release and choose View release results only, or open the release's own page. Pushed issues lists the tracker issues pushed from those latest executions.

Importing from a file#

Click Import, then CSV / Spreadsheet. The wizard accepts .csv, .tsv, .txt (any delimited text), .xlsx, and TestRail .xml exports.

  1. Upload the file. Download template gives you a starting CSV. Lathe detects the separator and tells you which one it found; if it can't tell, choose it yourself. Turn on Ignore duplicates to skip rows whose External ID already exists in the project.
  2. Map Columns to External ID, Title (required), Description, Status, and Release. Columns with familiar names are mapped for you.
  3. Map Status Values — only when you mapped a Status column. Match the file's values to Active or Archived; unmapped values become Active.
  4. Preview the rows, then import.

When it finishes, the report shows what was imported, skipped, or failed, and how many release links didn't match a release in the project. Download report saves it as a CSV.

Limits per file: 10,000 rows, 20 MB, 100 columns, 32,000 characters in one cell, and 20 sheets in a workbook. Legacy .xls isn't supported — in Excel, choose File → Save As → Excel Workbook (.xlsx).

Syncing from Jira or Azure DevOps#

When the project's Jira or Azure DevOps connection is set up (see Jira or Azure DevOps), the Requirements page can pull issues in as requirements.

  • Jira: choose the Jira project and the Issue types, and optionally add a JQL filter.
  • Azure DevOps: choose the Work item types, and optionally an area path.

The first sync shows a preview of what it will create and update; click Apply to go ahead. After that, Sync now updates directly. A requirement with the same External ID that was created or imported in Lathe is left untouched and reported as a conflict. A sync that would match more than 500 issues is refused — narrow the filter. Removing the sync keeps the requirements already synced; they just stop updating.