createPost Mutation
Creates a Post — a discussion entry attached to a Project,
Recipe, Slice, or task. type sets the kind: "message" (team
conversation), "idea" (improvement suggestion), "issue"
(issue/risk tracking), or "reply". For issues, secondaryType
distinguishes "Issue" from "Risk" and priority ranks it; these
carry no meaning on other kinds. open is required on every
call — pass true for non-issue Posts; passing open: false
records the close timestamp internally (not exposed as a field).
A top-level Post attaches to exactly one container: pass exactly
one of projectId, sliceId, todoId, recipeId,
recipeSliceId, or recipeTodoId (zero or several fails with
not_allowed). To reply to an existing Post, pass postId
instead — the reply inherits the parent's container
automatically. ownerId assigns the Post to a user; when the
owner differs from the author, the new owner is notified by
email. User mentions written in content (the UI's @-mention
markup) are recorded against the Post.
Post content is plain text. Line breaks are kept.
HTML is not rendered, so tags such as <p> or <strong> would
show up as literal text. (A task's description is different —
it takes HTML.)
The caller needs view access to the target container — or, for
replies, must be the parent Post's author, owner, or a mentioned
user, or have access to the parent's container. Returns the
created Post. Issue Posts also feed the Project's status
indicators.
Arguments
#
content
Post body as plain text. Line breaks are kept. HTML is not rendered, so do not send HTML tags such as
or ; they would display as literal text.
ownerEmail
Email address of the user the Post is assigned to, instead of ownerId. With an organization access token it must belong to a member of the token's organization.
projectId
recipeId
recipeSliceId
recipeTodoId
sliceId
title
todoId
Response
#
Returns Post .
Example
#
createBoxes
createProject
