Commit f45c60e5 authored by Amy Qualls's avatar Amy Qualls

Merge branch 'sarahwaldner-master-patch-03918' into 'master'

Fixed docs- title field in alerts is not required

See merge request gitlab-org/gitlab!51741
parents c52a0383 3b2b85a1
...@@ -79,11 +79,11 @@ to configure alerts for this integration. ...@@ -79,11 +79,11 @@ to configure alerts for this integration.
## Customize the alert payload outside of GitLab ## Customize the alert payload outside of GitLab
For all integration types, you can customize the payload by sending the following For all integration types, you can customize the payload by sending the following
parameters. All fields other than `title` are optional: parameters. All fields are optional. If the incoming alert does not contain a value for the `Title` field, a default value of `New: Incident` will be applied.
| Property | Type | Description | | Property | Type | Description |
| ------------------------- | --------------- | ----------- | | ------------------------- | --------------- | ----------- |
| `title` | String | The title of the incident. Required. | | `title` | String | The title of the incident. |
| `description` | String | A high-level summary of the problem. | | `description` | String | A high-level summary of the problem. |
| `start_time` | DateTime | The time of the incident. If none is provided, a timestamp of the issue is used. | | `start_time` | DateTime | The time of the incident. If none is provided, a timestamp of the issue is used. |
| `end_time` | DateTime | For existing alerts only. When provided, the alert is resolved and the associated incident is closed. | | `end_time` | DateTime | For existing alerts only. When provided, the alert is resolved and the associated incident is closed. |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment