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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/**
8
 * The transitions of the workflow.
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 WorkflowTransitions extends Dto
12
{
13
    public function __construct(
×
14
        /**
15
         * The post-functions of the transition.
16
         * 
17
         * @var ?list<WorkflowRuleConfiguration>
18
         */
19
        public ?array $actions = null,
20

21
        public ?ConditionGroupConfiguration $conditions = null,
22

23
        /** The custom event ID of the transition. */
24
        public ?string $customIssueEventId = null,
25

26
        /** The description of the transition. */
27
        public ?string $description = null,
28

29
        /**
30
         * The statuses and ports that the transition can start from.
31
         * This field is deprecated - use `toStatusReference`/`links` instead.
32
         * 
33
         * @var ?list<WorkflowStatusAndPort>
34
         */
35
        public ?array $from = null,
36

37
        /** The ID of the transition. */
38
        public ?string $id = null,
39

40
        /**
41
         * The statuses the transition can start from, and the mapping of ports between the statuses.
42
         * 
43
         * @var ?list<WorkflowTransitionLinks>
44
         */
45
        public ?array $links = null,
46

47
        /** The name of the transition. */
48
        public ?string $name = null,
49

50
        /**
51
         * The properties of the transition.
52
         * 
53
         * @var array<string,string>
54
         */
55
        public ?array $properties = null,
56

57
        public ?WorkflowStatusAndPort $to = null,
58

59
        /** The status the transition goes to. */
60
        public ?string $toStatusReference = null,
61

62
        public ?WorkflowRuleConfiguration $transitionScreen = null,
63

64
        /**
65
         * The triggers of the transition.
66
         * 
67
         * @var ?list<WorkflowTrigger>
68
         */
69
        public ?array $triggers = null,
70

71
        /**
72
         * The transition type.
73
         * 
74
         * @var 'INITIAL'|'GLOBAL'|'DIRECTED'|null
75
         */
76
        public ?string $type = 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