It's all about the answers!

Ask a question

Retrieve values from WorkITem


visalakshi Krishnan (611) | asked Apr 16 '14, 10:38 p.m.
edited Apr 17 '14, 5:39 a.m. by Ralph Schoon (63.0k33645)
how to retrieve WorkItem values in details tab,description section,discussions, links information and attachments

Comments
Ralph Schoon commented Apr 17 '14, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You can look a the data in any client. So what do you want to do, use the API? If so look into https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/.


visalakshi Krishnan commented Apr 17 '14, 5:34 a.m.

Thanks Ralph
I want to retrieve all values and write it in a word document, including attachments, using PlainJavaAPI.
It will be helpful if some codes/guidance to retrieve values in details tab,description section,discussions, links information and attachments.
From which class these values can be retrieved?

2 answers



permanent link
Ralph Schoon (63.0k33645) | answered Apr 17 '14, 5:45 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You can find all the code you need (if you can call java from word, or generate a Word document otherwise) on https://rsjazz.wordpress.com/ please use the search field in the top left (e.g. with attachment) to find posts of interest.

Comments
visalakshi Krishnan commented Apr 17 '14, 7:08 a.m.

Hi Ralph

I want to retrieve all values of a WorkItem and write to a file,
retrieve values in details tab,description section,discussions, links information and attachments.


permanent link
sam detweiler (12.5k6195201) | answered Apr 17 '14, 8:08 a.m.
My working sample here, second post 
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes

this retrieves the results of a pre-built query. but the workitem decode info is the same.

gets all the values of all the fields, links and attachments.

Your answer


Register or to post your answer.