Skip to main content

goalsByIds

Returns lightweight references for several goals, including soft-deleted ones, in the order the ids were given. Use it instead of repeated goalRef calls. Duplicate ids appear once, and unknown or inaccessible ids are left out without an error. Requires goal view access.

goalsByIds(
ids: [Int!]!
): [GoalRef!]!

Arguments​

goalsByIds.ids ● [Int!]! non-null scalar​

Goal ids from goalRefList, goalCardList, or stored references; deleted goals are accepted.

Type​

GoalRef object​

Lightweight goal reference returned by goalRefList, goalRef, and goalsByIds; may be soft-deleted.