Skip to main content

goalRename

Renames a non-deleted goal without touching its triggers and returns only its id. The name is trimmed and must then be 1 to 255 characters. Requires goal edit access.

goalRename(
id: Int!
name: String!
): GoalMutationResult!

Arguments​

goalRename.id ● Int! non-null scalar​

Goal id from goalRefList or goalCardList.

goalRename.name ● String! non-null scalar​

New goal name; trimmed, then 1 to 255 characters.

Type​

GoalMutationResult object​

Id of the goal changed by goalCreate, goalEdit, goalRename, or goalDelete. Fetch the full goal with goalDetail, or with goalRef after deletion.