Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes



One answer

Permanent link

 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.

0 votes

Comments
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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 20 '21, 3:10 a.m.

Question was seen: 715 times

Last updated: Sep 30 '21, 5:43 a.m.

Confirmation Cancel Confirm