Skip to content

Linking user stories and scenarios

BDD scenarios can be linked to any Jira work item: stories, epics, tasks, bugs or AssertThat Test Plans. You can link them in three places:

  • the AssertThat BDD panel on the work item (this page);
  • the Features pages, with a scenario’s Relates to field;
  • the Scenario Manager, for many scenarios at once.

Linking is also done by tags: a scenario tagged with a work item’s key, such as @WEB-8, is linked to it when features are imported, uploaded through the API or synced from Git.

Step 1: On the work item, in the AssertThat BDD panel, select Add > Link existing scenario.

The Add menu: Add new scenario and Link existing scenario

Step 2: Find the scenarios:

  • Search feature by name: type at least 3 characters and choose the feature.
  • Filter by tag expression (optional), for example @regression and not @wip.
  • Untick manual or automated to show only scenarios in the other mode.
  • Search scenario by name: type at least 3 characters.

Step 3: Select the scenarios to link and select Save.

Link existing scenario with the Refunds feature selected and its scenarios listed

The scenarios appear in the panel under their feature, and the work item’s test summary updates.

To remove a link, see Unlink scenarios.