Start a New Test Execution from Jira Story View

Start a New Test Execution from Jira Story View

Users can start a new test execution from the Test Case/Acceptance Criteria panel on the Jira Story page. The option helps users reduce the time and effort required to initiate test executions. This option provides a seamless and efficient workflow, empowering users to swiftly execute test cases when needed.

Use Case: Testers want the ability to create a new test execution run directly from the "Test Case/Acceptance Criteria" panel on the Jira Story page so that they can efficiently begin executing a test case without following the lengthy process that involves navigating to the test cycles and creating a new execution.

You can create new executions for a single test case as well as for bulk test cases at a time. You can also set the execution system as well as custom fields.

Create a New Execution for a Test Case

Steps

1. Open the Jira Story page.

2. Hover over the test case for which you want to create a new test execution.

3. Click on the Execute icon.

The Create a New Execution - Existing/Ad hoc Cycle screen opens.

  • Existing Test Cycle: You can select a test cycle from the existing test cycles for which you want to create a new execution.

Select the test cycle from the list of existing test cycles. You can also search a particular test cycle by its Key or Summary.

 

 

  • Ad hoc Test Cycle: It will create a new Ad hoc test cycle for the execution.

Once you select the Ad hoc Test Cycle option, a test cycle is created based on the story name. The syntax of the Ad hoc test cycle name will be -

Ad hoc Cycle - <Story Key> <Story Summary>

The count beside the name shows the number of test cases selected for execution.

You can edit the test cycle name as per your requirements.

  • Select Folder: By default, the ad-hoc test cycle will be created under the ad-hoc folder. If you want to create the ad-hoc test cycle in a different folder, select the existing folder to create the test cycle.

A new test cycle is created under the Ad hoc folder in the Test Cycle module.

  • Link Ad-Hoc Test Cycle to Story: Select the checkbox to link the ad-hoc test cycle to the current story.

Notes:

  • A New Test Cycle will be created under the Ad hoc folder if you don't select a folder.

  • Test case(s) with archived status will be skipped.

image-20231228-130906.png

The selected test case is linked to the newly created test cycle.

image-20231229-072522.png

A new test cycle is created under the selected existing folder or Ad hoc folder in the Test Cycle module as per your selection.

image-20231229-073127.png

When you go to execute the test case, it opens the execution page of the Ad hoc test cycle.

image-20231229-082507.png

→ If you have selected the Link Ad-Hoc Test Cycle to Story checkbox, the ad-hoc test cycle is linked to the story.

image-20231229-104631.png

 

After mentioning the test cycle, select Environment, Build, and Assignee from the list.

Click on the Create/Create & Execute button.

  • Create: Click on the Create button to add the new execution under the Executions tab for the selected test case.

  • Create & Execute: Click on the Create & Execute button if you want to navigate to the execution screen to execute the test execution immediately after creating it.

→ If you click the Create button

The new execution is added to all the selected test cases.

image-20231229-090126.png

You can assign execution results to the test run by selecting the status from the drop-down.

image-20231229-090518.png

 

The execution status is assigned to the test run.

image-20231229-090709.png

→ If you click on the Create & Execute button while creating the new execution

You will be navigated to the execution screen of the test case to carry out the execution.

On the execution screen, you can see the test cases associated with the test cycle.

Execute the test case and assign the Execution Result for the execution.

 

In the Jira Story detail page, open the Execution tab for the test case.

You can view the updated Execution Result in the Execution tab.

image-20231229-101408.png

Execution in the Same Test Cycle

You can carry out further execution in the same test cycle with different builds, environments, and assignees.

Click on the Execute icon for the created test execution.

image-20240410-085613.png

A new execution in the same test cycle will be created with the selected values for builds, environments, and assignees.

image-20240103-060127.png

Create New Executions for Bulk Test Cases

You can create new executions for multiple test cases at a time.

Select the test cases and click on the New Execution option. This option will be visible on the screen only after the selection of at least one test case.

  • Create: Click on the Create button to add the new execution under the Executions tab for the selected test cases.

  • Create & Execute: Click on the Create & Execute button if you want to navigate to the execution screen to execute the test executions immediately after creating them.

 

Existing Test Cycle:

image-20231229-103315.png

Adhoc Test Cycle:

In the case of the Ad hoc Test Cycle, the count of selected test cases is displayed along with the test cycle name.

image-20231229-103740.png

The new execution is added to all the selected test cases.

image-20231229-103900.png

If you have clicked on the Create & Execute button while creating the new execution, you will be navigated to the execution screen with the selected test cases for the new execution.

image-20231229-104148.png

Set Execution Fields

You can add values to the Test Execution system and custom fields from the story detail page.

Note: You will not be able to update the Execution Result of the test cycle if the mandatory system or custom fields are left blank while execution. An error message is displayed asking you to fill in all the mandatory fields.

To fill the execution fields, follow the steps mentioned below.

Steps

1. Click on the Execution Fields icon . The icon appears Blue when the mandatory execution fields are left blank.

image-20240103-063501.png

The Set Execution Fields dialog opens.

The Test Execution Custom Fields are displayed as per the current project of the test cycle in which the test case is linked.

2. Enter the values in the system/custom fields.

3. Click Close to save the changes.

image-20250418-132754.png

In the Executions tab, the Execution Fields icon changes to Green color   once the mandatory fields are filled.