Intellisense for issue search
GET /issue/intellisense
Get highlight and suggestions for issue filter query
GET /rest/issue/intellisense?{project}&{filter}&{caret}&{optionsLimit}
Parameters:
Name | Type | Description |
---|---|---|
project | string (optional) | Short name of the context project |
filter | string | Current issue search query |
caret | Integer (optional) | Current caret position. End of the current search query by default |
optionsLimit | Integer (optional) | Maximum amount of suggested items |
Sample
Request
GET https://example.com/youtrack/rest/issue/intellisense?project=TST&filter=by%3A+app_exception+Subsystem%3A+UI&caret=19&optionsLimit=5
Cookie: $Version=0; JSESSIONID=1a62diy56jbak1731yheey3pv9; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=MTVhMjY2OGUxMTUxMTI5MGMzNjhlZWM5NTJiNGJkNmIyNzc3NjdjZmM3YWU4MTVjYzQwYWE1MWZlYTkwNTcxNzphcHBfZXhjZXB0aW9u; $Path=/
Response
HTTP/1.1 200 OK
Content-Type: application/xml;charset=UTF-8
Content-Length: 1480
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IntelliSense>
<highlight>
<range>
<end>2</end>
<start>0</start>
<styleClass>keyword</styleClass>
</range>
<range>
<end>17</end>
<start>4</start>
<styleClass>field</styleClass>
</range>
<range>
<end>27</end>
<start>18</start>
<styleClass>keyword</styleClass>
</range>
<range>
<end>31</end>
<start>29</start>
<styleClass>field</styleClass>
</range>
</highlight>
<recent/>
<suggest>
<item>
<match start="0" end="1"/>
<completion start="18" end="29"/>
<caret>32</caret>
<description>by saved search</description>
<suffix>:</suffix>
<option>saved search</option>
<styleClass>field</styleClass>
</item>
<item>
<match start="0" end="1"/>
<completion start="18" end="29"/>
<caret>27</caret>
<description>by sort by</description>
<suffix>:</suffix>
<option>sort by</option>
<styleClass>field</styleClass>
</item>
<item>
<match start="0" end="1"/>
<completion start="18" end="29"/>
<caret>25</caret>
<description>by State</description>
<suffix>:</suffix>
<option>State</option>
<styleClass>field</styleClass>
</item>
<item>
<match start="0" end="1"/>
<completion start="18" end="29"/>
<caret>29</caret>
<description>by Subsystem</description>
<suffix>:</suffix>
<option>Subsystem</option>
<styleClass>field</styleClass>
</item>
<item>
<match start="0" end="1"/>
<completion start="18" end="29"/>
<caret>28</caret>
<description>03 Sep 2011 from 00:00 to 23:59</description>
<suffix></suffix>
<option>Saturday</option>
<prefix>#</prefix>
<styleClass>field</styleClass>
</item>
</suggest>
</IntelliSense>
Last modified: 16 March 2020