The enableFilterAlert() GraphQL mutation may be used to enable an existing filter alert.

For more information on filter alerts, see the Filter Alerts documentation page.

Syntax

Below is the syntax for the enableFilterAlert() mutation field:

graphql
enableFilterAlert(
      input: EnableFilterAlert!
   ): boolean!

Given Datatypes

For the input EnableFilterAlert, there are several parameters that may be given. Below is a list of them along with their datatypes and a description of each:

Table: EnableFilterAlert

ParameterTypeRequired[a]DefaultDescription
viewNameRepoOrViewNameyes Name of the view of the filter alert.
idstringyes The unique identifier of the filter alert to enable.

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.