I want to get the work items resolved on specific date and time using RTC query.
Hello,
IQueryableAttribute resolutionDateAttribute = QueryableAttributes.getFactory(IWorkItem.ITEM_TYPE)
.findAttribute(projectArea, IWorkItem.RESOLUTION_DATE_PROPERTY, iauditableCommon, progressMonitor);
Expression resDateTillExp = new AttributeExpression(resolutionDateAttribute, AttributeOperation.BEFORE, timestampTill);
Term queryTerm = new Term(Term.Operator.AND); queryTerm.add(resDateTillExp); queryResult = queryClient.getResolvedExpressionResults(projectArea, queryTerm, IWorkItem.FULL_PROFILE); Please let me know if there is any other ways we can fetch the workitems based on Date and time value.
Thanks in advance,
Sneha Bhaskar |
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Sep 26 '23, 1:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I'd suggest to build the query in the Tool UI. Once you have that, you should have all information needed to create it as query/expression. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.