Guides

Why your worklogDate JQL report is missing hours, and how to get complete worklogs

Last verified 29 October 2026Jira Cloud · 7 min read

Short answer. Since August 2026 Jira Cloud's search only looks at the latest 1,000 worklogs on each work item (issue), and in September a bug made worklogDate and worklogAuthor miss work items with far fewer. A report built on those clauses can silently leave out hours. Jira's worklog REST API isn't affected: use it, by hand, with a short script, or with an add-on.

What changed

  • A limit on searchable worklogs. Atlassian's developer changelog (CHANGE-3235) announced that JQL searches only the 1,000 most recent worklogs of each work item. According to Atlassian support replies that app developers posted in September, the limit started rolling out in August 2026. A work item with more worklogs than that, such as a long-running “Support” or “Meetings” ticket, can drop out of a worklogDate search for older periods.
  • A regression on top. On 9 and 10 September 2026, app vendors reported that queries like worklogDate >= 2026-09-01 AND worklogDate < 2026-10-01 no longer returned work items that clearly had worklogs in the range, even with only a handful of worklogs; editing one of the worklogs made the item reappear (Atlassian Developer Community thread).
  • Status. In replies quoted in that thread on 21 September, Atlassian support described the cause as a regression in Jira's search indexing, said it was mitigated, and said worklog clauses had been moved to a temporary “shadow mode” while a permanent fix ships in a later release. We found no public fix date as of the date at the top of this page.

The clauses involved are worklogDate and worklogAuthor; worklogComment searches the same worklogs, so the 1,000 limit applies to it too. Anything built on them is affected: saved filters, dashboard gadgets, CSV exports of a search, and spreadsheet imports that use these clauses.

Check whether your report is short

  1. Pick a work item you know has time logged in the period, ideally an old, busy one.
  2. Run your JQL with AND key = ABC-123 added. If the item doesn't come back, the search is missing it.
  3. Compare with the item's Work log tab, or with the API: GET /rest/api/3/issue/ABC-123/worklog.

Two more reasons a JQL timesheet is off

  • Search returns work items, not worklogs. Summing “Time spent” over a worklogDate search adds every hour ever logged on those items, not only the hours in your period. A timesheet needs one row per worklog.
  • Time zones. JQL dates are read in the time zone of the person running the search. Someone in Sydney who logs Monday morning can show up on Sunday for a colleague in Amsterdam. Worklogs carry the offset they were logged in, so you can date each one the way the person meant.

Method 1, free: ask the worklog API directly

Jira's worklog endpoints read worklogs themselves, not the search index, so the limit and the bug don't apply. They return every worklog you have permission to see.

For a few work items

Terminal
curl -u you@yourcompany.com:YOUR_API_TOKEN \
  "https://yourcompany.atlassian.net/rest/api/3/issue/ABC-123/worklog?startedAfter=1790812800000&startedBefore=1793491200000"

startedAfter and startedBefore are Unix times in milliseconds (here 1 October to 1 November 2026, UTC). Results are paged; use startAt for the next page.

For a whole site

  1. GET /rest/api/3/worklog/updated?since=<ms> lists the ids of every worklog added or changed since that time, 1,000 per page; follow nextPage until lastPage is true.
  2. POST /rest/api/3/worklog/list with {"ids": [...]} returns up to 1,000 full worklogs per call: author, start time with its offset, time spent in seconds and the work item's id.
  3. Keep the worklogs whose started date is in your period. GET /rest/api/3/worklog/deleted?since= tells you which ones were deleted, if you keep a copy and refresh it.

Two details: since filters on when a worklog was last changed, not when the work happened, so start a little before your period; and the list leaves out changes from the last minute.

Method 2, free: a short Apps Script in Google Sheets

This script does the steps above and writes one row per worklog into a Worklogs tab: date, person, key, summary and hours. It dates each worklog in the time zone it was logged in. Run it by hand, or add a time-driven trigger in the Apps Script editor to refresh it.

Apps Script · Worklogs.gs
// Extensions → Apps Script in your spreadsheet. Paste this, set SITE and the dates,
// run saveCredentials once (after filling in your details), then run listWorklogs.
const SITE = 'https://yourcompany.atlassian.net';
const FROM = '2026-10-01'; // first day, inclusive
const TO = '2026-10-31'; // last day, inclusive

