It's all about the answers!

Ask a question

Editing and saving a query custom conditions programmatically using the "Plain Java client libraries API" in RTC jazz

pol polpol (11) | asked Aug 02 '18, 4:11 a.m.

We are trying to change our query programmatically and save the changed query.  
So far we got acquainted with the IQueryDescriptor interface in order to interrogate the fields in our query and extract the data.

We have searched for an interface/class/method to use us to modify one of our custom conditions and save the new query. (and not a copy of it if possible) 

We looked into the official documentation ("Plain Java client libraries API documentation")  and unfortunately it is lacking in method and interface description making it very hard to use the API. 
We have opened a support ticket and were advised to ask our questions here. We were also warned that the IBM API was not intended for external public consumption and that there is no guarantee of upstream support compatibility with each new RTC release.

We would be very great full for a reference to a code snippet showing how to perform such action something like: 

MyQuery.editCondition(condition.value, "new value")



One answer

permanent link
Ralph Schoon (63.1k33646) | answered Aug 02 '18, 4:24 a.m.

I only have and linked from that as a starting point. There are some things I never did myself and did not blog.

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.