Aller au contenu principal

Task & Project Entities

Entities for tasks, projects, sprints, daily plans, and related configuration (statuses, priorities, sizes, issue types).

Task

ColumnTypeDescription
titlestringTask title
numbernumberAuto-increment per project
prefixstringProject prefix (e.g., PROJ)
descriptionstring?Rich text description
statusstring?Current status name
prioritystring?Priority level name
sizestring?Size/complexity name
issueTypestring?Issue type name
estimatenumber?Estimated seconds
dueDateDate?Deadline
startDateDate?Start date
resolvedAtDate?Resolution timestamp
versionstring?Version/milestone
isDraftboolean?Draft status
projectIdUUID?FK to organization_project
creatorIdUUIDFK to user who created
parentIdUUID?FK to parent task (sub-tasks)

Key Relations:

RelationTypeTarget
projectManyToOneOrganizationProject
creatorManyToOneUser
parentManyToOneTask (self-referencing)
childrenOneToManyTask (sub-tasks)
membersManyToManyEmployee
teamsManyToManyOrganizationTeam
tagsManyToManyTag
linkedIssuesOneToManyTaskLinkedIssue
commentsOneToManyComment
timeLogsOneToManyTimeLog
dailyPlansManyToManyDailyPlan

OrganizationProject

ColumnTypeDescription
namestringProject name
startDateDate?Start date
endDateDate?End date
billingenum?RATE_PER_TASK, RATE_PER_HOUR, FLAT_FEE, MILESTONES
currencystring?Project currency
publicbooleanPublic visibility
taskListTypeenumDefault task view type
codestring?Short code
descriptionstring?Project description
colorstring?UI color
billableboolean?Is billable
billingFlatboolean?Flat billing
budgetnumber?Budget amount
budgetTypeenum?Budget tracking type
imageUrlstring?Project image
organizationContactIdUUID?FK to client/contact

OrganizationSprint

ColumnTypeDescription
namestringSprint name
goalstring?Sprint goal
lengthnumberSprint length (days)
startDateDate?Start date
endDateDate?End date
dayStartnumber?Week start day
statusenum?TODO, IN_PROGRESS, DONE
projectIdUUIDFK to project

DailyPlan

ColumnTypeDescription
dateDatePlan date
statusenumPlan status
employeeIdUUIDFK to employee
tasksTask[]Planned tasks (M2M)

Status / Priority / Size / IssueType

Each is a lookup entity with customizable values per project:

ColumnTypeDescription
namestringDisplay name
valuestringUnique value identifier
descriptionstring?Description
iconstring?Icon identifier
colorstring?Color hex
isSystembooleanSystem-defined
projectIdUUID?Scoped to project

TaskLinkedIssue

ColumnTypeDescription
actionenumRelationship type
taskFromIdUUIDSource task
taskToIdUUIDTarget task

Action types: IS_BLOCKED_BY, BLOCKS, IS_CLONED_BY, CLONES, IS_DUPLICATED_BY, DUPLICATES, RELATES_TO