title: Is there a way to filter with the new YouTrack REST API?
body: <p>I have been tasked to build a custom interface for Youtrack and am using the new YouTrack APIs - docs here <a href="https://www.jetbrains.com/help/youtrack/standalone/youtrack-rest-api-reference.html" rel="nofollow noreferrer">https://www.jetbrains.com/help/youtrack/standalone/youtrack-rest-api-reference.html</a>. I am querying for a full list of issues which returns 1.17 MB of data. The problem is this takes a while and I only need issues with specific fields ie <code>Priority=1</code> and <code>Type=Task</code>.</p>
  
  <p><strong>Is there a way to filter with the new APIs so I don't return 1.17 MB of data?</strong></p>
  
  <p>I see that the deprecated APIs (<a href="https://www.jetbrains.com/help/youtrack/standalone/deprecated-rest-api-reference.html" rel="nofollow noreferrer">https://www.jetbrains.com/help/youtrack/standalone/deprecated-rest-api-reference.html</a>) have a <code>filter</code> field, but I cannot find one in the new API documentation. I have tried including <code>filter=Priority</code> and <code>filter=Priority(name=1)</code> to see if there are some undocumented filtering methods, but no luck thus far.</p>
  
  <p>Example call: <code>GET https://example.myjetbrains.com/youtrack/api/issues?fields=id,description,fields(id,name,value(id,name))</code> which returns 1.17 MB of data.</p>
  
  <p>Ideally, I would like to do <code>GET https://example.myjetbrains.com/youtrack/api/issues?filter=Priority(name=1),fields=...</code> or something similar.</p>