Generate scenarios from a user story
AssertThat’s AI scenario generation creates BDD test scenarios directly from your Jira user story. The AI reads the issue’s summary, description and Acceptance Criteria field (when your site has one) and produces a set of structured Gherkin scenarios for you to review before anything is saved to your project.
💡 Human in the loop — no scenarios are saved automatically. Every generated scenario must be explicitly accepted before it is added to your project. You can also edit or regenerate steps before accepting.
Prerequisites
Section titled “Prerequisites”Before using AI scenario generation, ensure that:
-
AI has been turned on for the site — see Set up AI
-
AI scenario generation has been enabled for your project — see Enabling AI on a Project
Step 1: Click Generate Scenarios
Section titled “Step 1: Click Generate Scenarios”Open the Jira work item. In the AssertThat BDD panel, select ✦ Generate scenarios. On a work item without scenarios it’s in the middle of the empty panel; otherwise it’s next to Add.

Step 2: Enter a Feature Name and Optional Context
Section titled “Step 2: Enter a Feature Name and Optional Context”Two fields will display below the scenario list:
-
Feature Name (required) — enter a new feature name or select an existing one from the dropdown. The generated scenarios will be grouped under this feature.
-
Additional Context (optional) — use this field to guide the AI, for example by specifying “create positive scenarios only” or focusing on a particular aspect of the story.
Once ready, click ✦ Generate.

Step 3: Wait for Generation to Complete
Section titled “Step 3: Wait for Generation to Complete”To stop a generation that’s running, select Cancel.
AssertThat uses an advanced agentic workflow to produce your scenarios. Rather than generating output in a single pass, the AI runs a multi-stage Author → Critic → Rewriter process — drafting scenarios, evaluating them for quality and consistency, and refining them before presenting them for your review. This takes a few moments but ensures the generated test cases are well-structured and ready to use.
Step 4: Review the Generated Scenarios
Section titled “Step 4: Review the Generated Scenarios”Once generation is complete, the suggestions appear in the panel under the feature you chose, marked with ✦. A banner counts them, for example AI suggestions to review: 3. Accept the ones you want to keep. Each suggestion shows its Gherkin steps and has Accept and Discard; Discard all in the banner removes every suggestion.
A suggestion that looks like a scenario already in the project is marked Possible duplicate, with the name of the similar scenario.

Review each scenario carefully before taking action. You have three options:
Option A: Accept or Discard
Section titled “Option A: Accept or Discard”If you are happy with a scenario as generated, click Accept to save it to your project. If the scenario is not relevant or not needed, click Discard to remove it without saving.

Option B: Manually Edit the Steps
Section titled “Option B: Manually Edit the Steps”If a scenario is mostly right but needs adjustments, you can edit the steps directly inline before accepting. Click into the step text to make your changes, then click Accept to save the edited version.

Option C: Regenerate Steps Using AI
Section titled “Option C: Regenerate Steps Using AI”If you want the AI to rewrite the steps for a specific scenario, use the AI step regeneration option within the scenario. You can provide additional context to guide the rewrite — for example, making the steps more prescriptive or focusing on a specific condition — then click the submit button to regenerate. Review the updated steps and click Accept when satisfied.

You can also accept or reject individual steps within a scenario using the per-step Accept and Reject buttons.

⚠️ Scenarios that are discarded are not saved to your project. If you discard a scenario and change your mind, you can re-run generation from the Generate scenarios button.