Welcome to the Jazz Community Forum
how to get story name in xml format using java api?
One answer

Start here:
- https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
- https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/
-
https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation
-
https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/
- https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/
https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation especially gives you a good first impression on the API.