It's all about the answers!

Ask a question

Execute RTC Query - With Runtime values


Joydeep Datta (111) | asked Dec 06 '20, 1:37 a.m.

 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.

Accepted answer


permanent link
Ian Barnard (1.9k613) | answered Dec 09 '20, 7:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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

Comments
Joydeep Datta commented Dec 11 '20, 10:14 a.m.

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


Ian Barnard commented Dec 11 '20, 1:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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 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.