Issues matching a TQL query (JQL-style), e.g. `project = KB AND status != Done AND assignee = currentUser()
ORDER BY priority DESC`. Fields: project, key, summary, description, text (~ only), status, statusCategory,
priority, type, resolution, assignee, reporter, labels, component, fixVersion, affectedVersion, sprint, parent, epic,
created, updated, resolved, due, points, votes, watchers, and custom fields by key or name (quote names with spaces).
Operators: = != > >= < <= ~ (contains) !~ IN (...) NOT IN (...) IS [NOT] EMPTY; AND, OR, NOT, parentheses.
Functions: currentUser(), openSprints(), closedSprints(), futureSprints(), releasedVersions(), unreleasedVersions(),
now(), startOfDay(), endOfDay(), startOfWeek(), startOfMonth(), startOfYear(); relative dates like -7d, -2w, 3h.
REST POST /api/v1/issues.query · MCP tool issues_query · scopes issues:read
Input
limit | integer | 1-500, default 50. |
offset | integer | |
tqlrequired | string | |
Output object
issues | object[] | |
limit | integer | |
offset | integer | |
total | integer | Every match you can see. |
curl https://work.nightroll.app/api/v1/issues.query \
-H "authorization: Bearer $WORK_TOKEN" \
-d '{"tql":"<tql>"}'