How the RTC ant task to get the build related workitems?
Accepted answer
Please take the second to properly tag your questions with the product. I don't want to have to do that for you.
Please see the product documentation for the ant tasks e.g. https://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.build.doc/topics/r_ant-tasks.html
You might find that no such ANT task exist.
This functionality is basically a by product of the snapshot created for the build and retrieved using the Jazz SCM capabilities.
You can try to use the SCM command line to get that data from the snapshot. See the product documentation https://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html for the commands available. See the command compare.
Or you can use the API to do this as well as I answered on your duplicate question: https://jazz.net/forum/questions/177728/how-the-rtc-ant-task-to-get-the-build-email-notification-distribution-list
Please see the product documentation for the ant tasks e.g. https://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.build.doc/topics/r_ant-tasks.html
You might find that no such ANT task exist.
This functionality is basically a by product of the snapshot created for the build and retrieved using the Jazz SCM capabilities.
You can try to use the SCM command line to get that data from the snapshot. See the product documentation https://www-01.ibm.com/support/knowledgecenter/SSYMRC_5.0.2/com.ibm.team.scm.doc/topics/c_scm_cli.html for the commands available. See the command compare.
Or you can use the API to do this as well as I answered on your duplicate question: https://jazz.net/forum/questions/177728/how-the-rtc-ant-task-to-get-the-build-email-notification-distribution-list