All API requests can be made by ActivityTimeline user with Administrator permission only.
ActivityTimeline REST API is turned off by default. You must turn it on before the first use.
ActivityTimeline REST API can be turned on by changing ActivityTimeline REST API setting at AT REST API page in Configuration:
How to Use REST API
-
Create a unique AT REST API authorization token in ActivityTimeline configuration
-
Call API methods with specifying that auth-token as a request Header or URL parameter (or auth_token before AT v8.3.0).
-
If an API key is missing, malformed, or invalid, you will receive an HTTP 401 Unauthorized response code.
Sample Java/C# code of AT REST API usage
Sample Java project that demonstrates how to call AT REST API can be downloaded here (all API methods).
Sample .NET (C#) project that demonstrates how to call AT REST API can be downloaded here (some API methods).
Handling Large Number IDs in JavaScript/Node.js
When calling ActivityTimeline REST API from JavaScript/Node.js, be aware that ActivityTimeline uses numeric identifiers that may be larger than JavaScript's Number type can safely support.
Example Issue:
|
✅ Expected ID |
❌ JavaScript Parsed ID |
|---|---|
|
|
|
Important: Handling “ID Does Not Exist” Errors
If you encounter errors such as “team with this ID does not exist” or “event with this ID does not exist” please keep in mind:
-
When viewing responses in JSON format, large numeric IDs may appear truncated or end with placeholder zeros — masking the actual identifier.
-
To see the full, accurate ID, always check the response in raw text format instead of JSON.
Authorization
You can authorize into the REST API by specifying a unique Authorization Token in one of four supported ways:
-
✅ Preferred: Add
auth-tokenHeader with the value of your Authorization Token -
✅ Alternative: Add
auth-tokenURL parameter with the value of your Authorization Token
🔹 Where to Generate the Token?
ActivityTimeline Configuration → AT REST API page.
Important: Handle the Authorization Token with the same security as a password.
Rate Limits
To ensure consistent performance and fair resource usage, the ActivityTimeline REST API enforces request rate limits.
🔹 Rate limit thresholds:
-
1000 requests per hour
-
200 requests per minute
If a client exceeds these thresholds, the API responds with:
-
HTTP 429 — Too Many Requests
The response includes standard rate-limit headers to support proper retry handling:
-
Retry-After — number of seconds to wait before sending the next request
-
X-Rate-Limit-Remaining — number of requests still available in the current window
These controls help clients manage request bursts and maintain reliable integrations with the API.
Methods
Timeline Schedule & Workload v4.2.0+
Get Timeline
GET /rest/api/1/timeline?auth-token=YOUR_AUTH_TOKEN
Returns information about user and events (Jira issues and custom events) for specified user for specified period of time.
Maximum 1000 records per request. Pass issueOffset parameter to load the next portions.
Request
GET /rest/api/1/timeline?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
long |
Id of a specific team |
|
issueOffset |
int |
Offset for the first level, default is 0 |
|
eventType |
string |
Optional If specified then the system will filter returned items to the specified type.
|
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline?teamId=1234567890&start=2016-07-11&end=2016-07-18&auth-token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline?teamId=1234567890&start=2018-11-30&end=2019-01-01&eventType=HOLIDAY&auth-token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline?teamId=1234567890&start=2018-11-30&end=2019-01-01&eventType=BOOKING&auth-token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline?teamId=1234567890&start=2018-11-30&end=2019-01-01&eventType=ISSUE&auth-token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline?teamId=1234567890&start=2018-11-30&end=2019-01-01&eventType=WORKLOG&auth-token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/timeline/$username?auth-token=YOUR_AUTH_TOKEN
Returns information about user and events (Jira issues and custom events) for specified user for specified period of time.
Maximum 1000 records per request. Pass issueOffset parameter to load the next portions.
Request
GET /rest/api/1/timeline/$username?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
username * |
string |
Username or accountId of specific user |
|
issueOffset |
int |
Offset for the first level, default is 0 |
|
eventType |
string |
Optional If specified then the system will filter returned items to the specified type.
|
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline/admin?start=2016-07-11&end=2016-07-18&auth_token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline/admin?start=2018-11-30&end=2019-01-01&eventType=HOLIDAY&auth_token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline/admin?start=2018-11-30&end=2019-01-01&eventType=BOOKING&auth_token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline/admin?start=2018-11-30&end=2019-01-01&eventType=ISSUE&auth_token=YOUR_AUTH_TOKEN
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/timeline/admin?start=2018-11-30&end=2019-01-01&eventType=WORKLOG&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/team/$teamId/timeline?auth-token=YOUR_AUTH_TOKEN (since v11.2.0)
Returns information about Jira issues and custom events scheduled on the Team Panel (not users) for a specified period of time.
Maximum 1000 records per request. Pass issueOffset parameter to load the next portions.
Request
GET /rest/api/1/team/$teamId/timeline?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
long |
Id of a specific team |
|
issueOffset |
int |
Offset for the first level, default is 0 |
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/1234567890/timeline?start=2025-07-11&end=2025-07-18&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Get Workload
GET /rest/api/1/workload?auth-token=YOUR_AUTH_TOKEN
Returns information about users and workloads for specified team for specified period of time.
Request
GET /rest/api/1/workload?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
long |
id of specified team |
|
projectKey |
string |
Optional ActivityTimeline v8.1.2 and above
|
|
startOffset |
int |
Offset for first users, default is 0 |
|
maxUsers |
int |
Maximum users count to return, max 50 |
|
includeProjectDetails |
boolean |
Optional Activity Timeline v8.2.0 and above
Example
|
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/workload?start=2016-07-11&end=2016-07-18&teamId=1107507732947945188&startOffset=0&maxUsers=50&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/workload/$username?auth-token=YOUR_AUTH_TOKEN (since v8.3.0)
Returns information about user and workloads for specified user for specified period of time.
Request
GET /rest/api/1/workload/$username?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
username * |
string |
Username or accountId of specific user |
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/workload/admin?start=2020-07-01&end=2020-07-30&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/team/$teamId/workload?auth-token=YOUR_AUTH_TOKEN (since v11.2.0)
Returns information about Team Panel workload (not users) for a specified period of time.
Request
GET /rest/api/1/team/$teamId/workload?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
string |
id of a specific team |
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/1234567890/workload?start=2025-07-01&end=2025-07-07&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Get Availability
GET /rest/api/1/availability?auth-token=YOUR_AUTH_TOKEN (since v9.5.4)
Returns information about availability of users of a specific team for a specified period of time.
User’s availability means how many hours of work user still has capacity to do taking into account currently scheduled tasks on that user.
Request
GET /rest/api/1/availability?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
long |
id of specified team |
|
startOffset |
int |
Offset for first users, default is 0 |
|
maxUsers |
int |
Maximum users count to return, max 50 |
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/availability?start=2023-02-11&end=2023-02-18&teamId=5648895637201243664&startOffset=0&maxUsers=50&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/availability/$username?auth-token=YOUR_AUTH_TOKEN (since v9.5.4)
Returns information about availability of a specific user for a specified period of time.
User’s availability means how many hours of work user still has capacity to do taking into account currently scheduled tasks on that user.
Request
GET rest/api/1/availability/$username?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
jql |
string |
v10.4.0+ Optional If specified, the system will filter the issues based on the provided JQL query. By default, non-working events (such vacations, holidays, sick leaves, etc.) are included in the output. To exclude these events, you can add the optional parameter:
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/availability/63c83eb49d59ec705dddddd?start=2023-02-11&end=2023-02-18&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Get Capacity
GET /rest/api/1/capacity?auth-token=YOUR_AUTH_TOKEN (since v9.5.4)
Returns information about total capacity of users of a specific team for a specified period of time.
User’s capacity means how many hours of work user can do each day ignoring currently scheduled tasks on that user.
Request
GET /rest/api/1/capacity?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
teamId * |
long |
id of specified team |
|
startOffset |
int |
Offset for first users, default is 0 |
|
maxUsers |
int |
Maximum users count to return, max 50 |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/capacity?start=2023-02-11&end=2023-02-18&teamId=5648895637201243664&startOffset=0&maxUsers=50&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/capacity/$username?auth-token=YOUR_AUTH_TOKEN (since v9.5.4)
Returns information about total capacity of a specific user for a specified period of time.
User’s capacity means how many hours of work user can do each day ignoring currently scheduled tasks on that user.
Request
GET rest/api/1/capacity/$username?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/capacity/63c83eb49d59ec705dddddd?start=2023-02-11&end=2023-02-18&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Custom events v4.5.5+
POST /rest/api/1/event?auth-token=YOUR_AUTH_TOKEN
Creates a new custom event.
Request
POST /rest/api/1/event?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
username * |
string |
Assignee username (Jira Server) or accountld (Jira Cloud) |
|
eventTypeId * |
long |
id of eventType |
|
eventTitle * |
string |
Title of event |
|
projectKey (optional) |
string |
Key of target project (Booking, Placeholder and Note types) |
|
hours (optional) |
number |
Booking event estimate in hours / hours for partial Day Off event |
|
estimate (optional) |
number |
Estimate in hours for Placeholder event type
|
|
color (optional) |
string |
Set custom Color for the newly created event.
Available starting from AT v9.5.5 |
|
isApproved (optional) |
string |
If set to "true" then custom event will be created pre-approved.
|
|
teamId (optional) |
number |
Id of a team. A new event will be created on a Team Panel of that team.
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/event?username=admin&=240025532758377186&eventTitle=someTitle&projectKey=TPA&hours=7&start=2016-11-14&end=2016-11-14&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/event/$id?auth-token=YOUR_AUTH_TOKEN (since v9.3.2)
Get a single custom event data by id.
Request
GET /rest/api/1/event/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
number |
ID of custom event |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/event/29686068180042429?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 404 Returns if custom event does not exist status 500 Returns if errors occurred during request |
|---|
PUT /rest/api/1/event?auth-token=YOUR_AUTH_TOKEN (since v9.7.0)
Updates a custom event.
Request
PUT /rest/api/1/event?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long number |
Id of a custom event to update |
|
start * |
string |
New Start date of the scheduled period formatted in "yyyy-MM-dd" format |
|
end * |
string |
New End date of the scheduled period formatted in "yyyy-MM-dd" format |
|
username* |
string |
New Assignee username (Jira Server) or accountld (Jira Cloud)
|
|
teamId (optional) |
number |
Id of Team to re-assign an item to / put an item on a Team Panel.
|
|
title (optional) |
string |
New title for the item |
|
projectKey (optional) |
string |
Key of target project (Booking, Placeholder, Overtime and Note types) |
|
hours (optional) |
number |
Set estimate in hours per day for Issue / Issue part / Booking / Partial Day Off / Overtime events |
|
estimate (optional) |
number |
Set total remaining estimate in hours for Placeholder events |
|
color (optional) |
string |
New color for the event.
|
|
isApproved (optional) |
string |
Defines whether event is approved or not (true - approved, false - not approved).
|
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/event/24002553275837718634?title=New%20Title&start=2023-11-14&end=2023-11-14&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/event/$id?auth-token=YOUR_AUTH_TOKEN
Deletes a custom event.
Request
DELETE /rest/api/1/event/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of custom event |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/event/312463?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/event/$id/color?auth-token=YOUR_AUTH_TOKEN (since v9.5.5)
Updates color of an issue/event on the timeline.
Request
POST /rest/api/1/event/$id/color?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of custom event |
|
color * |
string |
color of the event to be set.
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/event/312463534535435/color?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 404 Returns if issue/event does not exist status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/eventType/list?auth-token=YOUR_AUTH_TOKEN
Returns a list of custom event types.
Request
GET /rest/api/1/eventType/list?auth-token=YOUR_AUTH_TOKEN
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/eventType/list?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Teams v8.3.0+
GET /rest/api/1/team/list?auth-token=YOUR_AUTH_TOKEN (since v4.5.5)
Returns list of Activity Timeline teams.
Request
GET /rest/api/1/team/list?auth-token=YOUR_AUTH_TOKEN
Responses
|
status 200 application/json Returns json representation of the result if request performed successfully. Example
status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/team/$teamId?auth-token=YOUR_AUTH_TOKEN
Returns information about team and users in a specified team.
Request
GET /rest/api/1/team/$teamId?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
teamId * |
long |
id of specific team |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/1107507732947945188?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/team?auth-token=YOUR_AUTH_TOKEN (since v10.8.0)
Create a Team in ActivityTimeline.
Request
POST /rest/api/1/team?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
name * |
string |
Name for the new team. Must be unique. |
|
members * |
string |
Comma separated list of usernames (accountIds for Jira Cloud) that should be added as team members.
|
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if invalid input parameters of the team already exists. status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/team/$id?auth-token=YOUR_AUTH_TOKEN
Deletes team.
Request
DELETE /rest/api/1/team/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of team |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/team/$id/member?auth-token=YOUR_AUTH_TOKEN
Add user to the team.
Request
POST /rest/api/1/team/$id/member?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Id of team |
|
username * |
string |
Username of user who will be added to the team |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504/member?auth_token=YOUR_AUTH_TOKEN&username=admin
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/team/$id/member?auth-token=YOUR_AUTH_TOKEN
Remove user from the team.
Request
DELETE /rest/api/1/team/$id/member?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of team |
|
username * |
string |
Username of user who will be removed from the team |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504/member?auth_token=YOUR_AUTH_TOKEN&username=admin
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
Get the list of team managers.
Request
GET /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of team |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504/manager?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
Add team manager to the team.
Request
POST /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of team |
|
username * |
string |
Username of user who will be added to the team managers |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504/manager?auth_token=YOUR_AUTH_TOKEN&username=admin
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
Remove user from the team managers.
Request
DELETE /rest/api/1/team/$id/manager?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of team |
|
username * |
string |
Username of user who will be removed from the team managers |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/team/2782591321647696504/manager?auth_token=YOUR_AUTH_TOKEN&username=admin
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Projects v8.3.0+
GET /rest/api/1/project/list?auth-token=YOUR_AUTH_TOKEN
Returns list of Activity Timeline projects by portions of 100.
Request
GET /rest/api/1/project/list?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
startOffset |
integer |
Offset for the first project, default is 0 |
|
state v9.2.0+ |
string |
If specified then only projects of specified state will be returned. Should be either "active" or "inactive" |
* indicates required parameters
Responses
|
status 200 application/json Returns json representation of the result if request performed successfully. Example
status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/project/$id/state?auth-token=YOUR_AUTH_TOKEN
Change the project state between active (enabled in the app) and inactive (disabled in the app).
Request
POST /rest/api/1/project/$id/state?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
id of project |
|
state * |
string |
Project state. Should be either "active" or "inactive" |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/project/1074321572696248313/state?auth_token=YOUR_AUTH_TOKEN&state=inactive
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Users v8.3.0+
GET /rest/api/1/user?auth-token=YOUR_AUTH_TOKEN
Get paginated user list. Returns 100 users.
Request
GET /rest/api/1/user?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
startOffset * |
string |
Offset for first user, default is 0 |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/user/$username?auth-token=YOUR_AUTH_TOKEN
Get detailed user data.
Request
GET /rest/api/1/user/$username?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/user/$username/role?auth-token=YOUR_AUTH_TOKEN (since v11.8)
Get specific user’s role.
Request
GET /rest/api/1/user/$username/role?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/johnsmith/role?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/user/$username/role?auth_token=YOUR_AUTH_TOKEN (since v11.8)
Set a new role or restriction to user.
Request
POST /rest/api/1/user/$username/role?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
role * |
string |
New user role or restriction. It removes all other roles and sets the new one but keeping previous user’s restrictions if any applied. |
|
managedTeamId * |
long |
Required only for Team Lead and Power Team Lead roles If specified then this user will be added to the list of managers of that team. All previously managed teams of this user will be preserved. |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/johnsmith/role?auth_token=YOUR_AUTH_TOKEN&role=Semi Read Only
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/user/$username/role?auth_token=YOUR_AUTH_TOKEN (since v11.8)
Removes role or restriction from a user.
Request
DELETE /rest/api/1/user/$username/role?auth_token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
role |
string |
Optional To delete a restriction, the role parameter must be provided with one of the following values: Read Only or Semi Read Only (If you’re removing an actual role (not a restriction), there’s no need to specify this parameter) |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/johnsmith/role?auth_token=YOUR_AUTH_TOKEN&role=Semi Read Only
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/user/role/list?auth_token=YOUR_AUTH_TOKEN (since v11.8)
Returns a list of available user roles and restrictions.
Request
GET /rest/api/1/user/role/list?auth_token=YOUR_AUTH_TOKEN
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/role/list?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/user/$username/skill?auth-token=YOUR_AUTH_TOKEN
Get user's skills.
Request
GET /rest/api/1/user/$username/skill?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/skill?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/user/$username/skill?auth-token=YOUR_AUTH_TOKEN
Remove all skills from the user.
Request
DELETE /rest/api/1/user/$username/skill?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/skill?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/user/$username/skill/$skillId?auth-token=YOUR_AUTH_TOKEN
Assign a skill to user.
Request
POST /rest/api/1/user/$username/skill/$skillId?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
skillId |
long |
Skill ID |
|
levelId |
long |
Level for assigned skill |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/skill/356054081858522338?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/user/$username/skill/$skillId?auth-token=YOUR_AUTH_TOKEN
Remove a skill from the user.
Request
DELETE /rest/api/1/user/$username/skill/$skillId?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
skillId |
long |
Skill ID |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/skill/356054081858522338?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/user/$username/position?auth-token=YOUR_AUTH_TOKEN
Add a position for the user.
Request
POST /rest/api/1/user/$username/position?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
positionId |
long |
Position D |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/position?positionId=8219751323950402194&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/user/$username/position?auth-token=YOUR_AUTH_TOKEN
Remove position from a user.
Request
DELETE /rest/api/1/user/$username/position?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
username * |
string |
Username or accountId of specific user |
|
positionId |
long |
Position Id |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/user/admin/position?positionId=8219751323950402194&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Skills v8.3.0+
POST /rest/api/1/skill?auth-token=YOUR_AUTH_TOKEN
Creates a new skill.
Request
POST /rest/api/1/skill?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
name * |
string |
Skill name |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/skill?name=skillName&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/skill?auth-token=YOUR_AUTH_TOKEN
Get paginated list of skills. Returns 100 skills
Request
GET /rest/api/1/skill?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
startOffset |
int |
Offset for the first skill, default is 0 |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/skill?startOffSet=0&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/skill/$id?auth-token=YOUR_AUTH_TOKEN
Get skill by Id.
Request
GET /rest/api/1/skill/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
long |
Skill Id |
-
indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/skill/5038994036906348198?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
POST /rest/api/1/skill/level?auth-token=YOUR_AUTH_TOKEN
Creates a new skill proficiency level.
Request
POST /rest/api/1/skill/level?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
name * |
string |
Skill proficiency level name |
|
isDefault |
boolean |
Should it be the default proficiency level for new skills? |
|
color * |
string |
Level color to display (HEX format), without hash symbol |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/skill/level?name=Expert&color=FCA800&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/skill/level?auth-token=YOUR_AUTH_TOKEN
Get paginated list of skill proficiency levels. Returns 100 skill levels
Request
GET /rest/api/1/skill/level?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
startOffset |
int |
Offset for the first level, default is 0 |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/skill/level?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Positions v8.3.0+
POST /rest/api/1/position?auth-token=YOUR_AUTH_TOKEN
Creates a new user position.
Request
POST /rest/api/1/position?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
name * |
string |
User position name |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/position?name=Manager&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/position?auth-token=YOUR_AUTH_TOKEN
Get paginated list of positions. Returns 100 positions
Request
GET /rest/api/1/position?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
startOffset |
int |
Offset for the first position, default is 0 |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/position?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/position/$id?auth-token=YOUR_AUTH_TOKEN
Get user position by ID
Request
GET /rest/api/1/position/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
long |
Position ID |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/position/5038994036906348198?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
Worklogs V8.3.0+
POST /rest/api/1/worklog?auth-token=YOUR_AUTH_TOKEN
Add work log for current user or on behalf of other user.
Request
POST /rest/api/1/worklog?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
date * |
string |
Log work date in "yyyy-MM-dd HH:mm:ss Z" format. Example: "2025-06-30 14:30:00 +0000”, "2025-06-30 14:30:00 -0700” |
|
username * |
string |
Username (Jira Server) or accountId (Jira Cloud) of the user who logs work hours |
|
issueKey * |
string |
issueKey of issue |
|
timeSpent * |
string |
The time spent working on the issue.
|
|
comment |
string |
A comment for the worklog |
|
category |
number |
Worklog category. Default: Billable (“0”).
|
|
attribute_{attribute_id} |
string |
Available from v11.4.0 . This dynamic parameter allows setting a custom attribute value for the newly created worklog. The {attribute_id} part should be replaced with the unique ID of the worklog attribute configured in the system. For checkbox input types: Use true for checked Use false for unchecked For select input types: Use the option key (not the label or value) to represent the selected choice. You can pass multiple such parameters to assign values to multiple attributes. |
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog?username=Adam&date=2021-04-15 01:14:00 %2B0300&issueKey=KAN-175&timeSpent=1h&auth_token=YOUR_AUTH_TOKEN&attribute_81501614300284212=1
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
PUT /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN
Updates existing worklog record.
Request
PUT /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Jira’s Worklog id |
|
date |
string |
Log work date in "yyyy-MM-dd HH:mm:ss Z" format. Example: "2025-06-30 14:30:00 +0000”, "2025-06-30 14:30:00 -0700” |
|
username * |
string |
Username (Jira Server) or accountId (Jira Cloud) of the user who updates worklog |
|
timeSpent |
string |
The time spent working on the issue. |
|
comment |
string |
A comment for the worklog |
|
category |
number |
Worklog category. Default: Billable (“0”).
|
|
attribute_{attribute_id} |
string |
Available from v11.4.0 . This dynamic parameter is used to update the value of a custom attribute associated with an existing worklog entry. The
Any |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/11667?username=Adam&date=2021-04-15 01:14:00 %2B0300&issueKey=KAN-175&timeSpent=1h&auth_token=YOUR_AUTH_TOKEN&attribute_81501614300284212=1
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
DELETE /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN
Deletes a worklog record.
Request
DELETE /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Jira’s Worklog id |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/312463?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN (since v10.8.0+)
Retrieve existing worklog record.
Request
GET /rest/api/1/worklog/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Jira’s Worklog id |
* indicates required parameters
Example
https://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/31667?auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 404 Returns if worklog does not exist |
|---|
GET /rest/api/1/worklog/list?auth-token=YOUR_AUTH_TOKEN
Return a list of worklog records. Maximum 1000 worklog records per request.
Pass startOffset parameter to load the next portions of worklog records.
Request
GET /rest/api/1/worklog/list?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
start * |
string |
Start of the period formatted in "yyyy-MM-dd" format |
|
end * |
string |
End of the period formatted in "yyyy-MM-dd" format |
|
username |
string |
Username or Accountld of specific user.
|
|
teamld |
long |
Id of specific team.
|
|
projectKey |
string |
Project Key of Jira project.
|
|
issueKey |
string |
V10.8.0+ Issue Key of any Jira issue like ABC-1234.
|
|
startOffset |
int |
Offset for the first worklog in portion, default is 0. |
|
category |
byte |
Worklog category. Default: Billable (“0”).
|
|
expand |
string |
Available from v12.3.0 . Use
to include the worklog attributes block in the response. By default, attributes are not returned.
|
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/list?start=2021-04-12&end=2021-04-20&auth_token=YOUR_AUTH_TOKEN
Responses
|
Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
PUT /rest/api/1/worklog/approve/$id?auth-token=YOUR_AUTH_TOKEN (since v9.7.9)
Approve a worklog record by a System.
Request
PUT /rest/api/1/worklog/approve/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Worklog id |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/approve/11667?auth_token=YOUR_AUTH_TOKEN
Responses
|
status 200 application/json Returns updated worklog. Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions or the Timesheets Approval process is turned off in the settings status 404 Returns if worklog record is not found status 500 Returns if errors occurred during request |
|---|
PUT /rest/api/1/worklog/unapprove/$id?auth-token=YOUR_AUTH_TOKEN (since v9.7.9)
Unapprove a worklog record.
Request
PUT /rest/api/1/worklog/unapprove/$id?auth-token=YOUR_AUTH_TOKEN
QUERY PARAMETERS
|
Parameter |
Type |
Description |
|---|---|---|
|
id * |
long |
Worklog id |
* indicates required parameters
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/unapprove/11667?auth_token=YOUR_AUTH_TOKEN
Responses
|
status 200 application/json Returns updated worklog. Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions or the Timesheets Approval process is turned off in the settings status 404 Returns if worklog record is not found status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/worklog/categories?auth-token=YOUR_AUTH_TOKEN
Return a list of worklog categories.
Request
GET /rest/api/1/worklog/categories?auth-token=YOUR_AUTH_TOKEN
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/categories?auth_token=YOUR_AUTH_TOKEN
Responses
|
status 200 application/json Returns list of worklog categories. Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|
GET /rest/api/1/worklog/attributes?auth_token=YOUR_AUTH_TOKEN (since v11.4.0)
Get Worklog Attributes List.
Request
GET /rest/api/1/worklog/attributes?auth_token=YOUR_AUTH_TOKEN
Example
http://<ACTIVITYTIMELINE_INSTANCE>/rest/api/1/worklog/attributes?auth_token=YOUR_AUTH_TOKEN
Responses
|
status 200 application/json Returns worklog attributes list. Example
status 400 Returns if incorrect input parameters were supplied status 401 Returns if user was not logged in status 403 Returns if user didn't have permissions status 500 Returns if errors occurred during request |
|---|