Developers
Suggestions API (Tickets)
- Cloud and self-hosted
Suggestions for what to work on, from your own open to-dos: “Tasks to consider” and “Quick wins”.
leantime.rpc.Tickets.Suggestions.
Available Methods
Section titled “Available Methods”leantime.rpc.Tickets.Suggestions.getTasksToConsider
Section titled “leantime.rpc.Tickets.Suggestions.getTasksToConsider”Tasks to consider: undated to-dos that are important or recently added.
{ "method": "leantime.rpc.Tickets.Suggestions.getTasksToConsider", "jsonrpc": "2.0", "id": 1, "params": { "limit": int, }}Parameters:
| Parameter | Type | Description |
|---|---|---|
limit |
int | How many to return (1-100), or 0 for all of them. |
Returns:
The to-dos (the same fields as getAllOpenUserTickets, plus reason: “recent” or “high_priority”), and how many there are in total.
{ "jsonrpc": "2.0", "id": 1, "result": array{tasks: list<array<string,mixed>>, total: int}}leantime.rpc.Tickets.Suggestions.getQuickWins
Section titled “leantime.rpc.Tickets.Suggestions.getQuickWins”Quick wins: small to-dos (XS or smaller) due within the next 7 days, or already past due.
{ "method": "leantime.rpc.Tickets.Suggestions.getQuickWins", "jsonrpc": "2.0", "id": 1, "params": { "limit": int, }}Parameters:
| Parameter | Type | Description |
|---|---|---|
limit |
int | How many to return (1-100), or 0 for all of them. |
Returns:
The to-dos (the same fields as getAllOpenUserTickets, plus dueDay: YYYY-MM-DD in your timezone), earliest due first, and how many there are in total.
{ "jsonrpc": "2.0", "id": 1, "result": array{tasks: list<array<string,mixed>>, total: int}}Was this page helpful?
Thanks, glad it helped.
Thanks for telling us. What was missing?
