• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

tylernathanreed / jira-client-php / 13634794100

03 Mar 2025 03:19PM UTC coverage: 2.067% (-0.1%) from 2.21%
13634794100

push

github

web-flow
~ Try coveralls action

140 of 6773 relevant lines covered (2.07%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Schema/Webhook.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** A webhook. */
8
final readonly class Webhook extends Dto
9
{
10
    public function __construct(
×
11
        /**
12
         * The Jira events that trigger the webhook.
13
         * 
14
         * @var list<string>
15
         */
16
        public array $events,
17

18
        /** The ID of the webhook. */
19
        public int $id,
20

21
        /** The JQL filter that specifies which issues the webhook is sent for. */
22
        public string $jqlFilter,
23

24
        /**
25
         * The date after which the webhook is no longer sent.
26
         * Use "Extend webhook life" to extend the date.
27
         * 
28
         * @link https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-webhooks/#api-rest-api-3-webhook-refresh-put
29
         */
30
        public ?int $expirationDate = null,
31

32
        /**
33
         * A list of field IDs.
34
         * When the issue changelog contains any of the fields, the webhook `jira:issue_updated` is sent.
35
         * If this parameter is not present, the app is notified about all field updates.
36
         * 
37
         * @var ?list<string>
38
         */
39
        public ?array $fieldIdsFilter = null,
40

41
        /**
42
         * A list of issue property keys.
43
         * A change of those issue properties triggers the `issue_property_set` or `issue_property_deleted` webhooks.
44
         * If this parameter is not present, the app is notified about all issue property updates.
45
         * 
46
         * @var ?list<string>
47
         */
48
        public ?array $issuePropertyKeysFilter = null,
49
    ) {
50
    }
×
51
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc