OBJECT

Task

Task class

link GraphQL Schema definition

  • type Task {
  • # Auto-incrementing integer unique to task table. Generated automatically on
  • # create
  • id: Int
  • # The Task
  • title: String
  • # The id of the Key Result that the task is assigned to
  • key_result_id: Int
  • # Tasks are assigned to weeks. This field marks the Monday for the week that the
  • # task is assigned to. Defaults to the Monday in the current week
  • due_date: Int
  • # Is this a one off (0), daily (1), weekly (2), monthly (3), yearly (4)
  • occurence: Int
  • # Is this a major objective
  • major: Int
  • # Is this a public (0) or a private (1) task
  • private: Int
  • # Is this a commit (0) or a stretch (1)
  • type: Int
  • # The confidence in the success of the task
  • confidence: Int
  • # The id of the Business that the task is assigned to
  • business_id: Int
  • # The User indicates here how long they think the task will take. They use the UI
  • # to set this in hours and minutes but it is passed to the API as seconds.
  • # DEFAULTS to 0
  • time_estimate: Int
  • # An array of key_results assigned to an objective
  • key_results: [Keyresult]
  • # The week number in the year
  • week: Int
  • # 2 characters of their name
  • person: String
  • # The business that this belongs to
  • business: Business
  • # The Key Result that this belongs to
  • keyresult: KeyresultTask
  • }