Get Query with name from RTC
Hi everyone,
is it possible to get a query from RTC using the query name? I know that I can get the query using the Id (IQueryRestService) but I wonder if is there anyway to get the query using its name.
Thank you in advance.
Reem. |
One answer
Ralph Schoon (63.7k●3●36●48)
| answered Sep 30 '21, 3:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER EWM has many APIs, which one are you referring to? In general my answer would be that, as far as I know, you can not get a query by name. In all implementations I have done, I had to first get all queries of a specific scope and then iterate the results to compare the name. Comments
Reem Kadadihi
commented Sep 30 '21, 5:08 a.m.
Hello Ralph,
thanks for the answer. I used OSLC to get the query using the query name:
regards.
Hi Reem,
I am not sure if the capabilities specified here: https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2#Examples_AN2
are all OSLC or conform with the standard. I think I ended up running a lot of those without OSLC headers. Thanks for the example, I had done a similar example but forgotten about it.
PS, can you please copy your comment into an answer. I can then accept that answer and you get the credits. |
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.