Is it possible to do Export Work items on a scheduled basis?
2 answers
Hello Bryan,
I don't think it's possible even with RTC latest.
So your need would be to create a script or Java application,
that would do a [headless] CSV export using some parameters like file name, query, separator, etc
that you could schedule to run at a given time / interval.
Correct?
To me, the CSV export is a one shot feature that I would use to bulk copy work items from one PA/server to another.
May you please elaborate on your requirement?
Thanks.
Eric.
Might it be possible, to fire a query and export the results with OSLC? Than it should be possible, to put schedule that code with the RTC build system.
Comments
Yes, OSLC is the other way around I had in mind.
Or Java API.
This would require to develop in-house the code to parse query result and output to CSV format.
Or you might be able to grab the plugin Jars of the export capabilities of the client, feed them with the right content and let go. I'd try and if it is possible use a JBE to do that. Just a thought. You would look at WorkItemExportWizard in
package com.ibm.team.workitem.rcp.ui.internal.wizards.export; Note: PluginSpy is your friend.
I am however not sure if you can externalize all the plugins as jar files. Never tried that.
See http://rsjazz.wordpress.com/2012/10/29/using-work-item-queris-for-automation/ for the Plain Java API option.