Tempo

App · 32 actions

Log and review time, timesheets, accounts and plans in Tempo for Jira.

Actions

ActionWhat it does
Approve a timesheetApprove a person's timesheet for a period.
Create a customerAdd a customer for Tempo accounts.
Create a teamAdd a Tempo team.
Create an accountAdd a Tempo account to bill time to.
Delete a customerDelete a customer for good.
Delete a planDelete planned time for good.
Delete a teamDelete a Tempo team for good.
Delete a worklogDelete a worklog for good.
Delete an accountDelete a Tempo account for good.
Get a person's scheduleGet the hours a person is expected to work each day, with holidays.
Get a timesheetGet one person's timesheet for a period, with its approval status and hours.
Get a worklogGet one worklog with its issue, author and work attributes.
List a person's worklogsList the worklogs one person logged, in a date range.
List a team's timesheetsList the approval status of each team member's timesheet for a period.
List account categoriesList the categories Tempo accounts are filed under.
List accountsList the Tempo accounts time can be billed to.
List customersList the customers Tempo accounts belong to.
List plansList planned time (resource plans) in a date range.
List team membersList a team's active members and their memberships.
List teamsList Tempo teams, by name or by member.
List timesheets waiting for approvalList the timesheets waiting for you to review.
List work attributesList the extra fields worklogs can carry, with their keys and values.
List worklogsList worklogs, newest changes first when sorted by update, filtered by project, issue, date or change time.
Log timeLog time on a Jira issue for a person.
Plan timePlan time for a person on a Jira issue or project.
Reject a timesheetSend a person's timesheet back to them to correct.
Reopen a timesheetReopen an approved timesheet so it can be changed.
Search worklogsFind worklogs by author, project, issue and date range.
Submit a timesheetSend a person's timesheet for a period to a reviewer.
Update a customerRename a customer or change its key.
Update a worklogChange a worklog.
Update an accountChange a Tempo account.

Approve a timesheet

Approve a person's timesheet for a period.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.
Commentcommenttext
A note shown with the timesheet's history.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "period": {
      "from": "example",
      "to": "example"
    },
    "requiredSeconds": 1,
    "reviewer": {
      "accountId": "example",
      "self": "example"
    },
    "self": "example",
    "status": {
      "actor": {
        "accountId": "example",
        "displayName": "example",
        "type": "example"
      },
      "comment": "example",
      "key": "example",
      "updatedAt": "example"
    },
    "timeSpentSeconds": 1,
    "user": {
      "accountId": "example",
      "self": "example"
    },
    "worklogs": {
      "self": "example"
    }
  }
}

Create a customer

Add a customer for Tempo accounts.

Inputs

KeykeytextRequired
A short unique key for the customer.
NamenametextRequired
The customer's name.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "id": 1,
    "key": "example",
    "name": "example",
    "self": "example"
  }
}

Create a team

Add a Tempo team.

Inputs

NamenametextRequired
The team's name.
Summarysummarytext
What the team is for.
Leadlead_account_idtext
The Jira account ID of the team lead.
Publicpublictrue/false
Whether everyone can see the team. Tempo makes teams public when empty.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "administrative": true,
    "id": 1,
    "lead": {
      "accountId": "example",
      "self": "example"
    },
    "links": {
      "self": "example"
    },
    "members": {
      "self": "example"
    },
    "name": "example",
    "permissions": {
      "self": "example"
    },
    "public": true,
    "self": "example",
    "status": "example",
    "summary": "example"
  }
}

Create an account

Add a Tempo account to bill time to.

Inputs

