Private
_labelsThe available operations for the resource, any not in this list will raise an error when called
Internal
changedFields that have been changed, used to determine what to update. It is not recommended to access this property directly.
Fields that are used when creating a new resource
Static
baseSet the labels associated with the story. In order for creating/updating of stories to work properly with labels, you must set the labels to a new array of labels, rather than modifying the existing array. This allows the Story class to track changes to the labels.
Protected
_preProvide a story or story ID to indicate that this work blocks another story from being ready to start.
Create a new instance of the resource, using the current object's properties. Use the xCreateData
interface to determine which fields are available for creation.
Provide a story or story ID to indicate that this story is duplicative of another story.
Private
instantiatePrivate
instantiatePrivate
instantiatePrivate
instantiatePrivate
instantiateProvide a story or story ID to indicate that this story is related to another story.
Get the history of workflow changes for the story as a flat array. See FlatHistory for the structure of the flat history. This is useful for making calculations or determining when specific events occurred as it reduces the complexity of the history data. Note however that there is additional network overhead in fetching the history data. There is an initial request to fetch all workflow history, and each subsequent Member is fetched individually.
Base class for all Shortcut resources. Provides methods for creating, updating, and deleting resources.
Remarks
Related: StoriesService for the service managing stories.
Story