Add tracked time to a issue
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Owner of the repo
Name of the repo
Index of the issue
Request Body
Section titled “ Request Body ”AddTimeOption options for adding time to an issue
object
Time in seconds
User who spent the time (optional)
Example generated
{ "created": "2026-04-15T12:00:00Z", "time": 1, "user_name": "example"}Responses
Section titled “ Responses ”TrackedTime
TrackedTime worked time for an issue / pr
object
Issue represents an issue in a repository
object
Attachment a generic attachment
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Label a label to an issue or a pr
object
Milestone milestone is a collection of issues on one repository
object
StateType issue state type
PullRequestMeta PR info if an issue is a PR
object
RepositoryMeta basic repository information
object
StateType issue state type
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s profile page
The user’s id
Is the user an administrator
User locale
The user’s location
The user’s username
The user’s authentication sign-in name.
Is user login prohibited
The user’s pronouns
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private
The user’s website
Deprecated (only for backwards compatibility)
Time in seconds
Deprecated (only for backwards compatibility)
Example
{ "issue": { "assets": [ { "type": "attachment" } ], "assignee": { "login_name": "empty" }, "assignees": [ { "login_name": "empty" } ], "labels": [ { "color": "00aabb", "exclusive": false, "is_archived": false } ], "user": { "login_name": "empty" } }}APIError is error format response
APIError is an api error with a message
object
Example generated
{ "message": "example", "url": "example"}APIForbiddenError is a forbidden error response
object
Example generated
{ "message": "example", "url": "example"}APINotFound is a not found error response
object
Example generated
{ "errors": [ "example" ], "message": "example", "url": "example"}