Skip to content

Return text custom field values - #45

Closed
vt244 wants to merge 1 commit into
tonyzorin:mainfrom
vt244:fix/text-custom-fields
Closed

vt244 wants to merge 1 commit into
tonyzorin:mainfrom
vt244:fix/text-custom-fields

Conversation

@vt244

@vt244 vt244 commented Nov 2, 2026

Copy link
Copy Markdown

Issue queries did not request the text attribute, so TextIssueCustomField values came back as {"id": "text"} and looked empty.

Requests value($type,id,name,text,login) wherever issue custom fields are fetched. login also fills in user fields that only returned name.

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.
  • Not tested against a live YouTrack server on this branch.

Issue queries did not request the text attribute, so TextIssueCustomField
values came back as {"id": "text"} and looked empty. Request
value($type,id,name,text,login) wherever issue custom fields are fetched;
login also fills in user fields that only returned name.
@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: 1ff9218a-3f70-4c63-ac1d-a1b08d666beb
Commits

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

Files selected for processing: 6
  • tests/unit/tools/issues/test_attachments.py
  • tests/unit/tools/issues/test_basic_operations.py
  • youtrack_mcp/api/issues.py
  • youtrack_mcp/api/search.py
  • youtrack_mcp/tools/issues/attachments.py
  • youtrack_mcp/tools/issues/basic_operations.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.

Issue queries now request value($type,id,name,text,login) on custom fields across get_issue, search_issues, get_issue_raw, and the search API helpers.

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