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

3
namespace Jira\Client\Operations;
4

5
use Jira\Client\Client;
6
use Jira\Client\Schema;
7

8
/** @phpstan-require-extends Client */
9
trait AppMigration
10
{
11
    /**
12
     * Updates the value of a custom field added by Connect apps on one or more issues
13
     * The values of up to 200 custom fields can be updated
14
     * 
15
     * **"Permissions" required:** Only Connect apps can make this request
16
     * 
17
     * @param string $atlassianTransferId The ID of the transfer.
18
     */
19
    public function updateIssueFields(
×
20
        Schema\ConnectCustomFieldValues $request,
21
        string $atlassianTransferId,
22
    ): true {
23
        return $this->call(
×
24
            uri: '/rest/atlassian-connect/1/migration/field',
×
25
            method: 'put',
×
26
            body: $request,
×
27
            header: ['Atlassian-Transfer-Id' => $atlassianTransferId],
×
28
            success: 200,
×
29
            schema: true,
×
30
        );
×
31
    }
32

33
    /**
34
     * Updates the values of multiple entity properties for an object, up to 50 updates per request.
35
     * This operation is for use by Connect apps during app migration.
36
     * 
37
     * @param string $atlassianTransferId The app migration transfer ID.
38
     * @param 'IssueProperty'|'CommentProperty'|'DashboardItemProperty'|'IssueTypeProperty'|'ProjectProperty'|'UserProperty'|'WorklogProperty'|'BoardProperty'|'SprintProperty' $entityType
39
     *        The type indicating the object that contains the entity properties.
40
     */
41
    public function updateEntityPropertiesValue(
×
42
        string $atlassianTransferId,
43
        string $entityType,
44
    ): true {
45
        return $this->call(
×
46
            uri: '/rest/atlassian-connect/1/migration/properties/{entityType}',
×
47
            method: 'put',
×
48
            header: ['Atlassian-Transfer-Id' => $atlassianTransferId],
×
49
            path: compact('entityType'),
×
50
            success: 200,
×
51
            schema: true,
×
52
        );
×
53
    }
54

55
    /**
56
     * Returns configurations for workflow transition rules migrated from server to cloud and owned by the calling Connect app.
57
     * 
58
     * @param string $atlassianTransferId The app migration transfer ID.
59
     */
60
    public function workflowRuleSearch(
×
61
        Schema\WorkflowRulesSearch $request,
62
        string $atlassianTransferId,
63
    ): Schema\WorkflowRulesSearchDetails {
64
        return $this->call(
×
65
            uri: '/rest/atlassian-connect/1/migration/workflow/rule/search',
×
66
            method: 'post',
×
67
            body: $request,
×
68
            header: ['Atlassian-Transfer-Id' => $atlassianTransferId],
×
69
            success: 200,
×
70
            schema: Schema\WorkflowRulesSearchDetails::class,
×
71
        );
×
72
    }
73
}
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