@structured-world/gitlab-mcp 4.3.2 → 4.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,10 +19,21 @@ This fork is actively maintained and enhanced with strict TypeScript standards,
19
19
 
20
20
  ## Usage
21
21
 
22
- ### Using with Claude App, Cline, Roo Code, Cursor, Kilo Code
22
+ ### Using with Codex, Claude App, Cline, Roo Code, Cursor, Kilo Code
23
23
 
24
24
  When using with the Claude App, you need to set up your API key and URLs directly.
25
25
 
26
+ #### Codex
27
+
28
+ Add to your `~/.codex/config.toml`:
29
+
30
+ ```toml
31
+ [mcp_servers.gitlab]
32
+ command = "yarn"
33
+ args = ["dlx", "-q", "@structured-world/gitlab-mcp@latest", "stdio"]
34
+ env = { "GITLAB_TOKEN" = "mytoken", "GITLAB_API_URL" = "https://gitlab.com" }
35
+ ```
36
+
26
37
  #### npx
27
38
 
28
39
  ```json
@@ -271,7 +282,7 @@ export GITLAB_TOOL_CREATE_WORK_ITEM="Create tickets for our sprint planning"
271
282
  - **Content Guidelines**: Descriptions can be any valid string but should be kept concise for better UX
272
283
  - **Scope**: Works with all 86 available tools across all entities (Core, Work Items, Merge Requests, Files, etc.)
273
284
 
274
- ## Tools 🛠️
285
+ ## Tools
275
286
 
276
287
  **85 Tools Available** - Organized by entity and functionality below.
277
288
 
@@ -310,146 +321,146 @@ The following issue-related tools have been removed and replaced by Work Items G
310
321
  ## Complete Tool Reference
311
322
 
312
323
  ### Legend
313
- - 📖 = Read-only tool (available in GITLAB_READ_ONLY_MODE)
314
- - ✏️ = Read/Write tool (disabled in GITLAB_READ_ONLY_MODE)
324
+ - READ = Read-only tool (available in GITLAB_READ_ONLY_MODE)
325
+ - WRITE = Read/Write tool (disabled in GITLAB_READ_ONLY_MODE)
315
326
 
316
327
  ### Core Tools (21 tools)
317
328
  Core GitLab functionality always available.
318
329
 
319
330
  #### Repository & Project Management
320
- - ✏️ **`create_repository`**: Create a new GitLab project
321
- - 📖 **`get_project`**: Get details of a specific project
322
- - 📖 **`list_projects`**: List GitLab projects with flexible scoping. DEFAULT (no group_id): Lists YOUR accessible projects across GitLab (owned/member/starred). GROUP SCOPE (with group_id): Lists all projects within a specific group/organization. Parameters automatically validate based on scope.
323
- - 📖 **`search_repositories`**: Search for GitLab projects
324
- - 📖 **`list_project_members`**: List members of a GitLab project
331
+ - WRITE **`create_repository`**: Create a new GitLab project
332
+ - READ **`get_project`**: Get details of a specific project
333
+ - READ **`list_projects`**: List GitLab projects with flexible scoping. DEFAULT (no group_id): Lists YOUR accessible projects across GitLab (owned/member/starred). GROUP SCOPE (with group_id): Lists all projects within a specific group/organization. Parameters automatically validate based on scope.
334
+ - READ **`search_repositories`**: Search for GitLab projects
335
+ - READ **`list_project_members`**: List members of a GitLab project
325
336
 
326
337
  #### Branch Management
327
- - ✏️ **`create_branch`**: Create a new branch in a GitLab project
328
- - 📖 **`get_branch_diffs`**: Get the changes/diffs between two branches or commits in a GitLab project
329
- - ✏️ **`fork_repository`**: Fork a GitLab project to your account or specified namespace
338
+ - WRITE **`create_branch`**: Create a new branch in a GitLab project
339
+ - READ **`get_branch_diffs`**: Get the changes/diffs between two branches or commits in a GitLab project
340
+ - WRITE **`fork_repository`**: Fork a GitLab project to your account or specified namespace
330
341
 
331
342
  #### Comments & General Notes
332
- - ✏️ **`create_note`**: Create a new note (comment) to an issue or merge request
333
- - 📖 **`download_attachment`**: Download an uploaded file from a GitLab project by secret and filename
343
+ - WRITE **`create_note`**: Create a new note (comment) to an issue or merge request
344
+ - READ **`download_attachment`**: Download an uploaded file from a GitLab project by secret and filename
334
345
 
335
346
  #### Commits & History
336
- - 📖 **`get_commit`**: Get details of a specific commit
337
- - 📖 **`get_commit_diff`**: Get changes/diffs of a specific commit
338
- - 📖 **`list_commits`**: List repository commits with filtering options
347
+ - READ **`get_commit`**: Get details of a specific commit
348
+ - READ **`get_commit_diff`**: Get changes/diffs of a specific commit
349
+ - READ **`list_commits`**: List repository commits with filtering options
339
350
 
340
351
  #### Namespaces & Users
341
- - 📖 **`get_namespace`**: Get details of a namespace by ID or path
342
- - 📖 **`list_namespaces`**: List all namespaces available to the current user
343
- - 📖 **`verify_namespace`**: Verify if a namespace path exists
344
- - 📖 **`get_users`**: Get GitLab user details by usernames
352
+ - READ **`get_namespace`**: Get details of a namespace by ID or path
353
+ - READ **`list_namespaces`**: List all namespaces available to the current user
354
+ - READ **`verify_namespace`**: Verify if a namespace path exists
355
+ - READ **`get_users`**: Get GitLab user details by usernames
345
356
 
346
357
  #### Events & Activity
347
- - 📖 **`get_project_events`**: List all visible events for a specified project. Note: before/after parameters accept date format YYYY-MM-DD only
348
- - 📖 **`list_events`**: List all events for the currently authenticated user. Note: before/after parameters accept date format YYYY-MM-DD only
349
- - 📖 **`list_group_iterations`**: List group iterations with filtering options
358
+ - READ **`get_project_events`**: List all visible events for a specified project. Note: before/after parameters accept date format YYYY-MM-DD only
359
+ - READ **`list_events`**: List all events for the currently authenticated user. Note: before/after parameters accept date format YYYY-MM-DD only
360
+ - READ **`list_group_iterations`**: List group iterations with filtering options
350
361
 
351
362
  ### Labels Management (5 tools)
352
363
  Requires USE_LABELS=true environment variable (enabled by default). Supports both project and group labels.
353
364
 
354
- - ✏️ **`create_label`**: Create a new label in a project or group
355
- - ✏️ **`update_label`**: Update an existing label in a project or group
356
- - ✏️ **`delete_label`**: Delete a label from a project or group
357
- - 📖 **`get_label`**: Get a single label from a project or group
358
- - 📖 **`list_labels`**: List labels for a project or group
365
+ - WRITE **`create_label`**: Create a new label in a project or group
366
+ - WRITE **`update_label`**: Update an existing label in a project or group
367
+ - WRITE **`delete_label`**: Delete a label from a project or group
368
+ - READ **`get_label`**: Get a single label from a project or group
369
+ - READ **`list_labels`**: List labels for a project or group
359
370
 
360
371
  ### Merge Requests Management (17 tools)
361
372
  Requires USE_MRS=true environment variable (enabled by default).
362
373
 
363
374
  #### Merge Request Operations
364
- - ✏️ **`create_merge_request`**: Create a new merge request in a GitLab project
365
- - ✏️ **`update_merge_request`**: Update a merge request (Either mergeRequestIid or branchName must be provided)
366
- - ✏️ **`merge_merge_request`**: Merge a merge request in a GitLab project
367
- - 📖 **`get_merge_request`**: Get details of a merge request (Either mergeRequestIid or branchName must be provided)
368
- - 📖 **`get_merge_request_diffs`**: Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
369
- - 📖 **`list_merge_request_diffs`**: List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
370
- - 📖 **`list_merge_requests`**: List merge requests in a GitLab project with filtering options
371
- - 📖 **`mr_discussions`**: List discussion items for a merge request
375
+ - WRITE **`create_merge_request`**: Create a new merge request in a GitLab project
376
+ - WRITE **`update_merge_request`**: Update a merge request (Either mergeRequestIid or branchName must be provided)
377
+ - WRITE **`merge_merge_request`**: Merge a merge request in a GitLab project
378
+ - READ **`get_merge_request`**: Get details of a merge request (Either mergeRequestIid or branchName must be provided)
379
+ - READ **`get_merge_request_diffs`**: Get the changes/diffs of a merge request (Either mergeRequestIid or branchName must be provided)
380
+ - READ **`list_merge_request_diffs`**: List merge request diffs with pagination support (Either mergeRequestIid or branchName must be provided)
381
+ - READ **`list_merge_requests`**: List merge requests in a GitLab project with filtering options
382
+ - READ **`mr_discussions`**: List discussion items for a merge request
372
383
 
373
384
  #### MR Comments & Discussions
374
- - ✏️ **`create_merge_request_thread`**: Create a new thread on a merge request
375
- - ✏️ **`create_merge_request_note`**: Add a new note to an existing merge request thread
376
- - ✏️ **`update_merge_request_note`**: Modify an existing merge request thread note
385
+ - WRITE **`create_merge_request_thread`**: Create a new thread on a merge request
386
+ - WRITE **`create_merge_request_note`**: Add a new note to an existing merge request thread
387
+ - WRITE **`update_merge_request_note`**: Modify an existing merge request thread note
377
388
 
378
389
  #### MR Draft Notes
379
- - ✏️ **`create_draft_note`**: Create a draft note for a merge request
380
- - ✏️ **`update_draft_note`**: Update an existing draft note
381
- - ✏️ **`delete_draft_note`**: Delete a draft note
382
- - ✏️ **`publish_draft_note`**: Publish a single draft note
383
- - ✏️ **`bulk_publish_draft_notes`**: Publish all draft notes for a merge request
384
- - 📖 **`get_draft_note`**: Get a single draft note from a merge request
385
- - 📖 **`list_draft_notes`**: List draft notes for a merge request
390
+ - WRITE **`create_draft_note`**: Create a draft note for a merge request
391
+ - WRITE **`update_draft_note`**: Update an existing draft note
392
+ - WRITE **`delete_draft_note`**: Delete a draft note
393
+ - WRITE **`publish_draft_note`**: Publish a single draft note
394
+ - WRITE **`bulk_publish_draft_notes`**: Publish all draft notes for a merge request
395
+ - READ **`get_draft_note`**: Get a single draft note from a merge request
396
+ - READ **`list_draft_notes`**: List draft notes for a merge request
386
397
 
387
398
  ### File Operations (5 tools)
388
399
  Requires USE_FILES=true environment variable (enabled by default).
389
400
 
390
- - ✏️ **`create_or_update_file`**: Create or update a single file in a GitLab project
391
- - ✏️ **`push_files`**: Push multiple files to a GitLab project in a single commit
392
- - 📖 **`get_file_contents`**: Get the contents of a file or directory from a GitLab project
393
- - 📖 **`get_repository_tree`**: Get the repository tree for a GitLab project (list files and directories)
394
- - ✏️ **`upload_markdown`**: Upload a file to a GitLab project for use in markdown content
401
+ - WRITE **`create_or_update_file`**: Create or update a single file in a GitLab project
402
+ - WRITE **`push_files`**: Push multiple files to a GitLab project in a single commit
403
+ - READ **`get_file_contents`**: Get the contents of a file or directory from a GitLab project
404
+ - READ **`get_repository_tree`**: Get the repository tree for a GitLab project (list files and directories)
405
+ - WRITE **`upload_markdown`**: Upload a file to a GitLab project for use in markdown content
395
406
 
396
407
  ### CI/CD Variables (5 tools)
397
408
  Requires USE_VARIABLES=true environment variable (enabled by default). Supports both project-level and group-level variables.
398
409
 
399
- - 📖 **`list_variables`**: List all CI/CD variables for a project or group with their configuration and security settings
400
- - 📖 **`get_variable`**: Get a specific CI/CD variable by key from a project or group, optionally filtered by environment scope
401
- - ✏️ **`create_variable`**: Create a new CI/CD variable for automated deployments and pipeline configuration in a project or group
402
- - ✏️ **`update_variable`**: Update an existing CI/CD variable's value, security settings, or configuration in a project or group
403
- - ✏️ **`delete_variable`**: Remove a CI/CD variable from a project or group
410
+ - READ **`list_variables`**: List all CI/CD variables for a project or group with their configuration and security settings
411
+ - READ **`get_variable`**: Get a specific CI/CD variable by key from a project or group, optionally filtered by environment scope
412
+ - WRITE **`create_variable`**: Create a new CI/CD variable for automated deployments and pipeline configuration in a project or group
413
+ - WRITE **`update_variable`**: Update an existing CI/CD variable's value, security settings, or configuration in a project or group
414
+ - WRITE **`delete_variable`**: Remove a CI/CD variable from a project or group
404
415
 
405
416
  ### Work Items (5 tools)
406
417
  Modern GraphQL API for issues, epics, tasks, and more. Requires USE_WORKITEMS=true (enabled by default).
407
418
 
408
- - ✏️ **`create_work_item`**: Create a new work item (epic, issue, task, etc.) in a GitLab group
409
- - ✏️ **`update_work_item`**: Update an existing work item
410
- - ✏️ **`delete_work_item`**: Delete a work item
411
- - 📖 **`get_work_item`**: Get details of a specific work item by ID
412
- - 📖 **`list_work_items`**: List work items from a GitLab group with optional filtering by type
419
+ - WRITE **`create_work_item`**: Create a new work item (epic, issue, task, etc.) in a GitLab group
420
+ - WRITE **`update_work_item`**: Update an existing work item
421
+ - WRITE **`delete_work_item`**: Delete a work item
422
+ - READ **`get_work_item`**: Get details of a specific work item by ID
423
+ - READ **`list_work_items`**: List work items from a GitLab group with optional filtering by type
413
424
 
414
425
  ### Wiki Management (5 tools)
415
426
  Requires USE_GITLAB_WIKI=true environment variable. Supports both project-level and group-level wikis.
416
427
 
417
- - ✏️ **`create_wiki_page`**: Create a new wiki page in a GitLab project or group
418
- - ✏️ **`update_wiki_page`**: Update an existing wiki page in a GitLab project or group
419
- - ✏️ **`delete_wiki_page`**: Delete a wiki page from a GitLab project or group
420
- - 📖 **`get_wiki_page`**: Get details of a specific wiki page from a project or group
421
- - 📖 **`list_wiki_pages`**: List wiki pages in a GitLab project or group
428
+ - WRITE **`create_wiki_page`**: Create a new wiki page in a GitLab project or group
429
+ - WRITE **`update_wiki_page`**: Update an existing wiki page in a GitLab project or group
430
+ - WRITE **`delete_wiki_page`**: Delete a wiki page from a GitLab project or group
431
+ - READ **`get_wiki_page`**: Get details of a specific wiki page from a project or group
432
+ - READ **`list_wiki_pages`**: List wiki pages in a GitLab project or group
422
433
 
423
434
  ### Milestones (9 tools)
424
435
  Requires USE_MILESTONE=true environment variable. Supports both project and group milestones.
425
436
 
426
- - ✏️ **`create_milestone`**: Create a new milestone in a GitLab project or group
427
- - ✏️ **`edit_milestone`**: Edit an existing milestone in a GitLab project or group
428
- - ✏️ **`delete_milestone`**: Delete a milestone from a GitLab project or group
429
- - ✏️ **`promote_milestone`**: Promote a project milestone to a group milestone
430
- - 📖 **`get_milestone`**: Get details of a specific project or group milestone
431
- - 📖 **`get_milestone_issue`**: Get issues associated with a specific project or group milestone
432
- - 📖 **`get_milestone_merge_requests`**: Get merge requests associated with a specific project or group milestone
433
- - 📖 **`get_milestone_burndown_events`**: Get burndown events for a specific project or group milestone
434
- - 📖 **`list_milestones`**: List milestones in a GitLab project or group with filtering options
437
+ - WRITE **`create_milestone`**: Create a new milestone in a GitLab project or group
438
+ - WRITE **`edit_milestone`**: Edit an existing milestone in a GitLab project or group
439
+ - WRITE **`delete_milestone`**: Delete a milestone from a GitLab project or group
440
+ - WRITE **`promote_milestone`**: Promote a project milestone to a group milestone
441
+ - READ **`get_milestone`**: Get details of a specific project or group milestone
442
+ - READ **`get_milestone_issue`**: Get issues associated with a specific project or group milestone
443
+ - READ **`get_milestone_merge_requests`**: Get merge requests associated with a specific project or group milestone
444
+ - READ **`get_milestone_burndown_events`**: Get burndown events for a specific project or group milestone
445
+ - READ **`list_milestones`**: List milestones in a GitLab project or group with filtering options
435
446
 
436
447
  ### Pipelines & CI/CD (12 tools)
437
448
  Requires USE_PIPELINE=true environment variable.
438
449
 
439
- - ✏️ **`create_pipeline`**: Create a new pipeline for a branch or tag
440
- - ✏️ **`retry_pipeline`**: Retry a failed or canceled pipeline
441
- - ✏️ **`cancel_pipeline`**: Cancel a running pipeline
442
- - ✏️ **`play_pipeline_job`**: Run a manual pipeline job
443
- - ✏️ **`retry_pipeline_job`**: Retry a failed or canceled pipeline job
444
- - ✏️ **`cancel_pipeline_job`**: Cancel a running pipeline job
445
- - 📖 **`get_pipeline`**: Get details of a specific pipeline in a GitLab project
446
- - 📖 **`get_pipeline_job`**: Get details of a GitLab pipeline job number
447
- - 📖 **`get_pipeline_job_output`**: Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
448
- - 📖 **`list_pipelines`**: List pipelines in a GitLab project with filtering options
449
- - 📖 **`list_pipeline_jobs`**: List all jobs in a specific pipeline
450
- - 📖 **`list_pipeline_trigger_jobs`**: List all trigger jobs (bridges) in a specific pipeline that trigger downstream pipelines
451
-
452
- ## CLI Tools 🔧
450
+ - WRITE **`create_pipeline`**: Create a new pipeline for a branch or tag
451
+ - WRITE **`retry_pipeline`**: Retry a failed or canceled pipeline
452
+ - WRITE **`cancel_pipeline`**: Cancel a running pipeline
453
+ - WRITE **`play_pipeline_job`**: Run a manual pipeline job
454
+ - WRITE **`retry_pipeline_job`**: Retry a failed or canceled pipeline job
455
+ - WRITE **`cancel_pipeline_job`**: Cancel a running pipeline job
456
+ - READ **`get_pipeline`**: Get details of a specific pipeline in a GitLab project
457
+ - READ **`get_pipeline_job`**: Get details of a GitLab pipeline job number
458
+ - READ **`get_pipeline_job_output`**: Get the output/trace of a GitLab pipeline job with optional pagination to limit context window usage
459
+ - READ **`list_pipelines`**: List pipelines in a GitLab project with filtering options
460
+ - READ **`list_pipeline_jobs`**: List all jobs in a specific pipeline
461
+ - READ **`list_pipeline_trigger_jobs`**: List all trigger jobs (bridges) in a specific pipeline that trigger downstream pipelines
462
+
463
+ ## CLI Tools
453
464
 
454
465
  ### list-tools - Browse Available Tools
455
466
 
@@ -498,9 +509,9 @@ USE_WORKITEMS=false yarn list-tools # Hide work items tools
498
509
  #### Features
499
510
 
500
511
  - **Tier Badges** - Visual indicators for GitLab tier requirements:
501
- - 🟢 Free - Available in all GitLab tiers
502
- - 🟡 Premium - Requires GitLab Premium or higher
503
- - 🔴 Ultimate - Requires GitLab Ultimate
512
+ - FREE - Available in all GitLab tiers
513
+ - PREMIUM - Requires GitLab Premium or higher
514
+ - ULTIMATE - Requires GitLab Ultimate
504
515
 
505
516
  - **Parameter Documentation** - Shows all input parameters with:
506
517
  - Parameter name and type
@@ -564,7 +575,7 @@ yarn test tests/integration/schemas/workitems.test.ts
564
575
 
565
576
  For detailed testing documentation, see [TESTING.md](TESTING.md).
566
577
 
567
- ## 💖 Support the Project
578
+ ## Support the Project
568
579
 
569
580
  This GitLab MCP Server is developed and maintained with care for the community. If it saves you time or helps your workflow, consider supporting its continued development!
570
581
 
@@ -572,16 +583,16 @@ This GitLab MCP Server is developed and maintained with care for the community.
572
583
 
573
584
  ![USDT TRC-20 Donation QR Code](assets/usdt-qr.svg)
574
585
 
575
- **Buy me a coffee with USDT (TRC-20)**
586
+ **Buy me a coffee with USDT (TRC-20)**
576
587
  `TFDsezHa1cBkoeZT5q2T49Wp66K8t2DmdA`
577
588
 
578
- 📱 *Scan QR code with your wallet (TronLink, Trust Wallet, Exodus, etc.)*
589
+ *Scan QR code with your wallet (TronLink, Trust Wallet, Exodus, etc.)*
579
590
 
580
- **Every contribution helps keep this project alive and growing! 🚀**
591
+ **Every contribution helps keep this project alive and growing!**
581
592
 
582
593
  </div>
583
594
 
584
595
  ---
585
596
 
586
- **Maintained with ❤️ by [Dmitry Prudnikov](https://github.com/polaz)**
597
+ **Maintained with care by [Dmitry Prudnikov](https://github.com/polaz)**
587
598
  **Original work by [zereight](https://github.com/zereight) - Thank you for the foundation!**
@@ -183,7 +183,7 @@ exports.workitemsToolRegistry = new Map([
183
183
  inputSchema: (0, zod_to_json_schema_1.zodToJsonSchema)(schema_1.CreateWorkItemSchema),
184
184
  handler: async (args) => {
185
185
  const options = schema_1.CreateWorkItemSchema.parse(args);
186
- const { namespacePath, title, workItemType, description } = options;
186
+ const { namespacePath, title, workItemType, description, assigneeIds, labelIds, milestoneId, } = options;
187
187
  const connectionManager = ConnectionManager_1.ConnectionManager.getInstance();
188
188
  const client = connectionManager.getClient();
189
189
  const workItemTypes = await (0, workItemTypes_1.getWorkItemTypes)(namespacePath);
@@ -191,18 +191,24 @@ exports.workitemsToolRegistry = new Map([
191
191
  if (!workItemTypeObj) {
192
192
  throw new Error(`Work item type "${workItemType}" not found in namespace "${namespacePath}". Available types: ${workItemTypes.map((t) => t.name).join(', ')}`);
193
193
  }
194
- const response = description
195
- ? await client.request(workItems_1.CREATE_WORK_ITEM_WITH_DESCRIPTION, {
196
- namespacePath,
197
- title,
198
- workItemTypeId: workItemTypeObj.id,
199
- description,
200
- })
201
- : await client.request(workItems_1.CREATE_WORK_ITEM, {
202
- namespacePath,
203
- title,
204
- workItemTypeId: workItemTypeObj.id,
205
- });
194
+ const input = {
195
+ namespacePath,
196
+ title,
197
+ workItemTypeId: workItemTypeObj.id,
198
+ };
199
+ if (description !== undefined) {
200
+ input.description = description;
201
+ }
202
+ if (assigneeIds !== undefined && assigneeIds.length > 0) {
203
+ input.assigneesWidget = { assigneeIds: (0, idConversion_1.toGids)(assigneeIds, 'User') };
204
+ }
205
+ if (labelIds !== undefined && labelIds.length > 0) {
206
+ input.labelsWidget = { labelIds: (0, idConversion_1.toGids)(labelIds, 'Label') };
207
+ }
208
+ if (milestoneId !== undefined) {
209
+ input.milestoneWidget = { milestoneId: (0, idConversion_1.toGid)(milestoneId, 'Milestone') };
210
+ }
211
+ const response = await client.request(workItems_1.CREATE_WORK_ITEM_WITH_WIDGETS, { input });
206
212
  if (response.workItemCreate?.errors?.length && response.workItemCreate.errors.length > 0) {
207
213
  throw new Error(`GitLab GraphQL errors: ${response.workItemCreate.errors.join(', ')}`);
208
214
  }
@@ -233,10 +239,10 @@ exports.workitemsToolRegistry = new Map([
233
239
  if (description !== undefined) {
234
240
  input.descriptionWidget = { description };
235
241
  }
236
- if (assigneeIds !== undefined && assigneeIds.length > 0) {
242
+ if (assigneeIds !== undefined) {
237
243
  input.assigneesWidget = { assigneeIds: (0, idConversion_1.toGids)(assigneeIds, 'User') };
238
244
  }
239
- if (labelIds !== undefined && labelIds.length > 0) {
245
+ if (labelIds !== undefined) {
240
246
  input.labelsWidget = { addLabelIds: (0, idConversion_1.toGids)(labelIds, 'Label') };
241
247
  }
242
248
  if (milestoneId !== undefined) {
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../../src/entities/workitems/registry.ts"],"names":[],"mappings":";;;AA2cA,sEAEC;AAKD,kEAEC;AAKD,8DAQC;AAjeD,2DAAqD;AACrD,uDAA2E;AAC3E,qCAA4F;AAE5F,wEAAqE;AACrE,6DAA6D;AAC7D,2DAKkC;AAOlC,uDASiC;AAKpB,QAAA,qBAAqB,GAAiB,IAAI,GAAG,CAAiC;IAEzF;QACE,iBAAiB;QACjB;YACE,IAAI,EAAE,iBAAiB;YACvB,WAAW,EACT,oJAAoJ;YACtJ,WAAW,EAAE,IAAA,oCAAe,EAAC,qCAAmB,CAAC;YACjD,OAAO,EAAE,KAAK,EAAE,IAAa,EAAoB,EAAE;gBACjD,OAAO,CAAC,GAAG,CAAC,mCAAmC,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;gBAChF,MAAM,OAAO,GAAG,qCAAmB,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;gBAChD,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC;gBAC9E,OAAO,CAAC,GAAG,CAAC,iBAAiB,EAAE;oBAC7B,aAAa;oBACb,KAAK;oBACL,KAAK;oBACL,KAAK;oBACL,KAAK;oBACL,MAAM;oBACN,MAAM;iBACP,CAAC,CAAC;gBAuEH,MAAM,gBAAgB,GAAG,CACvB,QAAyB,EACa,EAAE;oBACxC,IAAI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,IAAI,CAAC,CAClC,CAAC;IACJ,CAAC;IACD,OAAO,2BAA2B,EAAE,CAAC;AACvC,CAAC"}
@@ -484,3 +484,26 @@ export declare const GET_WORK_ITEM_TYPES: TypedDocumentNode<{
484
484
  }, {
485
485
  namespacePath: string;
486
486
  }>;
487
+ export interface WorkItemCreateInput {
488
+ namespacePath: string;
489
+ title: string;
490
+ workItemTypeId: string;
491
+ description?: string;
492
+ assigneesWidget?: {
493
+ assigneeIds: string[];
494
+ };
495
+ labelsWidget?: {
496
+ labelIds: string[];
497
+ };
498
+ milestoneWidget?: {
499
+ milestoneId: string;
500
+ };
501
+ }
502
+ export declare const CREATE_WORK_ITEM_WITH_WIDGETS: TypedDocumentNode<{
503
+ workItemCreate: {
504
+ workItem: WorkItem;
505
+ errors: string[];
506
+ };
507
+ }, {
508
+ input: WorkItemCreateInput;
509
+ }>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GET_WORK_ITEM_TYPES = exports.DELETE_WORK_ITEM = exports.UPDATE_WORK_ITEM = exports.CREATE_WORK_ITEM_WITH_DESCRIPTION = exports.CREATE_WORK_ITEM = exports.GET_WORK_ITEM = exports.GET_PROJECT_WORK_ITEMS = exports.GET_WORK_ITEMS = exports.GET_NAMESPACE_WORK_ITEMS = exports.GET_NAMESPACE_TYPE = exports.GET_GROUP_PROJECTS = exports.WorkItemWidgetTypes = void 0;
3
+ exports.CREATE_WORK_ITEM_WITH_WIDGETS = exports.GET_WORK_ITEM_TYPES = exports.DELETE_WORK_ITEM = exports.UPDATE_WORK_ITEM = exports.CREATE_WORK_ITEM_WITH_DESCRIPTION = exports.CREATE_WORK_ITEM = exports.GET_WORK_ITEM = exports.GET_PROJECT_WORK_ITEMS = exports.GET_WORK_ITEMS = exports.GET_NAMESPACE_WORK_ITEMS = exports.GET_NAMESPACE_TYPE = exports.GET_GROUP_PROJECTS = exports.WorkItemWidgetTypes = void 0;
4
4
  const graphql_tag_1 = require("graphql-tag");
5
5
  exports.WorkItemWidgetTypes = {
6
6
  ASSIGNEES: 'ASSIGNEES',
@@ -988,4 +988,163 @@ exports.GET_WORK_ITEM_TYPES = (0, graphql_tag_1.gql) `
988
988
  }
