Sync checks with the tool#
sync keeps a published Nominal checklist with a check for each requirement in the Jama Connect project.
It writes no conditions: you add each one in Nominal.
Create the checklist#
python nominal-checks-from-jama.py sync
created: WA-REQ-101 Brake temperature
created: WA-REQ-102 Pedal force
Created the checklist: 2 created.
https://app.gov.nominal.io/w/<workspace>/checklists/<checklist RID>
The first sync creates and publishes the checklist, named <Jama project name> requirements, and assigns it to you.
Each check has:
the title
<document key> <name>, such asWA-REQ-101 Brake temperaturethe requirement’s text as its description, then a line linking to the requirement in Jama Connect
no condition, so it’s left out of results until you add one
priority P3
The checklist’s properties jama_host, jama_project and jama_items mark it as this project’s requirements checklist. Later syncs find it by them, so renaming it in Nominal is fine.
Each channel a requirement marks becomes a checklist variable, such as WA-REQ-101: brake_temp.
To see what a sync would do without writing anything, add --dry-run.
Add a condition to a check#
Open the checklist’s link.
Click EDIT CHECKLIST.
Select a check, and give it a condition under WHEN.
Click PUBLISH, choose Publish as latest version…, enter a Message, and click PUBLISH.
To have your agent draft the conditions instead, see Switch from the sync to your agent.
Run the checklist on a run#
Open the run’s Checklist executions tab and click EXECUTE CHECKLIST. Checks without a condition are left out of the result. Workbooks: Checklists explains checklists and checks.
Sync again after Jama changes#
Run sync again whenever requirements change in Jama Connect.
Jama Connect is the source of truth for each check’s title and description:
A new requirement gets a check.
A check whose title or description differs from its requirement is rewritten from Jama Connect, keeping its condition and its notes. The sync prints each difference:
updated from Jama: WA-REQ-102 Pedal force title: --- Nominal +++ Jama @@ -1 +1 @@ -WA-REQ-102 Pedal forse +WA-REQ-102 Pedal force
A check whose requirement is gone from Jama Connect is kept and listed. Add
--remove-missingto remove it.A check someone deleted in Nominal is made again.
Checks and variables that don’t come from Jama Connect are left alone.
Differences only in spacing or line breaks don’t count. Text after the line in a check’s description that links to Jama Connect is notes, yours or your agent’s: the sync doesn’t compare it, and keeps it when it rewrites the check.
To choose what a sync rewrites, use --update:
Option |
What a sync rewrites in a check that differs |
|---|---|
|
Its title and description |
|
Its title |
|
Its description |
|
Nothing: it lists the differences, and still adds checks for new requirements |
If someone changes the checklist while a sync runs, the sync stops without writing. Run it again.
Settings#
Set these under [nominal] in jama-checks.toml before the first sync: checklist_name for another name, priority for new checks’ priority, profile for another Nominal profile, and ref_name for the data source that variables read.
Files lists every setting.
Jama Connect® is a registered trademark of Jama Software, Inc.