From 3c78e9412b89fb0a7d6792392bbdc57b53b64803 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 30 Nov 2026 23:42:57 +0000 Subject: [PATCH] Say add-survey-to-projects turns on shared waves When a Survey has Shared Intervals in a Project's organisation, adding it to that Project now turns on shared waves for its survey campaign, including a Project that already used it (CP-9418). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01F1a5xrTn7G6kAQDztpWBPj --- openapi.yaml | 4 ++++ server.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/openapi.yaml b/openapi.yaml index c3236bf..8ff42ef 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -15576,6 +15576,10 @@ paths: Every Project is checked first, so if one is refused none is added. A Project that already uses the Survey is left as it is and listed in `existing_project_ids`. + + When the Survey has Shared Intervals (shared waves) in a Project's own organisation, + shared waves are turned on automatically for that Project's survey campaign, including + one that already used the Survey. They are never turned off. security: [{tokenAuth: []}] parameters: - name: id diff --git a/server.js b/server.js index 2f30914..1c1cfc9 100644 --- a/server.js +++ b/server.js @@ -3021,7 +3021,7 @@ function buildDocsPage() { { code: "401", cls: "response-4xx", desc: "Missing or invalid token" }, { code: "404", cls: "response-4xx", desc: "The Survey, or a Project, isn't one you can use; the error names it. Nothing is added" }, { code: "422", cls: "response-4xx", desc: "No project_ids, or a Project is closed or its Project Category doesn't allow other Surveys. Nothing is added" } - ], "The same as Add survey to project(s) on a Survey's page.")} + ], "The same as Add survey to project(s) on a Survey's page. When the Survey has Shared Intervals in a Project's organisation, shared waves are turned on automatically for that Project's survey campaign.")} ${endpointCard("PATCH", "/surveys/{id}", "Change a Survey", true, [ { name: "id", in: "path", type: "integer", required: true, desc: "The Survey (Story Category) id" }, { name: "name", in: "body", type: "string", required: false, desc: "A new name; one your organisation already uses for another Survey is 422" },