Gherkin Behavior-Driven Development (BDD)
Zephyr allows you to create a Behavior-Driven Development (BDD) test case in Jira and export it to a feature file. This feature file can serve as a reference for writing the necessary unit tests that are necessary for it to run.
BDD test cases are written in Gherkin syntax. Here is a list of supported and not supported keywords:

Supported keywords such as Given
, When
, and Then
are highlighted as you type your test case.
Tip
The Feature
and Scenario
part of the test case is not necessary. This is added once you export your test cases.
Create a BDD Gherkin Script
Open a test case and click the Test Script tab.
Select BDD - Gherkin from the Type dropdown. The Gherkin editor appears.
Write your test case. Remember not to include Feature or Scenario.
Click outside the edit field to automatically save your changes.
Export Feature File
Navigate to the test case library and select your BDD test case.
Select Export feature files (BDD - Gherkin) from More.
The zip file downloads to your computer. Developers using your company’s supported BDD tool can reference this information when writing automated tests related to the test case.