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

Execute RTC Query - With Runtime values

 Hi:

We have challenging problem to resolve at IBM RTC using REST API. Following things are required
1. Execute an pre-defined query at RTC through REST API
2. How to manipulate the criteria of RTC Query and change the values externally through REST api and then Execute.

Say for Example:
A Pre-defined query at RTC has been saved by the name "Top Priority" the criteria is "Priority='HIGH'". Now how can we execute the same Query from externally using REST API and change the value of "Priority" to "Low" and execute it to get the low priority Items.

0 votes


Accepted answer

Permanent link

Don't know the answer about modifying an RTC stored query. You could try through OSLC query where you could specify the condition (differently) every time you executed the query, i.e. it's a different route than through stored RTC query.

Michael Rowe selected this answer as the correct answer

0 votes

Comments

Thanks Ian, could you share some links where I can get some details. 

Hi Joydeep


You might also look at the RTC Reportable REST API https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI which is probably simpler than OSLC query and if it doees what you need then that's a win, maybe.



I can't answer for exactly how much of these is supported by RTC but it is basically supported.

To use it you'll need an app to navigate the maze of XML-RDF - there are some hints about using it (from a DNG perspective, but similar principles apply for any OSLC Query application) here https://jazz.net/library/article/1197

HTH
Ian

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
× 7,495
× 1,325
× 234
× 137

Question asked: Dec 06 '20, 1:37 a.m.

Question was seen: 1,384 times

Last updated: Dec 11 '20, 1:18 p.m.

Confirmation Cancel Confirm