989
989
  }
990
990
  `;
991
+ exports.CREATE_WORK_ITEM_WITH_WIDGETS = (0, graphql_tag_1.gql) `
992
+ mutation CreateWorkItemWithWidgets($input: WorkItemCreateInput!) {
993
+ workItemCreate(input: $input) {
994
+ workItem {
995
+ id
996
+ iid
997
+ title
998
+ description
999
+ state
1000
+ workItemType {
1001
+ id
1002
+ name
1003
+ }
1004
+ createdAt
1005
+ updatedAt
1006
+ closedAt
1007
+ webUrl
1008
+ widgets {
1009
+ type
1010
+ ... on WorkItemWidgetAssignees {
1011
+ allowsMultipleAssignees
1012
+ canInviteMembers
1013
+ assignees {
1014
+ nodes {
1015
+ id
1016
+ username
1017
+ name
1018
+ avatarUrl
1019
+ webUrl
1020
+ }
1021
+ }
1022
+ }
1023
+ ... on WorkItemWidgetLabels {
1024
+ allowsScopedLabels
1025
+ labels {
1026
+ nodes {
1027
+ id
1028
+ title
1029
+ description
1030
+ color
1031
+ textColor
1032
+ }
1033
+ }
1034
+ }
1035
+ ... on WorkItemWidgetDescription {
1036
+ description
1037
+ descriptionHtml
1038
+ edited
1039
+ lastEditedAt
1040
+ lastEditedBy {
1041
+ id
1042
+ username
1043
+ name
1044
+ }
1045
+ }
1046
+ ... on WorkItemWidgetHierarchy {
1047
+ parent {
1048
+ id
1049
+ iid
1050
+ title
1051
+ workItemType {
1052
+ name
1053
+ }
1054
+ }
1055
+ children {
1056
+ nodes {
1057
+ id
1058
+ iid
1059
+ title
1060
+ workItemType {
1061
+ name
1062
+ }
1063
+ }
1064
+ }
1065
+ hasChildren
1066
+ }
1067
+ ... on WorkItemWidgetMilestone {
1068
+ milestone {
1069
+ id
1070
+ title
1071
+ description
1072
+ state
1073
+ dueDate
1074
+ startDate
1075
+ webPath
1076
+ }
1077
+ }
1078
+ ... on WorkItemWidgetStartAndDueDate {
1079
+ startDate
1080
+ dueDate
1081
+ }
1082
+ ... on WorkItemWidgetHealthStatus {
1083
+ healthStatus
1084
+ }
1085
+ ... on WorkItemWidgetNotifications {
1086
+ subscribed
1087
+ }
1088
+ ... on WorkItemWidgetCurrentUserTodos {
1089
+ currentUserTodos {
1090
+ nodes {
1091
+ id
1092
+ state
1093
+ }
1094
+ }
1095
+ }
1096
+ ... on WorkItemWidgetAwardEmoji {
1097
+ upvotes
1098
+ downvotes
1099
+ awardEmoji {
1100
+ nodes {
1101
+ name
1102
+ emoji
1103
+ user {
1104
+ id
1105
+ username
1106
+ name
1107
+ }
1108
+ }
1109
+ }
1110
+ }
1111
+ ... on WorkItemWidgetColor {
1112
+ color
1113
+ }
1114
+ ... on WorkItemWidgetParticipants {
1115
+ participants {
1116
+ nodes {
1117
+ id
1118
+ username
1119
+ name
1120
+ avatarUrl
1121
+ }
1122
+ }
1123
+ }
1124
+ ... on WorkItemWidgetWeight {
1125
+ weight
1126
+ }
1127
+ ... on WorkItemWidgetVerificationStatus {
1128
+ verificationStatus
1129
+ }
1130
+ ... on WorkItemWidgetTimeTracking {
1131
+ timeEstimate
1132
+ totalTimeSpent
1133
+ }
1134
+ ... on WorkItemWidgetIteration {
1135
+ iteration {
1136
+ id
1137
+ title
1138
+ description
1139
+ state
1140
+ startDate
1141
+ dueDate
1142
+ }
1143
+ }
1144
+ }
1145
+ }
1146
+ errors
1147
+ }
1148
+ }
1149
+ `;
991
1150
  //# sourceMappingURL=workItems.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"workItems.js","sourceRoot":"","sources":["../../src/graphql/workItems.ts"],"names":[],"mappings":";;;AAAA,6CAAkC;AAuDrB,QAAA,mBAAmB,GAAG;IACjC,SAAS,EAAE,WAAW;IACtB,WAAW,EAAE,aAAa;IAC1B,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE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