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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** Details about a project version. */
8
final readonly class Version extends Dto
9
{
10
    public function __construct(
×
11
        /**
12
         * If the expand option `approvers` is used, returns a list containing the approvers for this version.
13
         * 
14
         * @var ?list<VersionApprover>
15
         */
16
        public ?array $approvers = null,
17

18
        /**
19
         * Indicates that the version is archived.
20
         * Optional when creating or updating a version.
21
         */
22
        public ?bool $archived = null,
23

24
        /**
25
         * The description of the version.
26
         * Optional when creating or updating a version.
27
         * The maximum size is 16,384 bytes.
28
         */
29
        public ?string $description = null,
30

31
        /** If the expand option `driver` is used, returns the Atlassian account ID of the driver. */
32
        public ?string $driver = null,
33

34
        /**
35
         * Use "expand" to include additional information about version in the response.
36
         * This parameter accepts a comma-separated list.
37
         * Expand options include:
38
         * 
39
         *  - `operations` Returns the list of operations available for this version
40
         *  - `issuesstatus` Returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*.
41
         * The *unmapped* property contains a count of issues with a status other than *to do*, *in progress*, and *done*
42
         *  - `driver` Returns the Atlassian account ID of the version driver
43
         *  - `approvers` Returns a list containing approvers for this version
44
         * 
45
         * Optional for create and update.
46
         * 
47
         * @link em>#expansion
48
         */
49
        public ?string $expand = null,
50

51
        /** The ID of the version. */
52
        public ?string $id = null,
53

54
        /**
55
         * If the expand option `issuesstatus` is used, returns the count of issues in this version for each of the status categories *to do*, *in progress*, *done*, and *unmapped*.
56
         * The *unmapped* property contains a count of issues with a status other than *to do*, *in progress*, and *done*.
57
         */
58
        public ?VersionIssuesStatus $issuesStatusForFixVersion = null,
59

60
        /**
61
         * The URL of the self link to the version to which all unfixed issues are moved when a version is released.
62
         * Not applicable when creating a version.
63
         * Optional when updating a version.
64
         */
65
        public ?string $moveUnfixedIssuesTo = null,
66

67
        /**
68
         * The unique name of the version.
69
         * Required when creating a version.
70
         * Optional when updating a version.
71
         * The maximum length is 255 characters.
72
         */
73
        public ?string $name = null,
74

75
        /**
76
         * If the expand option `operations` is used, returns the list of operations available for this version.
77
         * 
78
         * @var ?list<SimpleLink>
79
         */
80
        public ?array $operations = null,
81

82
        /** Indicates that the version is overdue. */
83
        public ?bool $overdue = null,
84

85
        /**
86
         * Deprecated.
87
         * Use `projectId`.
88
         */
89
        public ?string $project = null,
90

91
        /**
92
         * The ID of the project to which this version is attached.
93
         * Required when creating a version.
94
         * Not applicable when updating a version.
95
         */
96
        public ?int $projectId = null,
97

98
        /**
99
         * The release date of the version.
100
         * Expressed in ISO 8601 format (yyyy-mm-dd).
101
         * Optional when creating or updating a version.
102
         */
103
        public ?string $releaseDate = null,
104

105
        /**
106
         * Indicates that the version is released.
107
         * If the version is released a request to release again is ignored.
108
         * Not applicable when creating a version.
109
         * Optional when updating a version.
110
         */
111
        public ?bool $released = null,
112

113
        /** The URL of the version. */
114
        public ?string $self = null,
115

116
        /**
117
         * The start date of the version.
118
         * Expressed in ISO 8601 format (yyyy-mm-dd).
119
         * Optional when creating or updating a version.
120
         */
121
        public ?string $startDate = null,
122

123
        /** The date on which work on this version is expected to finish, expressed in the instance's *Day/Month/Year Format* date format. */
124
        public ?string $userReleaseDate = null,
125

126
        /** The date on which work on this version is expected to start, expressed in the instance's *Day/Month/Year Format* date format. */
127
        public ?string $userStartDate = null,
128
    ) {
129
    }
×
130
}
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