/
Properties & Dependencies

Properties & Dependencies

ℹ️ Related information: Search Syntax

 

If you want to learn how to get the perfect popup with properties, links and dependencies in less than 4 minutes, check out this tutorial:

 

 

Use properties to search for requirements

All columns of a table are saved as properties and you can search by this criteria. Let's take this example in the editor:

The requirement will look like this:

  • Each column is both included in the title and in the properties,

  • In the current situation, we've defined that the first column was the description.

 

Requirement Yogi helps you build the query for each property if the name is short (<80 letters) and without space. For example the property "Category" becomes hyperlinked in the popup, which leads to the search screen with the preset query: @Property = 'CRITICAL'.

Build clean descriptions for your requirements: The "RY Property" macro

To achieve the configuration of the last section, we've added a small macro in the headers of the table. You can see it on the first screenshot, the name is "RY Properties". Here are the options:

  • Anywhere on a requirement, you can define a property and its value.

  • If it's in a column header, it applies to the whole column.

    • You can "rename" the column for the purpose of the properties. Searchable columns can't contain a space.

    • You can "ignore" the column, if the contents are irrelevant for the requirement.

    • You can set which column contains the correct description of the requirement by ticking "Title".

Create reports for those requirements

Create dependencies between requirements

If you want to create links to reference requirements between one and another, you will use what we call dependencies.

To create a requirement link, use the same shortcut as to create a new requirement, but this time, search for an existing requirement.

  • See the link as an arrow in front of the key

In edit mode, click on a link macro to configure it:

  • Select a property and it will be displayed in view mode, dynamically and getting updated when modifications are made.

  • Click on ‘Version’ to set a specific version of this link. For example if you want to link to BR-04 in Baseline 1.

  • When you write your requirements in tables, whether in Horizontal, or Vertical, you will simply have to add the link to your requirement line.

  • When you write your requirements in paragraphs, write your requirement definition and put a requirement link in the same paragraph for us to index it as a dependency.

How to set relationships and directions?

When using tables, the name of the relationship is the one you put in the column header. For paragraph, the relationship will be automatically be set to ‘Dependency’.

For the direction and hierarchy, the requirement link present in the requirement’s definition will always be the PARENT, or TO. You can use the relationships and directions in the search syntax, and the traceability matrix.

  • In the example above, FN-01 references BR-01 and BR-04, it means BR-01 and BR-04 are parents of FN-01.

  • To find dependencies in the search, we have a specific syntax. Read more details in the docs.

Syntax

Will result with

Syntax

Will result with

TO = 'REQ-001'

Requirements which reference REQ-001.

PARENT = ‘REQ-001’

FROM = 'REQ-001'

Requirements which are referenced by REQ-001.

CHILD = 'REQ-001'

FROM ~ 'REQ-%'

Requirements which are referenced by any requirement starting with "REQ-".

CHILD ~ 'REQ-%'

TO@refines = 'REQ-001'

Requirements which reference REQ-001 with the relationship “refines".

PARENT@refines = 'REQ-001'

  • To display dependencies in the Traceability matrix, click on the cog menu of your column, and choose Dependencies. You can display each relationship by direction in a separate column. You can also display multiple levels of requirements.

How to find links pointing to deleted requirements?

By going in the Space Tools > Requirement Yogi > Broken Links, you will be able to find the list of requirements linked to deleted requirements.

Related content

Requirement dependencies
Requirement dependencies
More like this
Dependencies, Dependency Matrix and Coverage
Dependencies, Dependency Matrix and Coverage
More like this
Write requirements in paragraphs
Write requirements in paragraphs
More like this
Write requirements in tables
Write requirements in tables
More like this
Requirements in Vertical tables
Requirements in Vertical tables
More like this
Transform text into requirement keys
Transform text into requirement keys
More like this