It's all about the answers!

Ask a question

Batch API for RTC work items


Nick Crossley (1463) | asked Dec 02 '16, 10:09 a.m.
JAZZ DEVELOPER
Which is the best API to use to get a bunch (e.g., 100 or so) of work items from RTC, and then update some fields of those WIs, where OSLC GET and PUT on individual work items is probably going to be too slow?

2 answers



permanent link
Ralph Schoon (63.1k33645) | answered Dec 06 '16, 1:35 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/

I don't know what is best.

I prefer the Java API and have documented https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ and https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/ .

In general start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/

permanent link
Ralph Schoon (63.1k33645) | answered Dec 02 '16, 10:51 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Dec 02 '16, 10:52 a.m.
 As far as I know all APIs finally use HTTPs/REST. So I am not sure what you expect in terms of performance.
Do you have found a problem? What is the performance issue you see?

Comments
Nick Crossley commented Dec 02 '16, 11:25 a.m.
JAZZ DEVELOPER

 Performance is still under investigation - I'll update this thread later with actual experience.


Sreerupa Sen commented Dec 06 '16, 12:22 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

Ralph, Nick's question was about whether any APIs exist to get a bunch of work items from RTC and update some fields.
Now I see though that he needs to qualify getting a bunch of work items - is it by their IDs or some other query parameter, Nick?

Your answer


Register or to post your answer.