It's all about the answers!

Ask a question

IBM RTC 6.0.2 Build definition ant- get WI attributes


Rafael Rodriguez Montes (2301296187) | asked Jun 07 '17, 2:37 p.m.
retagged Jun 13 '17, 4:11 p.m. by Ken Tessier (84117)

 Hello, 

In my build definition, I wanted to move files from a specific stream, and I want to get status of the WI associated with the change set that contains the file(s), so is there any way that in my build.xml I can get or do a query of WI?
thanks

One answer



permanent link
Ralph Schoon (59.4k23642) | answered Jun 08 '17, 4:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you talk about the build script you finally call in the build, you would have to use the SCM command line or other means to do what you want. 


Compare https://jazz.net/help-dev/clm/topic/com.ibm.team.scm.doc/topics/compare_ex.html , checkin, deliver, show status can show work items. To get the status of a work item you would need to create your own automation e.g. the work item commandline https://rsjazz.wordpress.com/2017/03/29/the-work-item-command-line-is-now-open-source/ has code that could be used for this kind of stuff. There is no built in capability. 

Your answer


Register or to post your answer.