IBM RTC 6.0.2 Build definition ant- get WI attributes
![]()
Rafael Rodriguez Montes (230●13●117●237)
| asked Jun 07 '17, 2:37 p.m.
retagged Jun 13 '17, 4:11 p.m. by Ken Tessier (841●1●7) 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
![]()
Ralph Schoon (62.7k●3●36●43)
| 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.
also see https://jazz.net/library/article/195
|