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

tylernathanreed / jira-client-php / 13857440588

14 Mar 2025 01:18PM UTC coverage: 70.825% (-0.06%) from 70.885%
13857440588

push

github

tylernathanreed
~ Fixed nested objects in test examples

9 of 9 new or added lines in 1 file covered. (100.0%)

524 existing lines in 407 files now uncovered.

4826 of 6814 relevant lines covered (70.82%)

8.59 hits per line

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

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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** The details of a workflow transition rules. */
8
final readonly class CreateWorkflowTransitionRulesDetails extends Dto
9
{
UNCOV
10
    public function __construct(
×
11
        /** The workflow conditions. */
12
        public ?CreateWorkflowCondition $conditions = null,
13

14
        /**
15
         * The workflow post functions
16
         * 
17
         * **Note:** The default post functions are always added to the *initial* transition, as in:
18
         * 
19
         *     "postFunctions": [
20
         *         {
21
         *             "type": "IssueCreateFunction"
22
         *         },
23
         *         {
24
         *             "type": "IssueReindexFunction"
25
         *         },
26
         *         {
27
         *             "type": "FireIssueEventFunction",
28
         *             "configuration": {
29
         *                 "event": {
30
         *                     "id": "1",
31
         *                     "name": "issue_created"
32
         *                 }
33
         *             }
34
         *         }
35
         *     ]
36
         * 
37
         * **Note:** The default post functions are always added to the *global* and *directed* transitions, as in:
38
         * 
39
         *     "postFunctions": [
40
         *         {
41
         *             "type": "UpdateIssueStatusFunction"
42
         *         },
43
         *         {
44
         *             "type": "CreateCommentFunction"
45
         *         },
46
         *         {
47
         *             "type": "GenerateChangeHistoryFunction"
48
         *         },
49
         *         {
50
         *             "type": "IssueReindexFunction"
51
         *         },
52
         *         {
53
         *             "type": "FireIssueEventFunction",
54
         *             "configuration": {
55
         *                 "event": {
56
         *                     "id": "13",
57
         *                     "name": "issue_generic"
58
         *                 }
59
         *             }
60
         *         }
61
         *     ]
62
         * 
63
         * @var ?list<CreateWorkflowTransitionRule>
64
         */
65
        public ?array $postFunctions = null,
66

67
        /**
68
         * The workflow validators
69
         * 
70
         * **Note:** The default permission validator is always added to the *initial* transition, as in:
71
         * 
72
         *     "validators": [
73
         *         {
74
         *             "type": "PermissionValidator",
75
         *             "configuration": {
76
         *                 "permissionKey": "CREATE_ISSUES"
77
         *             }
78
         *         }
79
         *     ]
80
         * 
81
         * @var ?list<CreateWorkflowTransitionRule>
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