YouTrack "vcs changes" 搜索

YouTrack "vcs changes" search

总的来说,我正在尝试根据实际的 VCS 更改来搜索自给定日期以来发生的更改。如果我进行搜索:

updated: 2018-01 .. 2018-02

它会给我很多只有评论、添加的标签等的点击。我想要与它们相关的实际提交的问题。

我正在使用 YouTrack 2017.4(Build 39406 2018 年 2 月 9 日 00:00),如果我开始输入 "vcs changes" 它显然有一个搜索词,但我只在尝试时遇到异常通过它搜索。我不确定这是否能解决我的问题,但它确实是我感兴趣的东西。

如何使用 "vcs changes" 字词成功进行搜索?

我的 YouTrack 正在使用 TeamCity 集成。例如,如果搜索 vcs changes: a,我会得到这个堆栈跟踪:

java.lang.IllegalArgumentException: Parameter specified as non-null is null: method jetbrains.youtrack.search.keyword.predefined.PredefinedField.filter, parameter filterField
    at jetbrains.youtrack.search.keyword.predefined.PredefinedField.filter(PredefinedField.kt)
    at jetbrains.youtrack.search.parser.IssuesSearchRequestExecutor.getValue(IssuesSearchRequestExecutor.java:42)
    at jetbrains.youtrack.search.parser.IssuesSearchRequestExecutor.getValue(IssuesSearchRequestExecutor.java:26)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.appendCategorizedValueIssues(SearchRequestExecutor.java:246)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filterRequestTerm(SearchRequestExecutor.java:173)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filterAndOperand(SearchRequestExecutor.java:105)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filterAndExpression(SearchRequestExecutor.java:92)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filterOrExpression(SearchRequestExecutor.java:81)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filterSearchRequest(SearchRequestExecutor.java:73)
    at jetbrains.youtrack.search.parser.SearchRequestExecutor.filter(SearchRequestExecutor.java:49)
    at jetbrains.youtrack.search.parser.ParseResult.getParseErrors(ParseResult.java:99)
    at jetbrains.charisma.smartui.filter.FilterData.getParseErrors(FilterData.java:78)
    at jetbrains.charisma.smartui.persistent.UserSearchRequest.search(UserSearchRequest.java:61)
    at jetbrains.charisma.smartui.workspace.Issues_RootHtmlTemplateComponent.onEnter(Issues_RootHtmlTemplateComponent.java:233)
    at jetbrains.mps.webr.runtime.templateComponent.TemplateComponent.<init>(TemplateComponent.java:95)
    at jetbrains.charisma.smartui.workspace.Issues_RootHtmlTemplateComponent.<init>(Issues_RootHtmlTemplateComponent.java:122)
    at jetbrains.charisma.smartui.workspace.Issues_RootHtmlTemplateController$Action.createTemplateComponent(Issues_RootHtmlTemplateController.java:55)
    at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.getRootTemplateRenderResponseAction(TemplateActionController.java:92)
    at jetbrains.mps.webr.runtime.templateComponent.TemplateActionController.doEnterAction(TemplateActionController.java:60)
    at jetbrains.mps.webr.runtime.templateComponent.ActionController.securedRefreshResponse(ActionController.java:158)
    at jetbrains.mps.webr.runtime.templateComponent.ActionController.enterAction(ActionController.java:83)
    at jetbrains.mps.webr.runtime.requestProcessor.ActionControllerUtil.doEnterAction(ActionControllerUtil.java:17)
    at jetbrains.mps.webr.runtime.requestProcessor.ActionControllerUtil.processRequest(ActionControllerUtil.java:60)
    at jetbrains.mps.webr.runtime.requestProcessor.HtmlTemplateRequestProcessor.processRequest(HtmlTemplateRequestProcessor.java:42)
    at jetbrains.mps.webr.runtime.servlet.MainServlet.processRequest(MainServlet.java:235)
    at jetbrains.mps.webr.runtime.servlet.MainServlet.doGet(MainServlet.java:151)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
    at jetbrains.youtrack.webapp.filters.ClearThreadLocalPrincipalFilter.doFilter(ThreadLocalPrincipalFilters.kt:13)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.youtrack.webapp.filters.RootGoFilter.doFilter(RootGoFilter.kt:60)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.youtrack.webapp.filters.SetThreadLocalPrincipalFilter.doFilter(ThreadLocalPrincipalFilters.kt:29)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.youtrack.webapp.filters.WebrSessionAuthenticationFilter.doFilter(WebrSessionAuthenticationFilter.kt:40)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.mps.webr.runtime.filter.QueryParameterFilter.doFilter(QueryParameterFilter.java:25)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at org.eclipse.jetty.continuation.ContinuationFilter.doFilter(ContinuationFilter.java:127)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.youtrack.webapp.filters.SecurityResponseHeadersFilter.doFilter(SecurityResponseHeadersFilter.kt:18)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at jetbrains.youtrack.webapp.filters.SearchEngineIndexBotAuthenticationFilter.doFilter(SearchEngineIndexBotAuthenticationFilter.kt:55)
    at jetbrains.youtrack.webapp.filters.FilterAdapter.doFilter(FilterAdapter.kt:20)
    at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
    at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:493)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
    at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
    at org.eclipse.jetty.server.Server.handle(Server.java:534)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:283)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:108)
    at org.eclipse.jetty.io.SelectChannelEndPoint.run(SelectChannelEndPoint.java:93)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
    at org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.run(QueuedThreadPool.java:589)
    at java.lang.Thread.run(Thread.java:748)

当您使用 vcs changes 作为属性时,使用完整的提交散列来查找包含此 VCS 更改的问题。

要查找包含 VCS 提交的问题,has: {vcs changes} 可以解决问题。