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

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

Hi, 
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")
MyQuery.save()

Thanks

  

0 votes



One answer

Permanent link

I only have https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ and linked from that https://rsjazz.wordpress.com/2012/11/19/using-expressions-for-automation/ as a starting point. There are some things I never did myself and did not blog.

0 votes

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
× 10,942

Question asked: Aug 02 '18, 4:11 a.m.

Question was seen: 1,133 times

Last updated: Aug 02 '18, 4:24 a.m.

Confirmation Cancel Confirm