Java Client API get a query by it's web ID
Hi,
I see that queries in RTC have a web ID showing in their link:
<project URI>/web/projects/<project name>#action=com.ibm.team.workitem.runSavedQuery&id=_YYkhcADzEeiYTtmwfgbVzg
Is there a way to use Java Client API to retrieve a query by the above ID?
All I'v seen so far is how to retrieve a query by its name:
if (iQueryDescriptor.getName().equals(queryName)) {...}
Is there another function I can use to retrieve the query's web ID?
Thanks in advance,
Sara.
|
One answer
Ralph Schoon (63.6k●3●36●46)
| answered Jan 31 '18, 9:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I would assume that the ID you mention is basically the ID of the query descriptor: com.ibm.team.workitem.common.query.IQueryDescriptor.getId()
|
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.