Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Value type

Optional

Description

startAt

number

false

The index of the first item returned in the page of results.

Example: “startAt”: 0

startDate

string
(format: "yyy-MM-dd")

false

The start date from which the worklogs can be viewed. The query is run from the beginning of the given day (00:00:00)
Example: “startDate”: “2021-01-01”

endDate

string
(format: "yyy-MM-dd")

false

The end date until which the worklogs can be viewed. The query is run until the end of the given day (23:59:59).

Example: “endDate”: “2023-01-01”

filterBillable

boolean

true

Filtering worklogs based on this boolean. True returns billable worklogs, false returns non-billable worklogs.

If this parameter is not provided both billable and non-billable worklogs are returned.

Example: “filterBillable”: true

projects

string[]

true

IDs of projects whose worklogs will be returned.

If this parameter is not provided the worklogs will not be filtered based on projects.

Example: “projects”: [“10000“]

filters

string[]

true

IDs of filters whose worklogs will be returned.

If this parameter is not provided the worklogs will not be filtered based on the provided filter ids.

Example: “filters”: [“10020“]

jql

string

true

JQL expression to filter the issues whose worklogs will be returned.

If this parameter is not provided the worklogs will not be filtered based on this parameter.

Example: “jql”: “project = S1“

groups

string[]

true

Names of groups whose worklogs will be returned.

If this parameter is not provided the worklogs will not be returned filtered based on worklog author group membershipuser groups.

Example: “groups”: [“administrators“]

users

string[]

true

AccountIds of users whose worklogs will be returned.

If this parameter is not provided the worklogs will not be returned filtered based on worklog author userusers.

Example: “users”: [“5f18aff107efc400285dfe12“]

expand

string[]

true

Use expand to include additional information about issues and worklogs in the response.

If this parameter is not provided the result will not be expanded.

Possible values: ASSIGNEE, AUTHOR, PRIORITY, PROJECT, REPORTER, STATUS, TYPE

Example: “expand”: [“PROJECT“, “AUTHOR“]

maxResults

number

true

The maximum number of items that can be returned per page. Defaults to 50.
Example: “maxResults” : 1000

orderBy

string

true

Order-by definition, which is a field name optionally prefixed with a dash, which indicates descending order direction. If not specified defaults to:

“-worklogStartTime“

Possible Values:

"worklogCreated","-worklogCreated","worklogStartTime","-worklogStartTime","worklogTimeSpent","-worklogTimeSpent","worklogUpdated","-worklogUpdated"

Example: “orderBy” : “worklogCreated“

reportTagFilter

ReportTagFilter

true

Report tag filter data. A worklog is returned if it has at least one of the tag specified in the tags array.

If this parameter is not provided the result will not be filtered based on tags.

Example:

Code Block
    "reportTagFilter": {
        "includeTaglessWorklogs": true,
        "tags": [1, 5]
    }

...