Class Webhook.WebhookBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.model.Webhook.WebhookBuilder
- Enclosing class:
- Webhook
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
events
(List<Webhook.EventsEnum> events) The Jira events that trigger the webhook.expirationDate
(Long expirationDate) The date after which the webhook is no longer sent.fieldIdsFilter
(List<String> fieldIdsFilter) A list of field IDs.The ID of the webhook.issuePropertyKeysFilter
(List<String> issuePropertyKeysFilter) A list of issue property keys.The JQL filter that specifies which issues the webhook is sent for.toString()
-
Method Details
-
events
The Jira events that trigger the webhook.- Returns:
this
.
-
expirationDate
The date after which the webhook is no longer sent. Use [Extend webhook life](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put) to extend the date.- Returns:
this
.
-
fieldIdsFilter
A list of field IDs. When the issue changelog contains any of the fields, the webhookjira:issue_updated
is sent. If this parameter is not present, the app is notified about all field updates.- Returns:
this
.
-
id
The ID of the webhook.- Returns:
this
.
-
issuePropertyKeysFilter
A list of issue property keys. A change of those issue properties triggers theissue_property_set
orissue_property_deleted
webhooks. If this parameter is not present, the app is notified about all issue property updates.- Returns:
this
.
-
jqlFilter
The JQL filter that specifies which issues the webhook is sent for.- Returns:
this
.
-
build
-
toString
-