KeykeytextRequired
A short unique key for the account: letters, digits, `_`, `.` and `-`.
NamenametextRequired
The account's name.
StatusstatustextRequired
Whether time can be logged to the account.One of: OPEN, CLOSED, ARCHIVED.
Leadlead_account_idtextRequired
The Jira account ID of the account's lead.
Customercustomer_keytext
The customer the account belongs to.
Categorycategory_keytext
The account category.
Monthly budgetmonthly_budgetnumber
The account's monthly budget, in hours.At least 0.
Globalis_globaltrue/false
Whether the account can be used in every Jira project.
Contactcontact_account_idtext
The Jira account ID of the account's contact, if they use Jira.
External contactexternal_contact_nametext
The contact's name, if they don't use Jira.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "category": {
      "id": 1,
      "key": "example",
      "name": "example"
    },
    "contact": {
      "accountId": "example",
      "displayName": "example",
      "type": "example"
    },
    "customer": {
      "id": 1,
      "key": "example",
      "name": "example",
      "self": "example"
    },
    "global": true,
    "id": 1,
    "key": "example",
    "lead": {
      "accountId": "example",
      "self": "example"
    },
    "links": {
      "self": "example"
    },
    "monthlyBudget": 1,
    "name": "example",
    "self": "example",
    "status": "OPEN"
  }
}

Delete a customer

Delete a customer for good.

Inputs

Customercustomer_keytextRequired
The customer, by its key.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {}
}

Delete a plan

Delete planned time for good.

Inputs

Plan IDplan_idtextRequired
The plan's ID.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {}
}

Delete a team

Delete a Tempo team for good.

Inputs

Teamtempo_team_idtextRequired
The Tempo team.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {}
}

Delete a worklog

Delete a worklog for good.

Inputs

Worklog IDworklog_idtextRequired
The Tempo worklog's ID (tempoWorklogId).
Bypass closed periodsbypass_approvalstrue/false
Delete it even in a closed period or an approved timesheet (needs Tempo administrator rights).

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {}
}

Delete an account

Delete a Tempo account for good.

Inputs

Accountaccount_keytextRequired
The Tempo account, by its key.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {}
}

Get a person's schedule

Get the hours a person is expected to work each day, with holidays.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Fromfrom_datedateRequired
Only results on or after this date.
Toto_datedateRequired
Only results on or before this date.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1
    },
    "results": [
      {
        "date": "example",
        "holiday": {
          "description": "example",
          "durationSeconds": 1,
          "name": "example"
        },
        "requiredSeconds": 1,
        "type": "example"
      }
    ],
    "self": "example"
  }
}

Get a timesheet

Get one person's timesheet for a period, with its approval status and hours.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "period": {
      "from": "example",
      "to": "example"
    },
    "requiredSeconds": 1,
    "reviewer": {
      "accountId": "example",
      "self": "example"
    },
    "self": "example",
    "status": {
      "actor": {
        "accountId": "example",
        "displayName": "example",
        "type": "example"
      },
      "comment": "example",
      "key": "example",
      "updatedAt": "example"
    },
    "timeSpentSeconds": 1,
    "user": {
      "accountId": "example",
      "self": "example"
    },
    "worklogs": {
      "self": "example"
    }
  }
}

Get a worklog

Get one worklog with its issue, author and work attributes.

Inputs

Worklog IDworklog_idtextRequired
The Tempo worklog's ID (tempoWorklogId).

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "attributes": {
      "self": "example",
      "values": [
        {
          "key": "example",
          "self": "example",
          "value": "example"
        }
      ]
    },
    "author": {
      "accountId": "example",
      "self": "example"
    },
    "billableSeconds": 1,
    "createdAt": "example",
    "description": "example",
    "issue": {
      "id": 1,
      "self": "example"
    },
    "self": "example",
    "startDate": "example",
    "startDateTimeUtc": "example",
    "startTime": "example",
    "tempoWorklogId": 1,
    "timeSpentSeconds": 1,
    "updatedAt": "example"
  }
}

List a person's worklogs

List the worklogs one person logged, in a date range.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Fromfrom_datedate
Only results on or after this date.
Toto_datedate
Only results on or before this date.
Updated sinceupdated_fromdate and time
Only results changed at or after this time.
Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "attributes": {
          "self": "example",
          "values": [
            {
              "key": "example",
              "self": "example",
              "value": "example"
            }
          ]
        },
        "author": {
          "accountId": "example",
          "self": "example"
        },
        "billableSeconds": 1,
        "createdAt": "example",
        "description": "example",
        "issue": {
          "id": 1,
          "self": "example"
        },
        "self": "example",
        "startDate": "example",
        "startDateTimeUtc": "example",
        "startTime": "example",
        "tempoWorklogId": 1,
        "timeSpentSeconds": 1,
        "updatedAt": "example"
      }
    ],
    "self": "example"
  }
}

