我面临与搜索 JQL 相关的问题。我正在使用查询
(issuefunction in issuesInEpics('key = ABCD-24911') and issuetype=Feature)
在 Jira 中,它返回一些记录,但是当我在其中使用此查询时,JiraRestClient它不起作用,而是返回零记录。
它对于以下查询工作正常:
issuefunction in issuesInEpics("resolution is not empty") and issuetype = Feature
代码片段:
String query="issuefunction in issuesInEpics('key = ABCD-24911') and issuetype=Feature";
Integer resultsLength=50,startAt=0;
JiraRestClient.getSearchClient().searchJql(query,resultsLength,startAt,null);
我的 Maven 依赖项:
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-api</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-rest-java-client-core</artifactId>
<version>4.0.0</version>
</dependency>
<dependency>
<groupId>com.atlassian.fugue</groupId>
<artifactId>fugue</artifactId>
<version>2.2.1</version>
</dependency>
<dependency>
<groupId>com.atlassian.httpclient</groupId>
<artifactId>atlassian-httpclient-spi</artifactId>
<version>0.17.0-m01</version>
</dependency>
任何人请帮助我找到解决方案。
慕后森
LEATH
相关分类