RTC 6.0.6 - Java client API - How to call a predefined query with parameters ?
Hello,
I write a java program , who call some predefined querys in RTC.
One of this querys require a parameter, the work item id.
How to pass this parameter to the IQueryDescriptor instancied query variable ?
I can try to use query.setParameterValues() but it is marked @deprecated.
I use RTC 6.0.6.
Thanks in advance
|
Accepted answer
Looks like you may have to continue to use IQueryDescriptor.setParameterValues() even though it was marked as deprecated way back in 2012 in RTC 4.0.
I see there was a work item extracted to implement some alternative API to use, but this was never finished (tracked in Extract ResolvedQuery abstraction from IQueryDescriptor (198737))
Olivier ROSET selected this answer as the correct answer
|
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.