List a team's timesheets

List the approval status of each team member's timesheet for a period.

Inputs

Teamtempo_team_idtextRequired
The Tempo team.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1
    },
    "results": [
      {
        "period": {
          "from": "example",
          "to": "example"
        },
        "requiredSeconds": 1,
        "reviewer": {
          "accountId": "example",
          "self": "example"
        },
        "self": "example",
        "status": {
          "actor": {
            "accountId": "example",
            "displayName": "example",
            "type": "example"
          },
          "comment": "example",
          "key": "example",
          "updatedAt": "example"
        },
        "timeSpentSeconds": 1,
        "user": {
          "accountId": "example",
          "self": "example"
        },
        "worklogs": {
          "self": "example"
        }
      }
    ],
    "self": "example"
  }
}

List account categories

List the categories Tempo accounts are filed under.

Inputs

None.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1
    },
    "results": [
      {
        "id": 1,
        "key": "example",
        "name": "example",
        "self": "example",
        "type": {
          "name": "example"
        }
      }
    ],
    "self": "example"
  }
}

List accounts

List the Tempo accounts time can be billed to.

Inputs

Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "category": {
          "id": 1,
          "key": "example",
          "name": "example"
        },
        "contact": {
          "accountId": "example",
          "displayName": "example",
          "type": "example"
        },
        "customer": {
          "id": 1,
          "key": "example",
          "name": "example",
          "self": "example"
        },
        "global": true,
        "id": 1,
        "key": "example",
        "lead": {
          "accountId": "example",
          "self": "example"
        },
        "links": {
          "self": "example"
        },
        "monthlyBudget": 1,
        "name": "example",
        "self": "example",
        "status": "OPEN"
      }
    ],
    "self": "example"
  }
}

List customers

List the customers Tempo accounts belong to.

Inputs

Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "id": 1,
        "key": "example",
        "name": "example",
        "self": "example"
      }
    ],
    "self": "example"
  }
}

List plans

List planned time (resource plans) in a date range.

Inputs

Fromfrom_datedateRequired
Only results on or after this date.
Toto_datedateRequired
Only results on or before this date.
Assigneesassignee_idslist
Only plans for these people, by Jira account ID.
Updated sinceupdated_fromdate and time
Only results changed at or after this time.
Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "assignee": {
          "id": "example",
          "self": "example",
          "type": "example"
        },
        "createdAt": "example",
        "description": "example",
        "effortPersistenceType": "example",
        "endDate": "example",
        "id": 1,
        "includeNonWorkingDays": true,
        "planCreatorId": "example",
        "planItem": {
          "id": "example",
          "self": "example",
          "type": "example"
        },
        "plannedSecondsPerDay": 1,
        "recurrenceEndDate": "example",
        "rule": "example",
        "self": "example",
        "startDate": "example",
        "startTime": "example",
        "totalPlannedSeconds": 1,
        "updatedAt": "example"
      }
    ],
    "self": "example"
  }
}

List team members

List a team's active members and their memberships.

Inputs

Teamtempo_team_idtextRequired
The Tempo team.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "member": {
          "accountId": "example",
          "self": "example"
        },
        "memberships": {
          "active": {
            "commitmentPercent": 1,
            "id": 1,
            "role": {
              "id": 1,
              "name": "example"
            },
            "self": "example"
          },
          "self": "example"
        },
        "team": {
          "self": "example"
        }
      }
    ],
    "self": "example"
  }
}

List teams

List Tempo teams, by name or by member.

Inputs

Namenametext
Only teams with this name.
Membersmember_idslist
Only teams these people belong to, by Jira account ID.
Statusstatustext
Active teams, archived teams or both. Tempo shows active teams when empty.One of: ACTIVE, ARCHIVED, ALL.
Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "administrative": true,
        "id": 1,
        "lead": {
          "accountId": "example",
          "self": "example"
        },
        "links": {
          "self": "example"
        },
        "members": {
          "self": "example"
        },
        "name": "example",
        "permissions": {
          "self": "example"
        },
        "public": true,
        "self": "example",
        "status": "example",
        "summary": "example"
      }
    ],
    "self": "example"
  }
}

List timesheets waiting for approval

List the timesheets waiting for you to review.

Inputs

None.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1
    },
    "results": [
      {
        "period": {
          "from": "example",
          "to": "example"
        },
        "requiredSeconds": 1,
        "reviewer": {
          "accountId": "example",
          "self": "example"
        },
        "self": "example",
        "status": {
          "actor": {
            "accountId": "example",
            "displayName": "example",
            "type": "example"
          },
          "comment": "example",
          "key": "example",
          "updatedAt": "example"
        },
        "timeSpentSeconds": 1,
        "user": {
          "accountId": "example",
          "self": "example"
        },
        "worklogs": {
          "self": "example"
        }
      }
    ],
    "self": "example"
  }
}

List work attributes

List the extra fields worklogs can carry, with their keys and values.

Inputs

Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "key": "example",
        "name": "example",
        "required": true,
        "self": "example",
        "type": "example",
        "values": [
          "example"
        ]
      }
    ],
    "self": "example"
  }
}

List worklogs

List worklogs, newest changes first when sorted by update, filtered by project, issue, date or change time.

Inputs

Project IDsproject_idslist
Only worklogs in these Jira projects, by their numeric IDs.
Issue IDsissue_idslist
Only worklogs on these Jira issues, by their numeric IDs (not their keys).
Fromfrom_datedate
Only results on or after this date.
Toto_datedate
Only results on or before this date.
Updated sinceupdated_fromdate and time
Only results changed at or after this time.
Sort byorder_bytext
How to sort the worklogs, latest first.One of: START_DATE_TIME (Work date), UPDATED (Last changed), ID (Worklog ID).
Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "attributes": {
          "self": "example",
          "values": [
            {
              "key": "example",
              "self": "example",
              "value": "example"
            }
          ]
        },
        "author": {
          "accountId": "example",
          "self": "example"
        },
        "billableSeconds": 1,
        "createdAt": "example",
        "description": "example",
        "issue": {
          "id": 1,
          "self": "example"
        },
        "self": "example",
        "startDate": "example",
        "startDateTimeUtc": "example",
        "startTime": "example",
        "tempoWorklogId": 1,
        "timeSpentSeconds": 1,
        "updatedAt": "example"
      }
    ],
    "self": "example"
  }
}

Log time

Log time on a Jira issue for a person.

Inputs

Issue IDissue_idnumberRequired
The Jira issue's numeric ID (not its key such as `PROJ-12`).At least 1.
Authorauthor_account_idtextRequired
The Jira account ID of the person who did the work.
Datestart_datedateRequired
The day the work was done.
Hours spenthours_spentnumberRequired
How long the work took, in hours (1.5 is an hour and a half).At least 0.
Start timestart_timetime
The time of day the work started.
Billable hoursbillable_hoursnumber
Hours to bill, if different from the hours spent.At least 0.
Remaining estimate (hours)remaining_estimate_hoursnumber
Hours left on the issue after this work.At least 0.
Descriptiondescriptiontext
What the work was.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "attributes": {
      "self": "example",
      "values": [
        {
          "key": "example",
          "self": "example",
          "value": "example"
        }
      ]
    },
    "author": {
      "accountId": "example",
      "self": "example"
    },
    "billableSeconds": 1,
    "createdAt": "example",
    "description": "example",
    "issue": {
      "id": 1,
      "self": "example"
    },
    "self": "example",
    "startDate": "example",
    "startDateTimeUtc": "example",
    "startTime": "example",
    "tempoWorklogId": 1,
    "timeSpentSeconds": 1,
    "updatedAt": "example"
  }
}

Plan time

Plan time for a person on a Jira issue or project.

Inputs

Assigneeassignee_account_idtextRequired
The Jira account ID of the person the time is planned for.
Planned onitem_typetextRequired
Whether the time is planned on an issue or a whole project.One of: ISSUE, PROJECT.
Issue or project IDitem_idtextRequired
The numeric ID of the Jira issue or project.
Start datestart_datedateRequired
The plan's first day.
End dateend_datedateRequired
The plan's last day.
Hours per dayhours_per_daynumber
Hours planned each day.At least 0.
Descriptiondescriptiontext
What the time is for.
Include non-working daysinclude_non_working_daystrue/false
Whether the plan also covers weekends and holidays.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "assignee": {
      "id": "example",
      "self": "example",
      "type": "example"
    },
    "createdAt": "example",
    "description": "example",
    "effortPersistenceType": "example",
    "endDate": "example",
    "id": 1,
    "includeNonWorkingDays": true,
    "planCreatorId": "example",
    "planItem": {
      "id": "example",
      "self": "example",
      "type": "example"
    },
    "plannedSecondsPerDay": 1,
    "recurrenceEndDate": "example",
    "rule": "example",
    "self": "example",
    "startDate": "example",
    "startTime": "example",
    "totalPlannedSeconds": 1,
    "updatedAt": "example"
  }
}

Reject a timesheet

Send a person's timesheet back to them to correct.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.
Commentcommenttext
A note shown with the timesheet's history.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "period": {
      "from": "example",
      "to": "example"
    },
    "requiredSeconds": 1,
    "reviewer": {
      "accountId": "example",
      "self": "example"
    },
    "self": "example",
    "status": {
      "actor": {
        "accountId": "example",
        "displayName": "example",
        "type": "example"
      },
      "comment": "example",
      "key": "example",
      "updatedAt": "example"
    },
    "timeSpentSeconds": 1,
    "user": {
      "accountId": "example",
      "self": "example"
    },
    "worklogs": {
      "self": "example"
    }
  }
}

Reopen a timesheet

Reopen an approved timesheet so it can be changed.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.
Commentcommenttext
A note shown with the timesheet's history.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "period": {
      "from": "example",
      "to": "example"
    },
    "requiredSeconds": 1,
    "reviewer": {
      "accountId": "example",
      "self": "example"
    },
    "self": "example",
    "status": {
      "actor": {
        "accountId": "example",
        "displayName": "example",
        "type": "example"
      },
      "comment": "example",
      "key": "example",
      "updatedAt": "example"
    },
    "timeSpentSeconds": 1,
    "user": {
      "accountId": "example",
      "self": "example"
    },
    "worklogs": {
      "self": "example"
    }
  }
}

Search worklogs

Find worklogs by author, project, issue and date range.

Inputs

Authorsauthor_idslist
Only worklogs by these people, by Jira account ID.
Project IDsproject_idslist
Only worklogs in these Jira projects, by numeric ID.
Issue IDsissue_idslist
Only worklogs on these Jira issues, by numeric ID.
Fromfrom_datedate
Only worklogs on or after this date.
Toto_datedate
Only worklogs on or before this date.
Updated sinceupdated_fromdate and time
Only worklogs changed at or after this time.
Offsetoffsetnumber
How many results to skip, for the next page.At least 0.
Limitlimitnumber
How many results to return, up to 1,000. Tempo returns 50 when empty.From 1 to 1000.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "metadata": {
      "count": 1,
      "limit": 1,
      "next": "example",
      "offset": 1,
      "previous": "example"
    },
    "results": [
      {
        "attributes": {
          "self": "example",
          "values": [
            {
              "key": "example",
              "self": "example",
              "value": "example"
            }
          ]
        },
        "author": {
          "accountId": "example",
          "self": "example"
        },
        "billableSeconds": 1,
        "createdAt": "example",
        "description": "example",
        "issue": {
          "id": 1,
          "self": "example"
        },
        "self": "example",
        "startDate": "example",
        "startDateTimeUtc": "example",
        "startTime": "example",
        "tempoWorklogId": 1,
        "timeSpentSeconds": 1,
        "updatedAt": "example"
      }
    ],
    "self": "example"
  }
}

Submit a timesheet

