Payload example:
{
"event_name": "defect.created",
"timestamp": 1650532563,
"payload": {
"id": 1,
"title": "Example defect",
"severity": "normal",
"actual_result": "Something",
"attachments": []
},
"team_member_id": 40,
"project_code": "ID"
}
{% hint style="info" %} This event is being sent when a new defect is created {% endhint %}
defect.created
Parameter | Type | Description |
---|---|---|
id | integer | Defect ID |
title | string | Defect title |
severity | string | Level of severity |
actual_result | string | A text description of defect |
attachments | array | An array of attachments ids. |
Payload example:
{
"event_name": "defect.updated",
"timestamp": 1650532605,
"payload": {
"id": 1
},
"team_member_id": 40,
"project_code": "ID"
}
{% hint style="info" %} This event is being sent when a defect is updated. {% endhint %}
defect.updated
Parameter | Type | Description |
---|---|---|
id | integer | Defect ID |
Payload example:
{
"event_name": "defect.deleted",
"timestamp": 1650533058,
"payload": {
"id": 1
},
"team_member_id": 40,
"project_code": "ID"
}
{% hint style="info" %} This event is being sent when a defect is deleted. {% endhint %}
defect.deleted
Parameter | Type | Description |
---|---|---|
id | integer | Defect ID |
Payload example:
{
"event_name": "defect.resolved",
"timestamp": 1650533030,
"payload": {
"id": 1
},
"team_member_id": 40,
"project_code": "ID"
}
{% hint style="info" %} This event is being sent when a defect is resolved {% endhint %}
defect.resolved
Parameter | Type | Description |
---|---|---|
id | integer | Defect ID |