我使用Dapplo连接到我们的JIRA服务器,以检索仪表板的一些信息。
我有当前请求:
List<Issue> issues = new List<Issue>();
int startAtIssue = 0;
IFinalClause search = Where.And(
Where.Project.Is(projectKey),
Where.Or(
Where.Created.AfterOrOn.DateTime(DateTime.Today.AddYears(-1)),
//Where.Resolved ==null???? <----------------------
)
SearchIssuesResult<Issue, JqlIssueSearch> searchIssuesResult;
string[] expand = includeChangelogs ? new[] {"changelog"} : new string[0];
do
{
searchIssuesResult = Client.Issue.SearchAsync(search,
int.MaxValue,
startAtIssue,
new[] {JiraJql.ISSUE_FIELD_CREATED, JiraJql.ISSUE_REQUEST_TYPE, JiraJql.ISSUE_FIELD_DUEDATE},
expand)
.Result;
issues.AddRange(searchIssuesResult.Issues);
startAtIssue = issues.Count;
} while (!searchIssuesResult.IsLastPage);
在Where.Resolve
上,我只能设置AfterOrOn,Before,...不能设置为“ NotSet”或为null,或者...
如何设置未设置解决日期的地方?