TEST CASES

When a webhook is triggered, Qase sends an HTTP POST request to your configured endpoint with a JSON body. If a webhook secret is configured, the header X-Qase-Secret is included.

Common Envelope

Every webhook delivery wraps the event-specific data in a common envelope:

Field Type Description
event_name string The event identifier (e.g. case.created)
timestamp integer Unix timestamp of when the event occurred
payload object Event-specific data (see below)
team_member_id integer ID of the team member who triggered the event. 0 if triggered by a non-member (e.g. automation token).
project_code string The project code (e.g. "PROJ")

Payload Field Reference

The payload object for case events contains the following fields. All four case events (case.created, case.updated, case.deleted, case.cloned) deliver the full test case representation.

Field Type Description
id integer The test case ID (project-scoped)
title string Title of the test case
description string \| null Description in Markdown
preconditions string \| null Preconditions text
postconditions string \| null Postconditions text
priority object Priority object (see below)
severity object Severity object (see below)
behavior object Behavior object (see below)
type object Type object (see below)
automation object Automation status object (see below)
status object Case status object (see below)
suite_id integer \| null ID of the parent suite, or null if not in a suite
milestone_id integer \| null ID of the associated milestone, or null
steps array Ordered list of step objects (see below)
attachments array List of attachment objects (see below)
custom_fields array List of custom field value objects (see below)

System Field Objects

Prioritypriority

Field Type Possible values (default)
id integer 0 (Not set), 1 (High), 2 (Medium), 3 (Low)
title string "Not set", "High", "Medium", "Low"
icon string "minus", "arrow-up", "genderless", "arrow-down"
color string "medium", "high", "medium", "low"

Severityseverity

Field Type Possible values (default)
id integer 06
title string "Not set", "Blocker", "Critical", "Major", "Normal", "Minor", "Trivial"
icon string Icon identifier
color string Color identifier

Behaviorbehavior

Field Type Possible values (default)
id integer Numeric identifier
title string "Undefined", "Positive", "Negative", "Destructive"

Typetype

Field Type Possible values (default)
id integer Numeric identifier
title string "Other", "Functional", "Smoke", "Regression", "Security", "Usability", "Performance", "Acceptance"

Automationautomation