Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Since Xray v3.1, you can receive email notifications related with Test Runs.

Emails are sent depending on the configuration of Jira notifications, defined in a Notification Scheme, for some specific JIRA events provided by Xray.

Since the Test Run is not an issue type, events are triggered for the related Test Execution; this means that the notification destination fields are mostly related with the Test Execution. However, in some events there can be some difference on the semantics of the fields (e.g. "current assignee" may be the assignee of the Test Run instead of the Test Execution issue).

Usually, notifications are configured to be delivered to the "current assignee" (e.g. the Test Run assignee or the Test Execution assignee, depending on the context). Nevertheless, it's possible to configure other stakeholders, such as the watchers, to be notified on the changes related with Test Runs. 


Table of Contents

How it works

...

There are two global settings related with Test Run notifications:

  • XXX: for defining who can use the "Add/Disable Test Run notifications" option in the project settings, since it can affect the related Notification Scheme
  • YYY: for defining the final statuses for which the "Test Run Status set to Final" and "Precedent Test Run Status set to Final"

...

  1. go to project settings => Notifications
  2. from the Actions menu, choose "Edit notifications". Note that this will impact the Notification Scheme being used by this project and all other projects that also use it.
  3. in each Test Run related event, click on "Add" in order to add a notification to the related Notification Scheme
  4. in the notification configuration page, besides the Event that will be pre-selected, define who shall receive the email notifications related with that event

     

Quick setup

Enable notifications

There is a quick setup, that will create a notification for each Test Run related event and will configure it for the "current assignee".



Info
titlePlease note

This option will only be available if:

  • the user belongs to a group allowed to Enable/Disable notifications, accordingly with Xray settings
  • one of the Test Run related events has no notifications defined


To quickly enable Test Run notifications,  for 

  1. go to project settings => Summary
  2. from the Actions menu, choose "Enable Test Run notifications". Note that this will impact the Notification Scheme being used by this project and all other projects that also use it.
  3. For each Test Run related event, a notification will be created and assigned to the "current assignee"; please have a look at the Events section below, for clarification on the meaning.

Disable notifications

There is a quick way to "disable" (i.e. remove) notifications for each Test Run related event.


Info
titlePlease note

This option will only be available if:

  • the user belongs to a group allowed to Enable/Disable notifications, accordingly with Xray settings
  • one of the Test Run related events has notifications defined


To quickly disable Test Run notifications, 

  1. go to project settings => Summary
  2. from the Actions menu, choose "Disable Test Run notifications". Note that this will impact the Notification Scheme being used by this project and all other projects that also use it.


IMAGE


Events

Test Run Assigned

The aim of this event is to notify a user (or users) that a Test Run has been assigned, so the tester can proceed with testing.

...