Skip to content

Fix custom fields not being sent in API payload#16

Open
roromedia wants to merge 1 commit into
AndyEverything:mainfrom
roromedia:main
Open

Fix custom fields not being sent in API payload#16
roromedia wants to merge 1 commit into
AndyEverything:mainfrom
roromedia:main

Conversation

@roromedia
Copy link
Copy Markdown

Custom fields were passed through the tool handler but never copied to the API payload in create_work_package and update_work_package client methods.

Added handling for customField* keys:

  • List-type fields (with href) go to payload["_links"]
  • Text/number fields go directly to payload

Custom fields were passed through the tool handler but never copied
to the API payload in create_work_package and update_work_package
client methods.

Added handling for customField* keys:
- List-type fields (with href) go to payload["_links"]
- Text/number fields go directly to payload

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
kingfly55 pushed a commit to kingfly55/openproject-mcp-server that referenced this pull request Apr 17, 2026
…yload

Custom fields were passed through the tool handler but never copied
to the API payload in create_work_package and update_work_package
client methods. Added handling for customField* keys: list-type fields
(with href) go to payload["_links"], text/number fields go directly to payload.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
kingfly55 pushed a commit to kingfly55/openproject-mcp-server that referenced this pull request Apr 17, 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.

1 participant