• 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/ComponentWithIssueCount.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** Details about a component with a count of the issues it contains. */
8
final readonly class ComponentWithIssueCount extends Dto
9
{
10
    public function __construct(
×
11
        /**
12
         * The details of the user associated with `assigneeType`, if any.
13
         * See `realAssignee` for details of the user assigned to issues created with this component.
14
         */
15
        public ?User $assignee = null,
16

17
        /**
18
         * The nominal user type used to determine the assignee for issues created with this component.
19
         * See `realAssigneeType` for details on how the type of the user, and hence the user, assigned to issues is determined.
20
         * Takes the following values:
21
         * 
22
         *  - `PROJECT_LEAD` the assignee to any issues created with this component is nominally the lead for the project the component is in
23
         *  - `COMPONENT_LEAD` the assignee to any issues created with this component is nominally the lead for the component
24
         *  - `UNASSIGNED` an assignee is not set for issues created with this component
25
         *  - `PROJECT_DEFAULT` the assignee to any issues created with this component is nominally the default assignee for the project that the component is in.
26
         * 
27
         * @var 'PROJECT_DEFAULT'|'COMPONENT_LEAD'|'PROJECT_LEAD'|'UNASSIGNED'|null
28
         */
29
        public ?string $assigneeType = null,
30

31
        /** The description for the component. */
32
        public ?string $description = null,
33

34
        /** The unique identifier for the component. */
35
        public ?string $id = null,
36

37
        /**
38
         * Whether a user is associated with `assigneeType`.
39
         * For example, if the `assigneeType` is set to `COMPONENT_LEAD` but the component lead is not set, then `false` is returned.
40
         */
41
        public ?bool $isAssigneeTypeValid = null,
42

43
        /** Count of issues for the component. */
44
        public ?int $issueCount = null,
45

46
        /** The user details for the component's lead user. */
47
        public ?User $lead = null,
48

49
        /** The name for the component. */
50
        public ?string $name = null,
51

52
        /** The key of the project to which the component is assigned. */
53
        public ?string $project = null,
54

55
        /** Not used. */
56
        public ?int $projectId = null,
57

58
        /** The user assigned to issues created with this component, when `assigneeType` does not identify a valid assignee. */
59
        public ?User $realAssignee = null,
60

61
        /**
62
         * The type of the assignee that is assigned to issues created with this component, when an assignee cannot be set from the `assigneeType`.
63
         * For example, `assigneeType` is set to `COMPONENT_LEAD` but no component lead is set.
64
         * This property is set to one of the following values:
65
         * 
66
         *  - `PROJECT_LEAD` when `assigneeType` is `PROJECT_LEAD` and the project lead has permission to be assigned issues in the project that the component is in
67
         *  - `COMPONENT_LEAD` when `assignee`Type is `COMPONENT_LEAD` and the component lead has permission to be assigned issues in the project that the component is in
68
         *  - `UNASSIGNED` when `assigneeType` is `UNASSIGNED` and Jira is configured to allow unassigned issues
69
         *  - `PROJECT_DEFAULT` when none of the preceding cases are true.
70
         * 
71
         * @var 'PROJECT_DEFAULT'|'COMPONENT_LEAD'|'PROJECT_LEAD'|'UNASSIGNED'|null
72
         */
73
        public ?string $realAssigneeType = null,
74

75
        /** The URL for this count of the issues contained in the component. */
76
        public ?string $self = null,
77
    ) {
78
    }
×
79
}
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