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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/**
8
 * The transition update data.
9
 * Note that a transition can have either the deprecated `to`/`from` fields or the `toStatusReference`/`links` fields, but never both nor a combination.
10
 */
11
final readonly class TransitionUpdateDTO extends Dto
12
{
13
    public function __construct(
×
14
        /** The ID of the transition. */
15
        public string $id,
16

17
        /** The name of the transition. */
18
        public string $name,
19

20
        /**
21
         * The transition type.
22
         * 
23
         * @var 'INITIAL'|'GLOBAL'|'DIRECTED'
24
         */
25
        public string $type,
26

27
        /**
28
         * The post-functions of the transition.
29
         * 
30
         * @var ?list<WorkflowRuleConfiguration>
31
         */
32
        public ?array $actions = null,
33

34
        public ?ConditionGroupUpdate $conditions = null,
35

36
        /** The custom event ID of the transition. */
37
        public ?string $customIssueEventId = null,
38

39
        /** The description of the transition. */
40
        public ?string $description = null,
41

42
        /**
43
         * The statuses and ports that the transition can start from.
44
         * This field is deprecated - use `toStatusReference`/`links` instead.
45
         * 
46
         * @var ?list<StatusReferenceAndPort>
47
         */
48
        public ?array $from = null,
49

50
        /**
51
         * The statuses the transition can start from, and the mapping of ports between the statuses.
52
         * 
53
         * @var ?list<WorkflowTransitionLinks>
54
         */
55
        public ?array $links = null,
56

57
        /**
58
         * The properties of the transition.
59
         * 
60
         * @var array<string,string>
61
         */
62
        public ?array $properties = null,
63

64
        public ?StatusReferenceAndPort $to = null,
65

66
        /** The status the transition goes to. */
67
        public ?string $toStatusReference = null,
68

69
        public ?WorkflowRuleConfiguration $transitionScreen = null,
70

71
        /**
72
         * The triggers of the transition.
73
         * 
74
         * @var ?list<WorkflowTrigger>
75
         */
76
        public ?array $triggers = null,
77

78
        /**
79
         * The validators of the transition.
80
         * 
81
         * @var ?list<WorkflowRuleConfiguration>
82
         */
83
        public ?array $validators = null,
84
    ) {
85
    }
×
86
}
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