Skip to main content

goalRef

Returns one lightweight goal reference, including soft-deleted goals. Use goalLinked for trigger filters or goalsByIds for several ids. An unknown or inaccessible id returns Goal not found. Requires goal view access.

goalRef(
id: Int!
): GoalRef!

Arguments​

goalRef.id ● Int! non-null scalar​

Goal id from goalRefList, goalCardList, or a stored reference; deleted goals are accepted.

Type​

GoalRef object​

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