Skip to content

Add tags to create_issue - #46

Closed
vt244 wants to merge 1 commit into
tonyzorin:mainfrom
vt244:feat/create-issue-tags
Closed

vt244 wants to merge 1 commit into
tonyzorin:mainfrom
vt244:feat/create-issue-tags

Conversation

@vt244

@vt244 vt244 commented Nov 2, 2026

Copy link
Copy Markdown

YouTrack attaches tags by id and does not create them implicitly.

Adds a tags parameter to create_issue. Names are resolved case-insensitively through issueTags, missing tags are created, and the result is sent together with custom_fields.

Testing

  • Unit tests: 726 passed, 2 failed, 37 skipped. test_update_issue_success and test_get_tool_definitions_legacy_format fail on a clean main too.
  • Tool calls were run through the MCP layer with mocked HTTP, checking the outgoing requests.
  • Not tested against a live YouTrack server on this branch.

YouTrack attaches tags by id and does not create them implicitly. Resolve
names case-insensitively through issueTags, create the missing ones, and
send the result alongside custom_fields in the same request.
@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b1c85cd3-cdfe-4664-b8cb-95089668f03b
Commits

Reviewing files that changed from the base of the PR and between 7ef9b4d and 7ab0dfb.

Files selected for processing: 4
  • youtrack_mcp/api/issues.py
  • youtrack_mcp/tools/issues/__init__.py
  • youtrack_mcp/tools/issues/basic_operations.py
  • youtrack_mcp/tools/issues/utilities.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

tonyzorin added a commit that referenced this pull request Nov 11, 2026
Return issue tags on get_issue (#42). Request text/login on custom field
values so text fields are not empty (#45). Add tags on create_issue with
resolve_tag_ids (#46). Add skip paging to search_issues and advanced_search,
including the MCP search_issues tool (#47).

Thanks @vt244 and root-searchanise; implemented on main rather than merging forks.
@tonyzorin

Copy link
Copy Markdown
Owner

Thanks @vt244 — implemented on main in 03cccae.

Added create_issue(..., tags=) with IssuesClient.resolve_tag_ids (paginate issueTags, case-insensitive match, create missing tags) plus unit tests.

Closing as implemented here.

@tonyzorin

Copy link
Copy Markdown
Owner

Implemented on main in 03cccae.

@tonyzorin tonyzorin closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants