• 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/Projects.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 Projects
10
{
11
    /**
12
     * Returns all projects visible to the user.
13
     * Deprecated, use " Get projects paginated" that supports search and pagination
14
     * 
15
     * This operation can be accessed anonymously
16
     * 
17
     * **"Permissions" required:** Projects are returned only where the user has *Browse Projects* or *Administer projects* "project permission" for the project.
18
     * 
19
     * @link https://confluence.atlassian.com/x/yodKLg
20
     * 
21
     * @param string $expand Use "expand" to include additional information in the response.
22
     *                       This parameter accepts a comma-separated list.
23
     *                       Expanded options include:
24
     *                        - `description` Returns the project description
25
     *                        - `issueTypes` Returns all issue types associated with the project
26
     *                        - `lead` Returns information about the project lead
27
     *                        - `projectKeys` Returns all project keys associated with the project.
28
     * @param int $recent Returns the user's most recently accessed projects.
29
     *                    You may specify the number of results to return up to a maximum of 20.
30
     *                    If access is anonymous, then the recently accessed projects are based on the current HTTP session.
31
     * @param ?list<string> $properties A list of project properties to return for the project.
32
     *                                  This parameter accepts a comma-separated list.
33
     */
34
    public function getAllProjects(
×
35
        ?string $expand = null,
36
        ?int $recent = null,
37
        ?array $properties = null,
38
    ): true {
39
        return $this->call(
×
40
            uri: '/rest/api/3/project',
×
41
            method: 'get',
×
42
            query: compact('expand', 'recent', 'properties'),
×
43
            success: 200,
×
44
            schema: true,
×
45
        );
×
46
    }
47

48
    /**
49
     * Creates a project based on a project type template, as shown in the following table:
50
     * 
51
     * | Project Type Key | Project Template Key |  
52
     * |--|--|  
53
     * | `business` | `com.atlassian.jira-core-project-templates:jira-core-simplified-content-management`, `com.atlassian.jira-core-project-templates:jira-core-simplified-document-approval`, `com.atlassian.jira-core-project-templates:jira-core-simplified-lead-tracking`, `com.atlassian.jira-core-project-templates:jira-core-simplified-process-control`, `com.atlassian.jira-core-project-templates:jira-core-simplified-procurement`, `com.atlassian.jira-core-project-templates:jira-core-simplified-project-management`, `com.atlassian.jira-core-project-templates:jira-core-simplified-recruitment`, `com.atlassian.jira-core-project-templates:jira-core-simplified-task-tracking` |  
54
     * | `service_desk` | `com.atlassian.servicedesk:simplified-it-service-management`, `com.atlassian.servicedesk:simplified-general-service-desk-it`, `com.atlassian.servicedesk:simplified-general-service-desk-business`, `com.atlassian.servicedesk:simplified-external-service-desk`, `com.atlassian.servicedesk:simplified-hr-service-desk`, `com.atlassian.servicedesk:simplified-facilities-service-desk`, `com.atlassian.servicedesk:simplified-legal-service-desk`, `com.atlassian.servicedesk:simplified-analytics-service-desk`, `com.atlassian.servicedesk:simplified-marketing-service-desk`, `com.atlassian.servicedesk:simplified-design-service-desk`, `com.atlassian.servicedesk:simplified-sales-service-desk`, `com.atlassian.servicedesk:simplified-blank-project-business`, `com.atlassian.servicedesk:simplified-blank-project-it`, `com.atlassian.servicedesk:simplified-finance-service-desk`, `com.atlassian.servicedesk:next-gen-it-service-desk`, `com.atlassian.servicedesk:next-gen-hr-service-desk`, `com.atlassian.servicedesk:next-gen-legal-service-desk`, `com.atlassian.servicedesk:next-gen-marketing-service-desk`, `com.atlassian.servicedesk:next-gen-facilities-service-desk`, `com.atlassian.servicedesk:next-gen-general-it-service-desk`, `com.atlassian.servicedesk:next-gen-general-business-service-desk`, `com.atlassian.servicedesk:next-gen-analytics-service-desk`, `com.atlassian.servicedesk:next-gen-finance-service-desk`, `com.atlassian.servicedesk:next-gen-design-service-desk`, `com.atlassian.servicedesk:next-gen-sales-service-desk` |  
55
     * | `software` | `com.pyxis.greenhopper.jira:gh-simplified-agility-kanban`, `com.pyxis.greenhopper.jira:gh-simplified-agility-scrum`, `com.pyxis.greenhopper.jira:gh-simplified-basic`, `com.pyxis.greenhopper.jira:gh-simplified-kanban-classic`, `com.pyxis.greenhopper.jira:gh-simplified-scrum-classic` |  
56
     * The project types are available according to the installed Jira features as follows:
57
     * 
58
     *  - Jira Core, the default, enables `business` projects
59
     *  - Jira Service Management enables `service_desk` projects
60
     *  - Jira Software enables `software` projects
61
     * 
62
     * To determine which features are installed, go to **Jira settings** > **Apps** > **Manage apps** and review the System Apps list.
63
     * To add Jira Software or Jira Service Management into a JIRA instance, use **Jira settings** > **Apps** > **Finding new apps**.
64
     * For more information, see " Managing add-ons"
65
     * 
66
     * **"Permissions" required:** *Administer Jira* "global permission".
67
     * 
68
     * @link https://confluence.atlassian.com/x/S31NLg
69
     * @link https://confluence.atlassian.com/x/x4dKLg
70
     */
71
    public function createProject(
×
72
        Schema\CreateProjectDetails $request,
73
    ): Schema\ProjectIdentifiers {
74
        return $this->call(
×
75
            uri: '/rest/api/3/project',
×
76
            method: 'post',
×
77
            body: $request,
×
78
            success: 201,
×
79
            schema: Schema\ProjectIdentifiers::class,
×
80
        );
×
81
    }
82

83
    /**
84
     * Returns a list of up to 20 projects recently viewed by the user that are still visible to the user
85
     * 
86
     * This operation can be accessed anonymously
87
     * 
88
     * **"Permissions" required:** Projects are returned only where the user has one of:
89
     * 
90
     *  - *Browse Projects* "project permission" for the project
91
     *  - *Administer Projects* "project permission" for the project
92
     *  - *Administer Jira* "global permission".
93
     * 
94
     * @link https://confluence.atlassian.com/x/yodKLg
95
     * @link https://confluence.atlassian.com/x/x4dKLg
96
     * 
97
     * @param string $expand Use "expand" to include additional information in the response.
98
     *                       This parameter accepts a comma-separated list.
99
     *                       Expanded options include:
100
     *                        - `description` Returns the project description
101
     *                        - `projectKeys` Returns all project keys associated with a project
102
     *                        - `lead` Returns information about the project lead
103
     *                        - `issueTypes` Returns all issue types associated with the project
104
     *                        - `url` Returns the URL associated with the project
105
     *                        - `permissions` Returns the permissions associated with the project
106
     *                        - `insight` EXPERIMENTAL.
107
     *                       Returns the insight details of total issue count and last issue update time for the project
108
     *                        - `*` Returns the project with all available expand options.
109
     * @param ?list<Schema\StringList> $properties EXPERIMENTAL.
110
     *                                             A list of project properties to return for the project.
111
     *                                             This parameter accepts a comma-separated list.
112
     *                                             Invalid property names are ignored.
113
     */
114
    public function getRecent(
×
115
        ?string $expand = null,
116
        ?array $properties = null,
117
    ): true {
118
        return $this->call(
×
119
            uri: '/rest/api/3/project/recent',
×
120
            method: 'get',
×
121
            query: compact('expand', 'properties'),
×
122
            success: 200,
×
123
            schema: true,
×
124
        );
×
125
    }
126

127
    /**
128
     * Returns a "paginated" list of projects visible to the user
129
     * 
130
     * This operation can be accessed anonymously
131
     * 
132
     * **"Permissions" required:** Projects are returned only where the user has one of:
133
     * 
134
     *  - *Browse Projects* "project permission" for the project
135
     *  - *Administer Projects* "project permission" for the project
136
     *  - *Administer Jira* "global permission".
137
     * 
138
     * @link https://confluence.atlassian.com/x/yodKLg
139
     * @link https://confluence.atlassian.com/x/x4dKLg
140
     * 
141
     * @param int $startAt The index of the first item to return in a page of results (page offset).
142
     * @param int $maxResults The maximum number of items to return per page.
143
     * @param 'category'|'-category'|'+category'|'key'|'-key'|'+key'|'name'|'-name'|'+name'|'owner'|'-owner'|'+owner'|'issueCount'|'-issueCount'|'+issueCount'|'lastIssueUpdatedDate'|'-lastIssueUpdatedDate'|'+lastIssueUpdatedDate'|'archivedDate'|'+archivedDate'|'-archivedDate'|'deletedDate'|'+deletedDate'|'-deletedDate'|null $orderBy
144
     *        "Order" the results by a field
145
     *         - `category` Sorts by project category.
146
     *        A complete list of category IDs is found using "Get all project categories"
147
     *         - `issueCount` Sorts by the total number of issues in each project
148
     *         - `key` Sorts by project key
149
     *         - `lastIssueUpdatedTime` Sorts by the last issue update time
150
     *         - `name` Sorts by project name
151
     *         - `owner` Sorts by project lead
152
     *         - `archivedDate` EXPERIMENTAL.
153
     *        Sorts by project archived date
154
     *         - `deletedDate` EXPERIMENTAL.
155
     *        Sorts by project deleted date.
156
     * @param ?list<int> $id The project IDs to filter the results by.
157
     *                       To include multiple IDs, provide an ampersand-separated list.
158
     *                       For example, `id=10000&id=10001`.
159
     *                       Up to 50 project IDs can be provided.
160
     * @param ?list<string> $keys The project keys to filter the results by.
161
     *                            To include multiple keys, provide an ampersand-separated list.
162
     *                            For example, `keys=PA&keys=PB`.
163
     *                            Up to 50 project keys can be provided.
164
     * @param string $query Filter the results using a literal string.
165
     *                      Projects with a matching `key` or `name` are returned (case insensitive).
166
     * @param string $typeKey Orders results by the "project type".
167
     *                        This parameter accepts a comma-separated list.
168
     *                        Valid values are `business`, `service_desk`, and `software`.
169
     *                        @link https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes
170
     * @param int $categoryId The ID of the project's category.
171
     *                        A complete list of category IDs is found using the "Get all project categories" operation.
172
     * @param 'view'|'browse'|'edit'|'create'|null $action
173
     *        Filter results by projects for which the user can:
174
     *         - `view` the project, meaning that they have one of the following permissions:
175
     *            
176
     *             - *Browse projects* "project permission" for the project
177
     *             - *Administer projects* "project permission" for the project
178
     *             - *Administer Jira* "global permission"
179
     *         - `browse` the project, meaning that they have the *Browse projects* "project permission" for the project
180
     *         - `edit` the project, meaning that they have one of the following permissions:
181
     *            
182
     *             - *Administer projects* "project permission" for the project
183
     *             - *Administer Jira* "global permission"
184
     *         - `create` the project, meaning that they have the *Create issues* "project permission" for the project in which the issue is created.
185
     *        @link https://confluence.atlassian.com/x/yodKLg
186
     *        @link https://confluence.atlassian.com/x/x4dKLg
187
     * @param string $expand Use "expand" to include additional information in the response.
188
     *                       This parameter accepts a comma-separated list.
189
     *                       Expanded options include:
190
     *                        - `description` Returns the project description
191
     *                        - `projectKeys` Returns all project keys associated with a project
192
     *                        - `lead` Returns information about the project lead
193
     *                        - `issueTypes` Returns all issue types associated with the project
194
     *                        - `url` Returns the URL associated with the project
195
     *                        - `insight` EXPERIMENTAL.
196
     *                       Returns the insight details of total issue count and last issue update time for the project.
197
     * @param ?list<'live'|'archived'|'deleted'> $status EXPERIMENTAL.
198
     *                                                   Filter results by project status:
199
     *                                                    - `live` Search live projects
200
     *                                                    - `archived` Search archived projects
201
     *                                                    - `deleted` Search deleted projects, those in the recycle bin.
202
     * @param ?list<Schema\StringList> $properties EXPERIMENTAL.
203
     *                                             A list of project properties to return for the project.
204
     *                                             This parameter accepts a comma-separated list.
205
     * @param string $propertyQuery EXPERIMENTAL.
206
     *                              A query string used to search properties.
207
     *                              The query string cannot be specified using a JSON object.
208
     *                              For example, to search for the value of `nested` from `{"something":{"nested":1,"other":2}}` use `[thepropertykey].something.nested=1`.
209
     *                              Note that the propertyQuery key is enclosed in square brackets to enable searching where the propertyQuery key includes dot (.) or equals (=) characters.
210
     *                              Note that `thepropertykey` is only returned when included in `properties`.
211
     */
212
    public function searchProjects(
×
213
        ?int $startAt = 0,
214
        ?int $maxResults = 50,
215
        ?string $orderBy = 'key',
216
        ?array $id = null,
217
        ?array $keys = null,
218
        ?string $query = null,
219
        ?string $typeKey = null,
220
        ?int $categoryId = null,
221
        ?string $action = 'view',
222
        ?string $expand = null,
223
        ?array $status = null,
224
        ?array $properties = null,
225
        ?string $propertyQuery = null,
226
    ): Schema\PageBeanProject {
227
        return $this->call(
×
228
            uri: '/rest/api/3/project/search',
×
229
            method: 'get',
×
230
            query: compact('startAt', 'maxResults', 'orderBy', 'id', 'keys', 'query', 'typeKey', 'categoryId', 'action', 'expand', 'status', 'properties', 'propertyQuery'),
×
231
            success: 200,
×
232
            schema: Schema\PageBeanProject::class,
×
233
        );
×
234
    }
235

236
    /**
237
     * Returns the "project details" for a project
238
     * 
239
     * This operation can be accessed anonymously
240
     * 
241
     * **"Permissions" required:** *Browse projects* "project permission" for the project.
242
     * 
243
     * @link https://confluence.atlassian.com/x/ahLpNw
244
     * @link https://confluence.atlassian.com/x/yodKLg
245
     * 
246
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
247
     * @param string $expand Use "expand" to include additional information in the response.
248
     *                       This parameter accepts a comma-separated list.
249
     *                       Note that the project description, issue types, and project lead are included in all responses by default.
250
     *                       Expand options include:
251
     *                        - `description` The project description
252
     *                        - `issueTypes` The issue types associated with the project
253
     *                        - `lead` The project lead
254
     *                        - `projectKeys` All project keys associated with the project
255
     *                        - `issueTypeHierarchy` The project issue type hierarchy.
256
     * @param ?list<string> $properties A list of project properties to return for the project.
257
     *                                  This parameter accepts a comma-separated list.
258
     */
259
    public function getProject(
×
260
        string $projectIdOrKey,
261
        ?string $expand = null,
262
        ?array $properties = null,
263
    ): Schema\Project {
264
        return $this->call(
×
265
            uri: '/rest/api/3/project/{projectIdOrKey}',
×
266
            method: 'get',
×
267
            query: compact('expand', 'properties'),
×
268
            path: compact('projectIdOrKey'),
×
269
            success: 200,
×
270
            schema: Schema\Project::class,
×
271
        );
×
272
    }
273

274
    /**
275
     * Updates the "project details" of a project
276
     * 
277
     * All parameters are optional in the body of the request.
278
     * Schemes will only be updated if they are included in the request, any omitted schemes will be left unchanged
279
     * 
280
     * **"Permissions" required:** *Administer Jira* "global permission".
281
     * is only needed when changing the schemes or project key.
282
     * Otherwise you will only need *Administer Projects* "project permission"
283
     * 
284
     * @link https://confluence.atlassian.com/x/ahLpNw
285
     * @link https://confluence.atlassian.com/x/x4dKLg
286
     * @link https://confluence.atlassian.com/x/yodKLg
287
     * 
288
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
289
     * @param string $expand Use "expand" to include additional information in the response.
290
     *                       This parameter accepts a comma-separated list.
291
     *                       Note that the project description, issue types, and project lead are included in all responses by default.
292
     *                       Expand options include:
293
     *                        - `description` The project description
294
     *                        - `issueTypes` The issue types associated with the project
295
     *                        - `lead` The project lead
296
     *                        - `projectKeys` All project keys associated with the project.
297
     */
298
    public function updateProject(
×
299
        Schema\UpdateProjectDetails $request,
300
        string $projectIdOrKey,
301
        ?string $expand = null,
302
    ): Schema\Project {
303
        return $this->call(
×
304
            uri: '/rest/api/3/project/{projectIdOrKey}',
×
305
            method: 'put',
×
306
            body: $request,
×
307
            query: compact('expand'),
×
308
            path: compact('projectIdOrKey'),
×
309
            success: 200,
×
310
            schema: Schema\Project::class,
×
311
        );
×
312
    }
313

314
    /**
315
     * Deletes a project
316
     * 
317
     * You can't delete a project if it's archived.
318
     * To delete an archived project, restore the project and then delete it.
319
     * To restore a project, use the Jira UI
320
     * 
321
     * **"Permissions" required:** *Administer Jira* "global permission".
322
     * 
323
     * @link https://confluence.atlassian.com/x/x4dKLg
324
     * 
325
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
326
     * @param bool $enableUndo Whether this project is placed in the Jira recycle bin where it will be available for restoration.
327
     */
328
    public function deleteProject(
×
329
        string $projectIdOrKey,
330
        ?bool $enableUndo = true,
331
    ): true {
332
        return $this->call(
×
333
            uri: '/rest/api/3/project/{projectIdOrKey}',
×
334
            method: 'delete',
×
335
            query: compact('enableUndo'),
×
336
            path: compact('projectIdOrKey'),
×
337
            success: 204,
×
338
            schema: true,
×
339
        );
×
340
    }
341

342
    /**
343
     * Archives a project.
344
     * You can't delete a project if it's archived.
345
     * To delete an archived project, restore the project and then delete it.
346
     * To restore a project, use the Jira UI
347
     * 
348
     * **"Permissions" required:** *Administer Jira* "global permission".
349
     * 
350
     * @link https://confluence.atlassian.com/x/x4dKLg
351
     * 
352
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
353
     */
354
    public function archiveProject(
×
355
        string $projectIdOrKey,
356
    ): true {
357
        return $this->call(
×
358
            uri: '/rest/api/3/project/{projectIdOrKey}/archive',
×
359
            method: 'post',
×
360
            path: compact('projectIdOrKey'),
×
361
            success: 204,
×
362
            schema: true,
×
363
        );
×
364
    }
365

366
    /**
367
     * Deletes a project asynchronously
368
     * 
369
     * This operation is:
370
     * 
371
     *  - transactional, that is, if part of the delete fails the project is not deleted
372
     *  - "asynchronous".
373
     * Follow the `location` link in the response to determine the status of the task and use "Get task" to obtain subsequent updates
374
     * 
375
     * **"Permissions" required:** *Administer Jira* "global permission".
376
     * 
377
     * @link https://confluence.atlassian.com/x/x4dKLg
378
     * 
379
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
380
     */
381
    public function deleteProjectAsynchronously(
×
382
        string $projectIdOrKey,
383
    ): Schema\TaskProgressBeanObject {
384
        return $this->call(
×
385
            uri: '/rest/api/3/project/{projectIdOrKey}/delete',
×
386
            method: 'post',
×
387
            path: compact('projectIdOrKey'),
×
388
            success: 303,
×
389
            schema: Schema\TaskProgressBeanObject::class,
×
390
        );
×
391
    }
392

393
    /**
394
     * Restores a project that has been archived or placed in the Jira recycle bin
395
     * 
396
     * **"Permissions" required:**
397
     * 
398
     *  - *Administer Jira* "global permission"for Company managed projects
399
     *  - *Administer Jira* "global permission" or *Administer projects* "project permission" for the project for Team managed projects.
400
     * 
401
     * @link https://confluence.atlassian.com/x/x4dKLg
402
     * @link https://confluence.atlassian.com/x/yodKLg
403
     * 
404
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
405
     */
406
    public function restore(
×
407
        string $projectIdOrKey,
408
    ): Schema\Project {
409
        return $this->call(
×
410
            uri: '/rest/api/3/project/{projectIdOrKey}/restore',
×
411
            method: 'post',
×
412
            path: compact('projectIdOrKey'),
×
413
            success: 200,
×
414
            schema: Schema\Project::class,
×
415
        );
×
416
    }
417

418
    /**
419
     * Returns the valid statuses for a project.
420
     * The statuses are grouped by issue type, as each project has a set of valid issue types and each issue type has a set of valid statuses
421
     * 
422
     * This operation can be accessed anonymously
423
     * 
424
     * **"Permissions" required:** *Browse Projects* "project permission" for the project.
425
     * 
426
     * @link https://confluence.atlassian.com/x/yodKLg
427
     * 
428
     * @param string $projectIdOrKey The project ID or project key (case sensitive).
429
     */
430
    public function getAllStatuses(
×
431
        string $projectIdOrKey,
432
    ): true {
433
        return $this->call(
×
434
            uri: '/rest/api/3/project/{projectIdOrKey}/statuses',
×
435
            method: 'get',
×
436
            path: compact('projectIdOrKey'),
×
437
            success: 200,
×
438
            schema: true,
×
439
        );
×
440
    }
441

442
    /**
443
     * Get the issue type hierarchy for a next-gen project
444
     * 
445
     * The issue type hierarchy for a project consists of:
446
     * 
447
     *  - *Epic* at level 1 (optional)
448
     *  - One or more issue types at level 0 such as *Story*, *Task*, or *Bug*.
449
     * Where the issue type *Epic* is defined, these issue types are used to break down the content of an epic
450
     *  - *Subtask* at level -1 (optional).
451
     * This issue type enables level 0 issue types to be broken down into components.
452
     * Issues based on a level -1 issue type must have a parent issue
453
     * 
454
     * **"Permissions" required:** *Browse projects* "project permission" for the project.
455
     * 
456
     * @link https://confluence.atlassian.com/x/yodKLg
457
     * 
458
     * @param int $projectId The ID of the project.
459
     */
460
    public function getHierarchy(
×
461
        int $projectId,
462
    ): Schema\ProjectIssueTypeHierarchy {
463
        return $this->call(
×
464
            uri: '/rest/api/3/project/{projectId}/hierarchy',
×
465
            method: 'get',
×
466
            path: compact('projectId'),
×
467
            success: 200,
×
468
            schema: Schema\ProjectIssueTypeHierarchy::class,
×
469
        );
×
470
    }
471

472
    /**
473
     * Gets a "notification scheme" associated with the project
474
     * 
475
     * **"Permissions" required:** *Administer Jira* "global permission" or *Administer Projects* "project permission".
476
     * 
477
     * @link https://confluence.atlassian.com/x/8YdKLg
478
     * @link https://confluence.atlassian.com/x/x4dKLg
479
     * @link https://confluence.atlassian.com/x/yodKLg
480
     * 
481
     * @param string $projectKeyOrId The project ID or project key (case sensitive).
482
     * @param string $expand Use "expand" to include additional information in the response.
483
     *                       This parameter accepts a comma-separated list.
484
     *                       Expand options include:
485
     *                        - `all` Returns all expandable information
486
     *                        - `field` Returns information about any custom fields assigned to receive an event
487
     *                        - `group` Returns information about any groups assigned to receive an event
488
     *                        - `notificationSchemeEvents` Returns a list of event associations.
489
     *                       This list is returned for all expandable information
490
     *                        - `projectRole` Returns information about any project roles assigned to receive an event
491
     *                        - `user` Returns information about any users assigned to receive an event
492
     */
493
    public function getNotificationSchemeForProject(
×
494
        string $projectKeyOrId,
495
        ?string $expand = null,
496
    ): Schema\NotificationScheme {
497
        return $this->call(
×
498
            uri: '/rest/api/3/project/{projectKeyOrId}/notificationscheme',
×
499
            method: 'get',
×
500
            query: compact('expand'),
×
501
            path: compact('projectKeyOrId'),
×
502
            success: 200,
×
503
            schema: Schema\NotificationScheme::class,
×
504
        );
×
505
    }
506
}
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