Bugs

API v3 / MCP update ignores "Automatically create a new Draft Version" and publishes changes immediately
Summary Updating an article through API v3 (PUT /api/v3/articles/:id) or the MCP tool QuestionsUpdateQuestionTool always writes to the latest version of the article. If that version is published, the new content goes live immediately and replaces the previous content, including in the revision history, so it cannot be restored from the editor. This happens even with the setting "Automatically create a new Draft Version of your Article when you edit a Published one" enabled (Settings > Review Process > Article Versions). The setting works in the editor, but is not applied to updates made through API v3 or the MCP server. Steps to reproduce Make sure "Automatically create a new Draft Version of your Article when you edit a Published one" is enabled. Pick a published article that has no draft version. Send a new body through PUT /api/v3/articles/:id (or QuestionsUpdateQuestionTool). Open the article in the editor and check the version selector. Expected result A new draft version is created with the new content, and the published version stays unchanged, as it happens in the editor. Actual result The new content is written into the published version and goes live. No draft version is created. The previous content is no longer available in the revision history. Workaround: clicking "New Version" in the editor before the API call makes the update land in the draft version. Impact Teams that write and review articles outside Helpjuice (for example, in Git) cannot safely upload content through the API or MCP. Every upload requires opening the article and creating a new version manually, otherwise content is published by mistake. Suggestions Apply the "Automatically create a new Draft Version" setting to API v3 and MCP updates. Or add an endpoint/tool to create a new version, or a parameter to save the update as a draft in a new version. Return in the response which version was updated and whether it is a draft or published.
0
·
API
MCP server: article update blocked by CloudFront 403 and wrong revision status
When updating an article through the Helpjuice MCP server (QuestionsUpdateQuestionTool), requests with real article HTML in the body are blocked, and the revision status returned afterwards does not match what is shown in the editor. Steps to reproduce Connect an MCP client to https://helpjuice.com/mcp . Call QuestionsUpdateQuestionTool on an existing published article, sending the article's own HTML in the "body" field (it can be the exact content already published). Repeat with a simple body, such as <p>Test</p>. Call QuestionsShowQuestionTool on the same article and compare the result with the editor and the public page. Expected result The HTML body is accepted. The returned status matches the editor: if the update is saved as a draft, the response shows a pending draft. An existing draft is not overwritten silently. Actual result Step 2 fails with a CloudFront 403 ("Request blocked"), with or without embedded video (iframe), even when the HTML is unchanged. Title-only updates and simple <p> bodies work. After step 3, the editor shows the new version as Draft and the public page keeps the previous content. However, QuestionsShowQuestionTool returns the new text as "published_content", with "status: published", "is_current: true" and "has_pending_draft: false". If the article already has an open draft, the update overwrites it without warning. Impact Teams that write articles outside Helpjuice (for example, in Git) cannot upload them through the MCP server, and cannot rely on the API response to know whether an article was published or saved as a draft. Suggestions Allow article HTML through the update tool. Return the correct status and "has_pending_draft". Add a parameter to choose between saving as a draft and publishing, and warn before overwriting an existing draft.
0
·
API
Load More
→