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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** The update workflow scheme payload. */
8
final readonly class WorkflowSchemeUpdateRequest extends Dto
9
{
10
    public function __construct(
×
11
        /** The new description for this workflow scheme. */
12
        public string $description,
13

14
        /** The ID of this workflow scheme. */
15
        public string $id,
16

17
        /** The new name for this workflow scheme. */
18
        public string $name,
19

20
        public DocumentVersion $version,
21

22
        /**
23
         * The ID of the workflow for issue types without having a mapping defined in this workflow scheme.
24
         * Only used in global-scoped workflow schemes.
25
         * If the `defaultWorkflowId` isn't specified, this is set to *Jira Workflow (jira)*.
26
         */
27
        public ?string $defaultWorkflowId = null,
28

29
        /**
30
         * Overrides, for the selected issue types, any status mappings provided in `statusMappingsByWorkflows`.
31
         * Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has.
32
         * Status mappings can be provided by a combination of `statusMappingsByWorkflows` and `statusMappingsByIssueTypeOverride`.
33
         * 
34
         * @var ?list<MappingsByIssueTypeOverride>
35
         */
36
        public ?array $statusMappingsByIssueTypeOverride = null,
37

38
        /**
39
         * The status mappings by workflows.
40
         * Status mappings are required when the new workflow for an issue type doesn't contain all statuses that the old workflow has.
41
         * Status mappings can be provided by a combination of `statusMappingsByWorkflows` and `statusMappingsByIssueTypeOverride`.
42
         * 
43
         * @var ?list<MappingsByWorkflow>
44
         */
45
        public ?array $statusMappingsByWorkflows = null,
46

47
        /**
48
         * Mappings from workflows to issue types.
49
         * 
50
         * @var ?list<WorkflowSchemeAssociation>
51
         */
52
        public ?array $workflowsForIssueTypes = null,
53
    ) {
54
    }
×
55
}
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