Bulk import

Submitted by KensingtonLock on 2010-12-08

Hi Michal,

thumbs up for a beautiful application, that so far far never failed in my environment!

I'm wondering if it's possible to accomplish some kind of bulk import.

In example firing a sequence of sql statements via ODBC towards the WebIssues server (which in my case is 0.9.7) to have it generate a new issue an then setting the fields.
Another possibility could be to wrap the server code with a php script of my own. What would be the correct calling sequence?

Can you please provide an example for either one of this (or both, kidding ;-)) ways? How can this be done safely?

I'm in urgent need to import a CSV-file into WebIssues.

Many thanks!

Michael

Take a look at lines 823-864 of index.php which is the code for adding an issue. In this code the values of all attributes are set to their default values, but you could write a similar script which would read those values from a CSV file.

Regards,
Michał