2015-09-13 12:36:05 +02:00
|
|
|
Advanced Search Syntax
|
|
|
|
======================
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
Kanboard uses a simple query language for advanced search.
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Example of query
|
|
|
|
----------------
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
This example will return all tasks assigned to me with a due date for tomorrow and a title that contains "my title":
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
assigne:me due:tomorrow my title
|
|
|
|
```
|
|
|
|
|
|
|
|
Search by task id or title
|
|
|
|
--------------------------
|
|
|
|
|
|
|
|
- Search by task id: `#123`
|
|
|
|
- Search by task id and task title: `123`
|
2015-12-29 01:24:09 +01:00
|
|
|
- Search by task title: anything that doesn't match any search attributes
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Search by status
|
|
|
|
----------------
|
|
|
|
|
|
|
|
Attribute: **status**
|
|
|
|
|
|
|
|
- Query to find open tasks: `status:open`
|
|
|
|
- Query to find closed tasks: `status:closed`
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
Search by assignees
|
|
|
|
-------------------
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Attribute: **assignee**
|
|
|
|
|
|
|
|
- Query with the full name: `assignee:"Frederic Guillot"`
|
|
|
|
- Query with the username: `assignee:fguillot`
|
|
|
|
- Multiple assignee lookup: `assignee:user1 assignee:"John Doe"`
|
|
|
|
- Query for unassigned tasks: `assignee:nobody`
|
|
|
|
- Query for my assigned tasks: `assignee:me`
|
|
|
|
|
|
|
|
Note: Kanboard will also search in assigned subtasks with the status todo and in progress.
|
|
|
|
|
|
|
|
Search by color
|
|
|
|
---------------
|
|
|
|
|
|
|
|
Attribute: **color**
|
|
|
|
|
|
|
|
- Query to search by color id: `color:blue`
|
|
|
|
- Query to search by color name: `color:"Deep Orange"`
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
Search by the due date
|
|
|
|
----------------------
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Attribute: **due**
|
|
|
|
|
|
|
|
- Search tasks due today: `due:today`
|
|
|
|
- Search tasks due tomorrow: `due:tomorrow`
|
|
|
|
- Search tasks due yesterday: `due:yesterday`
|
|
|
|
- Search tasks due with the exact date: `due:2015-06-29`
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
The date must use the ISO 8601 format: **YYYY-MM-DD**.
|
2015-09-13 12:36:05 +02:00
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
All string formats supported by the `strtotime()` function are supported, for example `next Thursday`, `-2 days`, `+2 months`, `tomorrow`, etc.
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Operators supported with a date:
|
|
|
|
|
|
|
|
- Greater than: **due:>2015-06-29**
|
|
|
|
- Lower than: **due:<2015-06-29**
|
|
|
|
- Greater than or equal: **due:>=2015-06-29**
|
|
|
|
- Lower than or equal: **due:<=2015-06-29**
|
|
|
|
|
|
|
|
Search by modification date
|
|
|
|
---------------------------
|
|
|
|
|
|
|
|
Attribute: **modified** or **updated**
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
The date formats are the same as the due date.
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
There is also a filter by recently modified tasks: `modified:recently`.
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
This query will use the same value as the board highlight period configured in settings.
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Search by creation date
|
|
|
|
-----------------------
|
|
|
|
|
|
|
|
Attribute: **created**
|
|
|
|
|
|
|
|
Works in the same way as the modification date queries.
|
|
|
|
|
|
|
|
Search by description
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
Attribute: **description**
|
|
|
|
|
|
|
|
Example: `description:"text search"`
|
|
|
|
|
|
|
|
Search by external reference
|
|
|
|
----------------------------
|
|
|
|
|
|
|
|
The task reference is an external id of your task, by example a ticket number from another software.
|
|
|
|
|
|
|
|
- Find tasks with a reference: `ref:1234` or `reference:TICKET-1234`
|
|
|
|
|
|
|
|
Search by category
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Attribute: **category**
|
|
|
|
|
|
|
|
- Find tasks with a specific category: `category:"Feature Request"`
|
|
|
|
- Find all tasks that have those categories: `category:"Bug" category:"Improvements"`
|
|
|
|
- Find tasks with no category assigned: `category:none`
|
|
|
|
|
|
|
|
Search by project
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
Attribute: **project**
|
|
|
|
|
|
|
|
- Find tasks by project name: `project:"My project name"`
|
|
|
|
- Find tasks by project id: `project:23`
|
|
|
|
- Find tasks for several projects: `project:"My project A" project:"My project B"`
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
Search by columns
|
|
|
|
-----------------
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Attribute: **column**
|
|
|
|
|
|
|
|
- Find tasks by column name: `column:"Work in progress"`
|
|
|
|
- Find tasks for several columns: `column:"Backlog" column:ready`
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
Search by swim lane
|
|
|
|
-------------------
|
2015-09-13 12:36:05 +02:00
|
|
|
|
|
|
|
Attribute: **swimlane**
|
|
|
|
|
2015-12-29 01:24:09 +01:00
|
|
|
- Find tasks by swim lane: `swimlane:"Version 42"`
|
|
|
|
- Find tasks in the default swim lane: `swimlane:default`
|
|
|
|
- Find tasks into several swim lanes: `swimlane:"Version 1.2" swimlane:"Version 1.3"`
|
|
|
|
|
|
|
|
Search by task link
|
|
|
|
------------------
|
|
|
|
|
|
|
|
Attribute: **link**
|
|
|
|
|
|
|
|
- Find tasks by link name: `link:"is a milestone of"`
|
|
|
|
- Find tasks into several links: `link:"is a milestone of" link:"relates to"`
|
2015-09-13 12:36:05 +02:00
|
|
|
|