OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
# Schema: TimeEntryModel
---
type: object
properties:
id:
type: integer
description: The id of the time entry
minimum: 1
comment:
type: string
description: A comment to the time entry
spentOn:
type: string
format: date
description: The date the expenditure is booked for
hours:
type: string
format: duration
description: The time quantifying the expenditure
ongoing:
type: boolean
description: Whether the time entry is actively tracking time
createdAt:
type: string
format: date-time
description: The time the time entry was created
startTime:
type:
- string
- "null"
format: date-time
description: |-
The time the time entry was started, or null if the time entry does not have a start time.
The time is returned as UTC time, if presented to the user it should be converted to the user's timezone.
This field is only available if the global `allow_tracking_start_and_end_times` setting is enabled.
endTime:
type:
- string
- "null"
format: date-time
description: |-
The time the time entry was ended, or null if the time entry does not have a start time.
The time is returned as UTC time, if presented to the user it should be converted to the user's timezone.
This field is only available if the global `allow_tracking_start_and_end_times` setting is enabled.
updatedAt:
type: string
format: date-time
description: The time the time entry was last updated
_links:
type: object
required:
- self
- project
- user
- activity
- entity
properties:
self:
allOf:
- "$ref": "./link.yml"
- description: |-
This time entry
**Resource**: TimeEntry
updateImmediately:
allOf:
- "$ref": "./link.yml"
- description: |-
Directly perform edits on this time entry
# Conditions
**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user
update:
allOf:
- "$ref": "./link.yml"
- description: |-
Form endpoint that aids in preparing and performing edits on a TimeEntry
# Conditions
**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user
delete:
allOf:
- "$ref": "./link.yml"
- description: |-
Delete this time entry
# Conditions
**Permission**: 'edit time entries' or 'edit own time entries' if the time entry belongs to the user
schema:
allOf:
- "$ref": "./link.yml"
- description: |-
The time entry schema
**Resource**: Schema
project:
allOf:
- "$ref": "./link.yml"
- description: |-
The project the time entry is bundled in. The project might be different from the work package's project once the workPackage is moved.
**Resource**: Project
entity:
allOf:
- "$ref": "./link.yml"
- description: |-
The entity the time entry is created on
**Resource**: WorkPackage, Meeting
user:
allOf:
- "$ref": "./link.yml"
- description: |-
The user the time entry tracks expenditures for
**Resource**: User
activity:
allOf:
- "$ref": "./link.yml"
- description: |-
The time entry activity the time entry is categorized as
**Resource**: TimeEntriesActivity
examples:
- _type: TimeEntry
id: 42
comment:
format: plain
raw: "The force shall set me free."
html: "<p>The force shall set me free.</p>"
spentOn: "2023-01-11"
hours: "PT4H"
startTime: "2023-01-11T09:58:00.000Z"
endTime: "2023-01-11T13:58:00.000Z"
createdAt: "2023-01-11T13:58:24.927Z"
updatedAt: "2023-01-11T13:58:24.927Z"
_links:
self:
href: "/api/v3/time_entries/42"
updateImmediately:
href: "/api/v3/time_entries/42"
method: patch
update:
href: "/api/v3/time_entries/42/form"
method: post
delete:
href: "/api/v3/time_entries/42"
method: delete
schema:
href: "/api/v3/time_entries/schema"
project:
href: "/api/v3/projects/11"
title: DeathStarV2
entity:
href: "/api/v3/work_packages/77"
title: Build new hangar
user:
href: "/api/v3/users/3"
title: Darth Vader
activity:
href: "/api/v3/time_entries/activities/1"
title: Management