Skip to content

Atlassian: Issue worklogs schemas

7 Atlassian schemas with complete fields and constraints.

← Issue worklogs operations · All schemas

Add worklog — request body — body

FieldTypePresenceDescription and constraints
$objectRootDetails of a worklog.
Additional keys: allowed
authorModelOptionalExpand Add comment — request body — body author
Details of the user who created the worklog.
Read only: true
commentJSONOptionalA comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). Optional when creating or updating a worklog.
createdstringOptionalThe datetime on which the worklog was created.
Format: date-time
Read only: true
idstringOptionalThe ID of the worklog record.
Read only: true
issueIdstringOptionalThe ID of the issue this worklog is for.
Read only: true
propertiesarrayOptionalDetails of properties for the worklog. Optional when creating or updating a worklog.
properties[]ModelEach itemExpand Edit issue — request body — body properties item
selfstringOptionalThe URL of the worklog item.
Format: uri
Read only: true
startedstringOptionalThe datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.
Format: date-time
timeSpentstringOptionalThe time spent working on the issue as days (\#d), hours (\#h), or minutes (\#m or \#). Required when creating a worklog if `timeSpentSeconds` isn't provided. Optional when updating a worklog. Cannot be provided if `timeSpentSecond` is provided.
timeSpentSecondsintegerOptionalThe time in seconds spent working on the issue. Required when creating a worklog if `timeSpent` isn't provided. Optional when updating a worklog. Cannot be provided if `timeSpent` is provided.
Format: int64
updateAuthorModelOptionalExpand Add comment — request body — body author
Details of the user who last updated the worklog.
Read only: true
updatedstringOptionalThe datetime on which the worklog was last updated.
Format: date-time
Read only: true
visibilityModelOptionalExpand Add comment — request body — body visibility
Details about any restrictions in the visibility of the worklog. Optional when creating or updating a worklog.

Referenced models: Edit issue — request body — body properties item, Add comment — request body — body author, Add comment — request body — body visibility

Add worklog — response body

FieldTypePresenceDescription and constraints
$objectRootDetails of a worklog.
Additional keys: allowed
authorJSONOptional
author (anyOf 1)ModelAlternativeExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
Details of the user who created the worklog.
Read only: true
author (anyOf 2)nullAlternative
commentJSONOptional
comment (anyOf 1)JSONAlternativeA comment about the worklog in [Atlassian Document Format](https://developer.atlassian.com/cloud/jira/platform/apis/document/structure/). Optional when creating or updating a worklog.
comment (anyOf 2)nullAlternative
createdJSONOptional
created (anyOf 1)JSONAlternative
created (anyOf 1) (anyOf 1)stringAlternativeThe datetime on which the worklog was created.
Read only: true
created (anyOf 1) (anyOf 2)integerAlternative
created (anyOf 2)nullAlternative
idJSONOptional
id (anyOf 1)stringAlternativeThe ID of the worklog record.
Read only: true
id (anyOf 2)nullAlternative
issueIdJSONOptional
issueId (anyOf 1)stringAlternativeThe ID of the issue this worklog is for.
Read only: true
issueId (anyOf 2)nullAlternative
propertiesJSONOptional
properties (anyOf 1)arrayAlternativeDetails of properties for the worklog. Optional when creating or updating a worklog.
properties (anyOf 1)[]ModelEach itemExpand Get user property — response body
properties (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of the worklog item.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
startedJSONOptional
started (anyOf 1)JSONAlternative
started (anyOf 1) (anyOf 1)stringAlternativeThe datetime on which the worklog effort was started. Required when creating a worklog. Optional when updating a worklog.
started (anyOf 1) (anyOf 2)integerAlternative
started (anyOf 2)nullAlternative
timeSpentJSONOptional
timeSpent (anyOf 1)stringAlternativeThe time spent working on the issue as days (\#d), hours (\#h), or minutes (\#m or \#). Required when creating a worklog if `timeSpentSeconds` isn't provided. Optional when updating a worklog. Cannot be provided if `timeSpentSecond` is provided.
timeSpent (anyOf 2)nullAlternative
timeSpentSecondsJSONOptional
timeSpentSeconds (anyOf 1)JSONAlternative
timeSpentSeconds (anyOf 1) (anyOf 1)integerAlternativeThe time in seconds spent working on the issue. Required when creating a worklog if `timeSpent` isn't provided. Optional when updating a worklog. Cannot be provided if `timeSpent` is provided.
Format: int64
timeSpentSeconds (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
timeSpentSeconds (anyOf 2)nullAlternative
updateAuthorJSONOptional
updateAuthor (anyOf 1)ModelAlternativeExpand Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone
Details of the user who last updated the worklog.
Read only: true
updateAuthor (anyOf 2)nullAlternative
updatedJSONOptional
updated (anyOf 1)JSONAlternative
updated (anyOf 1) (anyOf 1)stringAlternativeThe datetime on which the worklog was last updated.
Read only: true
updated (anyOf 1) (anyOf 2)integerAlternative
updated (anyOf 2)nullAlternative
visibilityJSONOptional
visibility (anyOf 1)ModelAlternativeExpand Add comment — response body — visibility The group or role to which this item is visible
Details about any restrictions in the visibility of the worklog. Optional when creating or updating a worklog.
visibility (anyOf 2)nullAlternative

Referenced models: Get user property — response body, Add comment — response body — author account Id, account Type, active, avatar Urls, display Name, email Address, key, name, self, time Zone, Add comment — response body — visibility The group or role to which this item is visible

Bulk move worklogs — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
idsarrayOptionalA list of worklog IDs.
Unique items: true
ids[]integerEach itemFormat: int64
issueIdOrKeystringOptionalThe issue id or key of the destination issue

Get I Ds of deleted worklogs — response body

FieldTypePresenceDescription and constraints
$objectRootList of changed worklogs.
lastPageJSONOptional
lastPage (anyOf 1)booleanAlternative
lastPage (anyOf 2)nullAlternative
nextPageJSONOptional
nextPage (anyOf 1)stringAlternativeThe URL of the next list of changed worklogs.
Format: uri
Read only: true
nextPage (anyOf 2)nullAlternative
selfJSONOptional
self (anyOf 1)stringAlternativeThe URL of this changed worklogs list.
Format: uri
Read only: true
self (anyOf 2)nullAlternative
sinceJSONOptional
since (anyOf 1)JSONAlternative
since (anyOf 1) (anyOf 1)integerAlternativeThe datetime of the first worklog item in the list.
Format: int64
Read only: true
since (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
since (anyOf 2)nullAlternative
untilJSONOptional
until (anyOf 1)JSONAlternative
until (anyOf 1) (anyOf 1)integerAlternativeThe datetime of the last worklog item in the list.
Format: int64
Read only: true
until (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
until (anyOf 2)nullAlternative
valuesJSONOptional
values (anyOf 1)arrayAlternativeChanged worklog list.
Read only: true
values (anyOf 1)[]ModelEach itemExpand Get I Ds of deleted worklogs — response body — values Changed worklog list item
values (anyOf 2)nullAlternative

Referenced models: Get I Ds of deleted worklogs — response body — values Changed worklog list item

Get I Ds of deleted worklogs — response body — values Changed worklog list item

FieldTypePresenceDescription and constraints
$objectRootDetails of a changed worklog.
propertiesJSONOptional
properties (anyOf 1)arrayAlternativeDetails of properties associated with the change.
Read only: true
properties (anyOf 1)[]ModelEach itemExpand Get user property — response body
properties (anyOf 2)nullAlternative
updatedTimeJSONOptional
updatedTime (anyOf 1)JSONAlternative
updatedTime (anyOf 1) (anyOf 1)integerAlternativeThe datetime of the change.
Format: int64
Read only: true
updatedTime (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
updatedTime (anyOf 2)nullAlternative
worklogIdJSONOptional
worklogId (anyOf 1)JSONAlternative
worklogId (anyOf 1) (anyOf 1)integerAlternativeThe ID of the worklog.
Format: int64
Read only: true
worklogId (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
worklogId (anyOf 2)nullAlternative

Referenced models: Get user property — response body

Get issue worklogs — response body

FieldTypePresenceDescription and constraints
$objectRootPaginated list of worklog details
Additional keys: allowed
maxResultsJSONOptional
maxResults (anyOf 1)JSONAlternative
maxResults (anyOf 1) (anyOf 1)integerAlternativeThe maximum number of results that could be on the page.
Format: int32
Read only: true
maxResults (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
maxResults (anyOf 2)nullAlternative
startAtJSONOptional
startAt (anyOf 1)JSONAlternative
startAt (anyOf 1) (anyOf 1)integerAlternativeThe index of the first item returned on the page.
Format: int32
Read only: true
startAt (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
startAt (anyOf 2)nullAlternative
totalJSONOptional
total (anyOf 1)JSONAlternative
total (anyOf 1) (anyOf 1)integerAlternativeThe number of results on the page.
Format: int32
Read only: true
total (anyOf 1) (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
total (anyOf 2)nullAlternative
worklogsJSONOptional
worklogs (anyOf 1)arrayAlternativeList of worklogs.
Read only: true
worklogs (anyOf 1)[]ModelEach itemExpand Add worklog — response body
worklogs (anyOf 2)nullAlternative

Referenced models: Add worklog — response body

Get worklogs — request body — body

FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
idsarrayRequired within parentA list of worklog IDs.
Unique items: true
ids[]integerEach itemFormat: int64

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.