Open Questions Convert To Story
open_questions_convert_to_storyWrite an answered open question's decision into the backlog. A question asked about a story usually revises that story (action "revise"); a question about the whole project can revise the story whose goal its answer settles (revises_story_id). Otherwise, or when the answer settles a different goal, it becomes a new story. The text and the action are drafted for you when content is omitted; pass dry_run to read the draft (with the story's previous text, and any reviewed requirements to revisit) without changing anything, then pass content, action and revises_story_id back. action without content drafts for that action instead of letting the model choose. A new story is aligned to stakeholders unless run_align_to_story is false; when that fails, the story is saved all the same and alignment_failure says why. Fails with 409 if the question is unanswered or already converted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | With content: "revise" rewrites the story the question was asked about (or, for a question about the whole project, the story in revises_story_id) with content; "new" (the default) adds a story. Pass back the action a dry run returned, or override it. | |
| content | No | Story text to use. Omit to have it drafted from the question and answer. | |
| dry_run | No | If true, return the drafted story text without creating the story. | |
| human_id | No | Story human label (e.g. S-3), for creation and display. | |
| project_id | Yes | Project UUID (database id). | |
| open_question_id | Yes | Open question UUID (database id). | |
| revises_story_id | No | UUID of the story to revise, as returned by the dry run. For a story-scoped question it must match the associated story. | |
| run_align_to_story | No | If true, run the align_to_story LLM job after saving the story. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| story | No | Story summary fields. | |
| action | Yes | "revise": content replaces the story in revises_story_id (the one the question was asked about, or the one its answer settles). "new": content is a new story. | |
| content | Yes | Story text to use. Omit to have it drafted from the question and answer. | |
| question | No | Open question summary fields. | |
| previous_content | No | For a revision: the story's text before it. | |
| revises_story_id | No | For a revision: UUID of the story it rewrites. | |
| alignment_failure | No | For a new story: why it could not be aligned to stakeholders. The story and the question's link to it are saved all the same, so converting again is refused; align it with stories_update and `run_align_to_story: true`. | |
| requirement_labels | No | Human labels keyed by UUID for requirements_to_revisit. | |
| revises_story_label | No | For a revision: human story label for display. | |
| requirements_to_revisit | No | For a revision of a story whose requirements are reviewed or further along: those requirements, which the changed story may no longer match. |