It's all about the answers!

Ask a question

calling Query from RTC server and extract the result


Hassan Tawfik (114) | asked Nov 16 '15, 5:34 a.m.
 how can i calling Query from RTC server in RTC Client  and extract the result which display like 
Bug status (Fixed ,new ,etc), and Fixed by,owner and SO on . 

One answer



permanent link
Ralph Schoon (63.1k33646) | answered Nov 16 '15, 6:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
See https://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ for more about the API see the other articles. Also see A RTC WorkItem Command Line Version 3.0 for a very complete example for API usage.

Comments
Hassan Tawfik commented Nov 16 '15, 6:51 a.m. | edited Nov 17 '15, 2:09 a.m.

Yes,my issue in how to extract  workItem in my client  values to get project name ,project id ,owner,fixed by and so on.
 IWorkItem workItem = resolvedResult.getItem(); 
        // do something with the work item
        processed++;

Ralph Schoon commented Nov 16 '15, 6:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Hassan Tawfik commented Nov 17 '15, 1:52 a.m. | edited Nov 17 '15, 2:10 a.m.

 i need to extract values from workItem by java API client not by  A RTC WorkItem Command Line Version 3.0 



please advise. thanks alot for your support


Ralph Schoon commented Nov 17 '15, 2:09 a.m. | edited Nov 17 '15, 2:10 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

I advise to read the articles mentioned and download the attached code or look at the code examples in some of the posts. There are tons of code examples in that blog that other people are able to read and use easily enough.

Read


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.