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

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** Details of a priority scheme. */
8
final readonly class UpdatePrioritySchemeRequestBean extends Dto
9
{
10
    public function __construct(
×
11
        /** The default priority of the scheme. */
12
        public ?int $defaultPriorityId = null,
13

14
        /** The description of the priority scheme. */
15
        public ?string $description = null,
16

17
        /**
18
         * Instructions to migrate the priorities of issues
19
         * 
20
         * `in` mappings are used to migrate the priorities of issues to priorities used within the priority scheme
21
         * 
22
         * `out` mappings are used to migrate the priorities of issues to priorities not used within the priority scheme
23
         * 
24
         *  - When **priorities** are **added** to the priority scheme, no mapping needs to be provided as the new priorities are not used by any issues
25
         *  - When **priorities** are **removed** from the priority scheme, issues that are using those priorities must be migrated to new priorities used by the priority scheme
26
         *     
27
         *      - An `in` mapping must be provided for each of these priorities
28
         *  - When **projects** are **added** to the priority scheme, the priorities of issues in those projects might need to be migrated to new priorities used by the priority scheme.
29
         * This can occur when the current scheme does not use all the priorities in the project(s)' priority scheme(s)
30
         *     
31
         *      - An `in` mapping must be provided for each of these priorities
32
         *  - When **projects** are **removed** from the priority scheme, the priorities of issues in those projects might need to be migrated to new priorities within the **Default Priority Scheme** that are not used by the priority scheme.
33
         * This can occur when the **Default Priority Scheme** does not use all the priorities within the current scheme
34
         *     
35
         *      - An `out` mapping must be provided for each of these priorities
36
         * 
37
         * For more information on `in` and `out` mappings, see the child properties documentation for the `PriorityMapping` object below.
38
         */
39
        public ?PriorityMapping $mappings = null,
40

41
        /**
42
         * The name of the priority scheme.
43
         * Must be unique.
44
         */
45
        public ?string $name = null,
46

47
        /** The priorities in the scheme. */
48
        public ?UpdatePrioritiesInSchemeRequestBean $priorities = null,
49

50
        /** The projects in the scheme. */
51
        public ?UpdateProjectsInSchemeRequestBean $projects = null,
52
    ) {
53
    }
×
54
}
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