function saveCredentials() {
  // Your Jira email and an API token from id.atlassian.com → Security → API tokens.
  // Stored in your own Google account; delete these two lines after running it once.
  PropertiesService.getUserProperties().setProperties({ JIRA_EMAIL: 'you@yourcompany.com', JIRA_TOKEN: 'paste-token-here' });
}

function listWorklogs() {
  const props = PropertiesService.getUserProperties();
  const auth = 'Basic ' + Utilities.base64Encode(props.getProperty('JIRA_EMAIL') + ':' + props.getProperty('JIRA_TOKEN'));
  const call = (path, body) => {
    const options = { headers: { Authorization: auth, Accept: 'application/json' } };
    if (body) Object.assign(options, { method: 'post', contentType: 'application/json', payload: JSON.stringify(body) });
    return JSON.parse(UrlFetchApp.fetch(path.startsWith('http') ? path : SITE + path, options).getContentText());
  };

  // 1. Ids of every worklog added or changed since a week before FROM, 1,000 per page.
  //    (Filtering on "updated" catches time logged late; the week covers time logged a little early.)
  const since = new Date(FROM + 'T00:00:00Z').getTime() - 7 * 24 * 3600 * 1000;
  const ids = [];
  let page = call('/rest/api/3/worklog/updated?since=' + since);
  ids.push(...page.values.map((v) => v.worklogId));
  while (!page.lastPage) {
    page = call(page.nextPage);
    ids.push(...page.values.map((v) => v.worklogId));
  }

  // 2. The worklogs, 1,000 per call. Keep those started in the period, by the logger's own date.
  const worklogs = [];
  for (let i = 0; i < ids.length; i += 1000) {
    for (const w of call('/rest/api/3/worklog/list', { ids: ids.slice(i, i + 1000) })) {
      const day = w.started.slice(0, 10);
      if (day >= FROM && day <= TO) worklogs.push(w);
    }
  }

  // 3. Keys and summaries of the work items, 100 per search.
  const issueIds = [...new Set(worklogs.map((w) => w.issueId))];
  const issues = {};
  for (let i = 0; i < issueIds.length; i += 100) {
    const found = call('/rest/api/3/search/jql', { jql: 'id in (' + issueIds.slice(i, i + 100).join(',') + ')', fields: ['summary'], maxResults: 100 });
    for (const issue of found.issues) issues[issue.id] = issue;
  }

  // 4. One row per worklog in a tab called Worklogs.
  const rows = worklogs.map((w) => [
    w.started.slice(0, 10),
    w.author.displayName,
    issues[w.issueId] ? issues[w.issueId].key : w.issueId,
    issues[w.issueId] ? issues[w.issueId].fields.summary : '',
    w.timeSpentSeconds / 3600,
  ]);
  const book = SpreadsheetApp.getActive();
  const sheet = book.getSheetByName('Worklogs') || book.insertSheet('Worklogs');
  sheet.clearContents();
  // A new tab has 1,000 rows; add more when there are more worklogs than that.
  if (sheet.getMaxRows() < rows.length + 1) sheet.insertRowsAfter(sheet.getMaxRows(), rows.length + 1 - sheet.getMaxRows());
  sheet.getRange(1, 1, 1, 5).setValues([['Date', 'Person', 'Key', 'Summary', 'Hours']]);
  if (rows.length) sheet.getRange(2, 1, rows.length, 5).setValues(rows);
}

Limits: Apps Script stops a run after 6 minutes, so very large sites need the work split across runs; the script rereads everything each time; it sees only worklogs your account may see. In Excel, Power Query can call the same two endpoints with the same logic.

Method 3: Cellmason for Jira

Cellmason for Jira is our Google Sheets add-on, built on the same worklog API. A worklog report writes every worklog in the period and a person-by-day timesheet, keeps a copy so each refresh fetches only what changed (including deletions), dates each worklog in the zone it was logged in or in yours, and refreshes on a schedule that emails you if a run fails. Free for one report; scheduling and billing columns are part of Pro.

See Cellmason for Jira · Every way to get worklogs into Sheets

Which to use

  • One-off check of a few items: Method 1.
  • A monthly timesheet you're happy to maintain yourself: Method 2.
  • Scheduled timesheets, billing or several reports for a team: Method 3, or another add-on that reads the worklog API rather than JQL.

Once Atlassian ships its fix, worklogDate should again find work items with up to 1,000 worklogs. It will still return work items rather than worklogs, so for timesheets the worklog API stays the reliable source.