Send a person's timesheet for a period to a reviewer.

Inputs

Jira account IDjira_account_idtextRequired
The person's Jira account ID, as in the address of their Jira profile.
Period startperiod_fromdateRequired
A date inside the timesheet period, such as its first day.
Period endperiod_todate
The last day of the timesheet period. Leave empty for the period that holds the start date.
Reviewerreviewer_account_idtext
The Jira account ID of the person who reviews it.
Commentcommenttext
A note shown with the timesheet's history.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "period": {
      "from": "example",
      "to": "example"
    },
    "requiredSeconds": 1,
    "reviewer": {
      "accountId": "example",
      "self": "example"
    },
    "self": "example",
    "status": {
      "actor": {
        "accountId": "example",
        "displayName": "example",
        "type": "example"
      },
      "comment": "example",
      "key": "example",
      "updatedAt": "example"
    },
    "timeSpentSeconds": 1,
    "user": {
      "accountId": "example",
      "self": "example"
    },
    "worklogs": {
      "self": "example"
    }
  }
}

Update a customer

Rename a customer or change its key.

Inputs

Customercustomer_keytextRequired
The customer, by its key.
New keynew_keytext
A new key for the customer. Leave empty to keep the current one.
NamenametextRequired
The customer's name.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "id": 1,
    "key": "example",
    "name": "example",
    "self": "example"
  }
}

Update a worklog

Change a worklog. Fields left empty keep their current value.

Inputs

Worklog IDworklog_idtextRequired
The Tempo worklog's ID (tempoWorklogId).
Authorauthor_account_idtext
The Jira account ID of the person who did the work.
Datestart_datedate
The day the work was done.
Hours spenthours_spentnumber
How long the work took, in hours (1.5 is an hour and a half).At least 0.
Start timestart_timetime
The time of day the work started.
Billable hoursbillable_hoursnumber
Hours to bill, if different from the hours spent.At least 0.
Remaining estimate (hours)remaining_estimate_hoursnumber
Hours left on the issue after this work.At least 0.
Descriptiondescriptiontext
What the work was.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "attributes": {
      "self": "example",
      "values": [
        {
          "key": "example",
          "self": "example",
          "value": "example"
        }
      ]
    },
    "author": {
      "accountId": "example",
      "self": "example"
    },
    "billableSeconds": 1,
    "createdAt": "example",
    "description": "example",
    "issue": {
      "id": 1,
      "self": "example"
    },
    "self": "example",
    "startDate": "example",
    "startDateTimeUtc": "example",
    "startTime": "example",
    "tempoWorklogId": 1,
    "timeSpentSeconds": 1,
    "updatedAt": "example"
  }
}

Update an account

Change a Tempo account. Fields left empty keep their current value.

Inputs

Accountaccount_keytextRequired
The Tempo account, by its key.
Namenametext
The account's name.
Statusstatustext
Whether time can be logged to the account.One of: OPEN, CLOSED, ARCHIVED.
Leadlead_account_idtext
The Jira account ID of the account's lead.
Customercustomer_keytext
The customer the account belongs to.
Categorycategory_keytext
The account category.
Monthly budgetmonthly_budgetnumber
The account's monthly budget, in hours.At least 0.
Globalis_globaltrue/false
Whether the account can be used in every Jira project.
Contactcontact_account_idtext
The Jira account ID of the account's contact, if they use Jira.
External contactexternal_contact_nametext
The contact's name, if they don't use Jira.

Outputs

dataobject
The response from Tempo.
Example output
{
  "data": {
    "category": {
      "id": 1,
      "key": "example",
      "name": "example"
    },
    "contact": {
      "accountId": "example",
      "displayName": "example",
      "type": "example"
    },
    "customer": {
      "id": 1,
      "key": "example",
      "name": "example",
      "self": "example"
    },
    "global": true,
    "id": 1,
    "key": "example",
    "lead": {
      "accountId": "example",
      "self": "example"
    },
    "links": {
      "self": "example"
    },
    "monthlyBudget": 1,
    "name": "example",
    "self": "example",
    "status": "OPEN"
  }
}

On this page