https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292008-06-24T14:22:37ZRedmineRedmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=35242008-06-24T14:22:37Zmilel fff
<ul></ul><p>I'm waiting for it also.It's much easier to make plan in Gantt for me.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=43002008-08-12T06:24:58ZAndrés Escudero Apesteguía
<ul></ul><p>We are developing the Microsoft Project file import/export utility as a plug-in for Redmine. We are having some problems with task relations due to validation on model (\app\models\issue_relation.rb):</p>
<pre><code>def before_save<br /> if TYPE_PRECEDES == relation_type<br /> self.delay ||= 0<br /> else<br /> self.delay = nil<br /> end<br /> set_issue_to_dates<br /> end<br /> def set_issue_to_dates<br /> soonest_start = self.successor_soonest_start<br /> if soonest_start && (!issue_to.start_date || issue_to.start_date < soonest_start)<br /> issue_to.start_date, issue_to.due_date = successor_soonest_start, successor_soonest_start + issue_to.duration<br /> issue_to.save<br /> end<br /> end<br /> def successor_soonest_start<br /> return nil unless (TYPE_PRECEDES == self.relation_type) && (issue_from.start_date || issue_from.due_date)<br /> (issue_from.due_date || issue_from.start_date) + 1 + delay<br /> end</code></pre>
<p>We have seen this methods make that TYPE_PRECEDES relations can’t start the same day. This is where we have the trouble. <br />For example: at the beginning of a project we have some tasks having a duration less than a day so they have the same start date. This code updates our start dates adding a day to theirs start date. For example:</p>
<ul>
<li>MS PROJECT
<ul>
<li>Designar Jefe del Proyecto
<ul>
<li>Duration: 1h</li>
<li>Begin date: mar 22/04/08</li>
<li>End date: mar 22/04/08</li>
</ul>
</li>
<li>Crear infraestructura del proyecto
<ul>
<li>Duration: 4h</li>
<li>Begin date: mar 22/04/08</li>
<li>End date: mar 22/04/08</li>
</ul>
</li>
<li>Tomar requisitos iniciales
<ul>
<li>Duration: 1d</li>
<li>Begin date: mar 22/04/08</li>
<li>End date: mar 23/04/08</li>
</ul></li>
</ul></li>
</ul>
<ul>
<li>REDMINE
<ul>
<li>Designar Jefe del Proyecto
<ul>
<li>Begin date: 2008-04-22 </li>
<li>End date: 2008-04-22</li>
</ul>
</li>
<li>Crear infraestructura del proyecto
<ul>
<li>Begin date: 2008-04-23 </li>
<li>End date: 2008-04-23</li>
</ul>
</li>
<li>Tomar requisitos iniciales
<ul>
<li>Begin date: 2008-04-23 </li>
<li>End date: 2008-04-24</li>
</ul></li>
</ul></li>
</ul>
<p>Some help on this matter?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=51482008-10-15T06:17:46ZPrashant N
<ul></ul><p>Hi,</p>
<p>anyone has done this of importing / integrating GanttProject with redmine ?</p>
<p>regards<br />shann</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=51662008-10-16T12:43:35ZMarco D'Arienzo
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=71122009-02-04T15:06:52ZSimon Stearn
<ul></ul><p>+1 !</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=101692009-07-14T23:52:50ZSlava Mikerin
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=103082009-07-23T02:55:00ZScott Tearle
<ul></ul><p>Has there been any progress on this?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=103132009-07-23T09:50:28Zalexandre guillebot
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=103152009-07-23T12:10:20ZAndré Tenreiro
<ul></ul><p>This shall be a priority!!!</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=104472009-08-03T01:05:50ZAlessandro Hecht
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=104592009-08-04T12:30:48ZAndy Piper
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=104742009-08-06T15:20:21ZSimon Stearn
<ul></ul><p>Here is a simple project plan loader as a plugin. First time using ruby and first time using git, but its here if you want to try it:</p>
<p><a class="external" href="http://github.com/simonstearn/Redmine-Project-Loader/tree/master">http://github.com/simonstearn/Redmine-Project-Loader/tree/master</a></p>
<p>Its about 6 months old now. We have been using with version 8.0 of redmine - I havent tried it on any later versions yet. I know I should put some unit tests together for it - but its a long journey to this modern stuff for an old C hacker. The clever stuff is all lifted out of <a class="external" href="http://pond.org.uk/ruby/trackrecord/">http://pond.org.uk/ruby/trackrecord/</a> which Andrew Hodgkinson kindly open sourced. The crummy hacking is all mine - sorry Andrew.</p>
<p>Not clever enough to get it to spit out project plans, cope with resource assignments or merge plans to pre-existing issues yet - so this just creates an issue on the default (configured) tracker for each low level task. The rest is left as an exercise for the reader. :-)</p>
<p>Enjoy.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=105102009-08-11T16:10:43ZGuilherme Santos
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=117352009-11-01T18:19:29ZGiuseppe Mazzotta
<ul></ul><p>+1</p>
<p>please implement MS Project support!</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=131852009-12-22T15:48:04ZBarnabás Králik
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=133472009-12-29T04:45:26Ztvt me
<ul></ul><p>+1</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=134372010-01-07T12:44:01ZSanjay Chitnis
<ul></ul><p>I found this plugin: <a class="external" href="http://github.com/suer/redmine_ms_projects">http://github.com/suer/redmine_ms_projects</a> .<br />Has anyone used it?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=147882010-03-01T11:35:05ZMarcus Ilgner
<ul></ul><p>Just thought about importing my GanttProject plan into Redmine and came across this ticket. Seems like there's no activity?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=148032010-03-01T23:02:08ZMarcus Ilgner
<ul></ul><p>After unsuccessfully trying to get the plugin recommended by Sanjay to work, I finally decided to roll my own plugin to import GanttProject files.<br />I'm a bit rusty with my Rails development, as I've been mainly working with Java for a couple of months, but after about two hours work it is now possible to import tasks from a GanttProject file and display the imported task tree.<br />The next step would be for the user to check this information and maybe select which tasks should not be synchronized into the issue tracker. As I have a lot of things to do, I'm not sure if I can finish it this week, but I guess that I should have a basic version available by Sunday evening.<br />Comments and participation (especially translations other than english and german) are welcome, of course.<br />You may find the source at <a class="external" href="http://github.com/milgner/redmine_ganttproject_sync">http://github.com/milgner/redmine_ganttproject_sync</a></p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=148642010-03-03T16:14:17ZRoberto Lo Giacco
<ul></ul><p>I can provide italian translation if it works with MS Project files too.<br />Is your plugin able to update tasks or does it perform the initial import only?</p>
<p>What about export? It could be really useful if I can plan my project on MS Project, let my users interact with RedMine and periodically download an export for MS Project for review.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=148652010-03-03T16:14:55ZRoberto Lo Giacco
<ul></ul><p>BTW, I'm a Java developer too, may be I can help in some way?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=149042010-03-04T09:51:04ZMarcus Ilgner
<ul></ul><p>Roberto Lo Giacco wrote:</p>
<blockquote>
<p>I can provide italian translation if it works with MS Project files too.</p>
</blockquote>
<p>I don't want to promise MS Project support yet, as I could only use exported GanttProject files to test it. For any more functionality, I'd have to rely on any sample files you or someone else could provide. Generally speaking, the XML generated by the GanttProject exporter isn't that different from the GanttProject files, so it wouldn't probably be that hard to simply write another import method after the whole infrastructure is working.</p>
<blockquote>
<p>Is your plugin able to update tasks or does it perform the initial import only?</p>
</blockquote>
<p>Last evening was mostly spent on looking into and extending the built-in issue model of Redmine, where I added a field to each issue to identify the original task id it was imported from. So updating should work, I still hope there won't be too many problems in case the original project file gets re-arranged too much, as I don't know a thing about how GanttProject (or MS Project for that matter) internally manages the task ids.<br />Also, I'm still thinking about what options for updating/synchronization are required, like if the importer should preserve (or maybe explicitly delete) the comment history on issues and whatever things one might want.</p>
<blockquote>
<p>What about export? It could be really useful if I can plan my project on MS Project, let my users interact with RedMine and periodically download an export for MS Project for review.</p>
</blockquote>
<p>Yeah, I thought about exporting, too. But import/update is the top priority now, I'll think about exporting when I get there :)</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=149122010-03-04T18:39:41ZSimon Stearn
<ul></ul><p>I have updated my project plan importer to work with Redmine 0.9.2. Also this now includes some improvements submitted by Scott (svvitale) - thanks Scott.</p>
<p>Its available for download here: <a class="external" href="http://github.com/simonstearn/redmine_loader">http://github.com/simonstearn/redmine_loader</a>.</p>
<p>Enjoy.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=149842010-03-08T20:36:50ZMarcus Ilgner
<ul></ul><p>Ok, great to know that there's already a plugin for MS Project out there. I just pushed some minor improvements to GitHub to make selecting the tasks to synchronize more comfortable.<br />As basic functionality is working now, I'll try to get the redmine templates to display information about nested tasks (parents & childs) as well as predecessors & dependendent tasks as a next step.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=154662010-03-25T17:49:25ZRobert Smith
<ul></ul><p>Simon Stearn wrote:</p>
<blockquote>
<p>I have updated my project plan importer to work with Redmine 0.9.2.</p>
</blockquote>
<p>Great work! I don't suppose you have any screenshots showing the results of importing on a reasonable sized project have you? I'm currently evaluating Redmine, but to compete with the paid solutions I'd need to make substantial use of plugins, and so far each I've tried has failed at some point, yours included I'm afraid -- some nil-related error on adding the selected tasks.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=156072010-04-02T18:46:08ZSimon Stearn
<ul></ul><p>Robert - I have just reproduced this. I am away from a decent development environment for the next week or so, but I'll post back here when I have news. Sorry this wasted your time !</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=156552010-04-06T15:39:51ZSimon Stearn
<ul></ul><p>Robert - I think this is resolved now. Let me know if you have problems still.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=156892010-04-08T07:02:51ZPedro Gutierrez
<ul><li><strong>File</strong> <a href="/attachments/3530">Una_tarea.xml</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3530/Una_tarea.xml">Una_tarea.xml</a> added</li></ul><p>Hi Simon,<br />We are very excited with your plugin for loading Openproj xml files into Redmine issue trackers. However, so far we've not been able to use it correctly. Regardles of the xml file we use, we always get the same error : <em>No usable tasks were found in that file</em></p>
<p>I attach one of the xml files we're using with just one single task.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=156902010-04-08T08:38:38ZRobert Smith
<ul></ul><p>Simon Stearn wrote:</p>
<blockquote>
<p>Robert - I think this is resolved now. Let me know if you have problems still.</p>
</blockquote>
<p>Simon, thanks for the update. I'm on another project at the moment (testing and fixing a Java project done by a sequence of stagiaires -- what fun!) but I'll try and fit in testing the plugin on the same MS Project XML file today, and let you know the result.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=156932010-04-08T09:58:18ZRobert Smith
<ul></ul><p>Robert Smith wrote:</p>
<blockquote>
<p>I'll try and fit in testing the plugin on the same MS Project XML file today</p>
</blockquote>
<p>Alternatively I'll try it straight away, and ignore Java for a while. Environment: latest redmine0.9stable, sqlite3, webrick, virtual pc with 1.5GB. The XML file loaded OK (95 work packages, 7MB of XML) and took 186 seconds. I changed the duplicate task names and I found the duplicate number by each duplicate task very useful.</p>
<p>On the downside, at the next step it complained about names being blank or more than 30 characters. About 80% of the tasks names were over 30 characters, so after repeatedly pruning and coming back to the same screen, I finally tried to add just a few tasks rather than all 95, but it still came back to the whinge screen. At that point I gave up.</p>
So to summarise:
<ol>
<li>Is the 30-character limit necessary? I chose the default Feature option, but don't all trackers allow longer names?</li>
<li>It would be helpful to mark the fields accused of being empty or over the length limit.</li>
<li>I seem to remember that categories were shown in the first import view, but in the whinge view the category menus were empty (i have no categories predefined). Does it add the categories, or only set them if they have been predefined?</li>
</ol>
<p>Hope the feedback is useful, and no rush on my behalf. For my own needs the other week I wrote a stand-alone Ruby script that did a simple search of the XML files, and then used the RESTful interface to add them as a task hierarchy under the new subtasking mechanism. I chose that approach as it was just for a demo, and at the time I knew Ruby but not Rails.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=160722010-04-22T06:24:06ZXabier Elkano
<ul><li><strong>File</strong> <a href="/attachments/3594">loader_controller.rb.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3594/loader_controller.rb.diff">loader_controller.rb.diff</a> added</li></ul><p>I've been testing the Simon's plugin (thanks Simon!):</p>
<p>- There is no 30 characters limit on task names. The problem is when the category name reaches this limit.<br />- The categories (new categories) are retrieved from xml file, they are tasks with subtasks. This approach is not valid for me. I think that categories must be on the redmine project or leave the category field blank to make easier the import.<br />- This plugin only works for MS Project. For OpenProj and Granttproject does not work because it searches for some tags that does not exist in the xml file. I need the plugin working on OpenProj.</p>
<p>I've updated the plugin to satisfy my criteria and to work with OpenProj:<br />- Now it works with MS Project, OpenProj and GranttProject, tested with all of them.<br />- I've cut the task's predecessor functionality. It isn’t necessary for me.<br />- I fill the category field with blank for default value and don't import anything from xml document; the category selector only shows existing categories.</p>
<p>I attach the diff files I've updated in the plugin.</p>
<p>thanks for the plugin Simon, is great!</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=160732010-04-22T06:26:04ZXabier Elkano
<ul><li><strong>File</strong> <a href="/attachments/3595">loader_helper.rb.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3595/loader_helper.rb.diff">loader_helper.rb.diff</a> added</li></ul><p>And loader_helper.rb</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=165102010-05-06T09:20:59ZSe Ri
<ul></ul><p>Hi Simon and all,</p>
<p>For those who have tried this plugin, let me ask a stupid question.</p>
<p>After selecting XML file (from MS Project), I select some tasks, click Import selected tasks and get this error (on top of the screen)</p>
<p>"Unable to import tasks: Validation failed: Submitted date can't be blank, Module can't be blank, Value is invalid, Priority can't be blank"</p>
<p>Please help to tell me what to do to pass. Should I edit XML file to include tracker and priority ?</p>
<p>Thanks in advance.</p>
<p>Seri<br />PS. I use this version "simonstearn-redmine_loader-0.0.11-0-g666c84d.zip" and redmine 0.9.4</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=165112010-05-06T09:27:53ZSe Ri
<ul></ul><p>Hi all,</p>
<p>Forget about my previous error message, which includes custom fields. This is the one</p>
<p>"Unable to import tasks: Validation failed: Priority can't be blank".</p>
<p>Should I modify XML file to pass ?</p>
<p>Seri</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=171872010-06-07T14:23:30ZGennadii Omelchenko
<ul></ul><p>Hi all!</p>
<p>Thanks, Simon, for your plugin!</p>
<p>But I've got some problem :(<br />First, It's impossible to configure issue state, when i assign developer during import (we've changed standart state machine and i've got issue in "postponed" state).<br />Second, Plugin generates illegal link to Issues page for our server after import (it has local address - http:\\server:port\redmine, and plugin generates address http:\\redmine:port\issues instead of http:\\redmine:port\redmine\issues)</p>
<p>Can anybody help with these bug?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=192792010-08-12T07:45:18ZFabio Leitao
<ul><li><strong>File</strong> <a href="/attachments/4295">pp.xml</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4295/pp.xml">pp.xml</a> added</li></ul><p>Simon,</p>
<p>I have been reading the code from your plugin and I have to thank you a lot for your effort.</p>
<p>I was trying to collaborate but I could translate to my own language (pt-BR) without messing with the actual code since there is no real en.yml? I could only find a fake one...</p>
<p>Does anyone here knows what it take to make the plugin portable to other languages?</p>
<p>--</p>
<p>Another issue, completelly different, I must be doing something terrebly wrong cause when I try to import any openproj xml file it tells that "No usable tasks were found in that file"</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=192832010-08-12T11:51:26ZXabier Elkano
<ul><li><strong>File</strong> <a href="/attachments/4296">redmine_importer.tar.gz</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4296/redmine_importer.tar.gz">redmine_importer.tar.gz</a> added</li></ul><p>Fabio Leitao wrote:</p>
<blockquote>
<p>Simon,</p>
<p>I have been reading the code from your plugin and I have to thank you a lot for your effort.</p>
<p>I was trying to collaborate but I could translate to my own language (pt-BR) without messing with the actual code since there is no real en.yml? I could only find a fake one...</p>
<p>Does anyone here knows what it take to make the plugin portable to other languages?</p>
<p>--</p>
<p>Another issue, completelly different, I must be doing something terrebly wrong cause when I try to import any openproj xml file it tells that "No usable tasks were found in that file"</p>
</blockquote>
<p>Fabio, I've just modified the plugin to support other languages. I've also modified some code to support openproj and ganttproject, because we work with them.<br />My plugin version is a bit different because I've personalized it to my needs. I've tested it in redmine 1.0</p>
<p>I hope that it helps you.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=192972010-08-13T00:46:36ZFabio Leitao
<ul><li><strong>File</strong> <a href="/attachments/4299">pt-BR.yml</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4299/pt-BR.yml">pt-BR.yml</a> added</li></ul><p>Xabier Elkano wrote:</p>
<blockquote>
<p>Fabio, I've just modified the plugin to support other languages. I've also modified some code to support openproj and ganttproject, because we work with them.<br />My plugin version is a bit different because I've personalized it to my needs. I've tested it in redmine 1.0</p>
<p>I hope that it helps you.</p>
</blockquote>
<p>Xabier,</p>
<p>:D It worked like a charm! Already importing tasks and milestones from OpenProj XML files... I'll try MS Project this weekend (don't have any now).</p>
<p>By the way, here is my pt-BR.yml translation file, I hope I've got all the phrases right (specially the logic describing how it works).</p>
<p>Thanx</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=192992010-08-13T01:07:31ZFabio Leitao
<ul></ul><p>Almost forgot to ask... the tasks that already had some % of progress (but not yet 100%) got imported on "feedback" mode, while the uninitiated ones got the project folder as "new"</p>
<p>Is this the expected behaviour? Would it be difficult to customize for 0% as "new", 1..99% as "In progress" and 100% as "Feedback" or even "Closed"? I believe it makes more sense for most users in most situations, but I am not sure how or where to change it.</p>
<p>And what would the "existing categories" be used for? It did not seem to change anything on the end result.</p>
<p>For the one willing to test it too, I am using it (today) under Redmine 1.0.0.devel.3938 (MySQL), non-destructively working together with serveral other plugins in my system.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=193242010-08-13T08:16:17ZXabier Elkano
<ul></ul><p>Fabio Leitao wrote:</p>
<blockquote>
<p>Almost forgot to ask... the tasks that already had some % of progress (but not yet 100%) got imported on "feedback" mode, while the uninitiated ones got the project folder as "new" <br />Is this the expected behaviour? Would it be difficult to customize for 0% as "new", 1..99% as "In progress" and 100% as "Feedback" or even "Closed"? I believe it makes more sense for most users in most situations, but I am not sure how or where to change it.</p>
</blockquote>
<p>I am very novice in ruby, but I think it can be done in loader_controller when you are filling the destintation issue. The problem here is that these issue states can be customized. Now, the issue state is not filled when the issue is imported so the issue is imported with default state (NEW).</p>
<blockquote>
<p>And what would the "existing categories" be used for? It did not seem to change anything on the end result.</p>
</blockquote>
<p>"Existing Categories" is for import the issue assigning directly a category that exists on the current project. If the list is empty is because you have not issue categories in that project.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=193672010-08-14T05:52:10ZFabio Leitao
<ul></ul><p>Xabier Elkano wrote:</p>
<blockquote>
<p>Fabio Leitao wrote:</p>
<blockquote>
<p>Almost forgot to ask... the tasks that already had some % of progress (but not yet 100%) got imported on "feedback" mode, while the uninitiated ones got the project folder as "new" <br />Is this the expected behaviour? Would it be difficult to customize for 0% as "new", 1..99% as "In progress" and 100% as "Feedback" or even "Closed"? I believe it makes more sense for most users in most situations, but I am not sure how or where to change it.</p>
</blockquote>
<p>I am very novice in ruby, but I think it can be done in loader_controller when you are filling the destintation issue. The problem here is that these issue states can be customized. Now, the issue state is not filled when the issue is imported so the issue is imported with default state (NEW).</p>
</blockquote>
<p>I am still a <em>ruby</em> newbie, but I'm looking forward for the chalenge, I'll try to understand it better, make my changes and experiment for a while... I hope I can figure out where to adjust this behaviour, and post here any discoveries.</p>
<blockquote>
<blockquote>
<p>And what would the "existing categories" be used for? It did not seem to change anything on the end result.</p>
</blockquote>
<p>"Existing Categories" is for import the issue assigning directly a category that exists on the current project. If the list is empty is because you have not issue categories in that project.</p>
</blockquote>
<p>Oh, I do have a project (in my production system) with categories... I'll eventually try that as well.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=193682010-08-14T06:21:46ZFabio Leitao
<ul></ul><p>And it won't run with Redmine 1.0.0.devel.3940 - beware of upgrades - I had to roll back.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=193692010-08-14T07:55:45ZFabio Leitao
<ul><li><strong>File</strong> <a href="/attachments/4307">loader_controller.rb.issue_status.patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4307/loader_controller.rb.issue_status.patch">loader_controller.rb.issue_status.patch</a> added</li><li><strong>File</strong> <a href="/attachments/4308">pt-BR.yml</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/4308/pt-BR.yml">pt-BR.yml</a> added</li></ul><p>Xabier,</p>
<p>I think I am in love with Ruby right now... it was as straight forward as possible.</p>
<p>I am reposting my pt-BR.yml translation, because I have realized I had made a stupid mistake (my bad), and I would like you to consider applying my patch to you loader_controller.rb</p>
<p>With it, I had implemented the following cenarios:</p>
<p>a) if, when imported, task is not assigned to anyone yet, it will stay as NEW (i.status_id = 1), regardless of progress amount - i.e. there is no one responsible, there most likely be no progress yet</p>
<p>b) if, in the other hand, the task is assigned to someone but has no progress, it will change the status to CONFIRMED (i.status_id = 9) - i.e. someone can start working on it</p>
<p>c) if, again, the task has been assigned to someone and some progress (from 1% to 99%) has been declared (in the original XML file or edited on the fly), the status will be IN PROGRESS (i.status_id = 2) - someone has already started working on it</p>
<p>d) if, for instance, the task has been assigned to someone, and it says it has been 100% done already, then it is marked as RESOLVED (i.status_id = 3) - someone has completed it (but a customer or manager may need to confirm and close it)</p>
<p>Those were based on the current default status available in a fresh redmine instalation, and if you have customized the names of the issue status in your instalation (I believe you know what you have been doing then) your choice of no longer makes sense with my choices, it is a simple "find-the-correct-status-number-reading-from-your-log-file" and "set-the-supposed-new-value-in-the-correct-position-of-the-code" task now.</p>
<p>When I learn, I'll try to post a rewrite of the plugin configuration page that might ask for the "required default state" according to what the user might like to use when importing, based on the interpretation of the status_id from his/her particular system... but then again, I have no idea where to look for it... :D</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=194012010-08-16T06:31:19ZXabier Elkano
<ul></ul><p>Fabio,</p>
<p>I've been seeing your patch and is a nice feature, but on my installation, at the moment, I only have three states to simplify the operation (Open, solved and closed), sure on the near future the list grows up, but for now I can only apply part of your patch ("d" case), thanks!</p>
<blockquote>
<p>Those were based on the current default status available in a fresh redmine instalation, and if you have customized the names of the issue status in your instalation (I believe you know what you have been doing then) your choice of no longer makes sense with my choices, it is a simple "find-the-correct-status-number-reading-from-your-log-file" and "set-the-supposed-new-value-in-the-correct-position-of-the-code" task now.</p>
</blockquote>
<p>The states ids can be found doing a select in "issue_statuses" table.</p>
<blockquote>
<p>When I learn, I'll try to post a rewrite of the plugin configuration page that might ask for the "required default state" according to what the user might like to use when importing, based on the interpretation of the status_id from his/her particular system... but then again, I have no idea where to look for it... :D</p>
</blockquote>
<p>maybe on this page? <a class="external" href="http://www.redmine.org/wiki/redmine/Plugin_Tutorial">http://www.redmine.org/wiki/redmine/Plugin_Tutorial</a></p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=199252010-09-02T15:05:18ZDaniel Rudolf
<ul></ul><p>Hello,</p>
<p>I'm a newbie and I'm not sure if my question is on the right place, but has anyone thought about the mpx-format of MS Project? Is there already a plug-in for import/export?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=199792010-09-04T19:11:00ZAlex Last
<ul></ul><p>Daniel Rudolf wrote:</p>
<blockquote>
<p>Hello,</p>
<p>I'm a newbie and I'm not sure if my question is on the right place, but has anyone thought about the mpx-format of MS Project? Is there already a plug-in for import/export?</p>
</blockquote>
<p>this project does Microsoft Project (MPX) <-> Redmine sync.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=199802010-09-04T19:11:34ZAlex Last
<ul></ul><p>oops. forgot to add the link: <a class="external" href="http://code.google.com/p/redmine-connect/">http://code.google.com/p/redmine-connect/</a></p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=231672010-12-14T09:15:54ZSiegfried Vogel
<ul></ul><p><a class="user active" href="https://www.redmine.org/users/3235">Alexey Yurganov</a>: That link is not working any more. I get a "Forbidden" message.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=231692010-12-14T09:21:28ZAlex Last
<ul></ul><p>I renamed the project and moved it to a new domain: <a class="external" href="http://www.taskadapter.com">http://www.taskadapter.com</a><br />the application is not free anymore, but you can download a trial version from there.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=239132011-01-11T17:03:59ZRoman aka iTUX
<ul></ul><p>Alexey Skor wrote:</p>
<blockquote>
<p>I renamed the project and moved it to a new domain: <a class="external" href="http://www.taskadapter.com">http://www.taskadapter.com</a><br />the application is not free anymore, but you can download a trial version from there.</p>
</blockquote>
<p>good software, but it costs too much</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=239172011-01-11T19:35:14ZAlex Last
<ul></ul><p>Roman aka iTUX wrote:</p>
<blockquote>
<p>Alexey Skor wrote:</p>
<blockquote>
<p>I renamed the project and moved it to a new domain: <a class="external" href="http://www.taskadapter.com">http://www.taskadapter.com</a><br />the application is not free anymore, but you can download a trial version from there.</p>
</blockquote>
<p>good software, but it costs too much</p>
</blockquote>
<p>Thanks for trying it. The price includes support for 1 year. Some of the users request additional features and bugfixes, <br />and this is also included in the price. For example, a version planned for February will include a command-line 2-way sync, which can be run automatically (say, as a cron job). <br />The price must cover the cost development, testing, documenting, support, plus keeping up-to-date with rapidly evolving Redmine REST API. So the price has to be adequate to ensure the level of quality users expect of commercial software.<br />Anyway, please contact me (<a class="external" href="http://www.taskadapter.com/Contact">http://www.taskadapter.com/Contact</a>) to discuss your situation</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=240142011-01-13T13:32:39ZAndreas Schrottenbaum
<ul></ul><p>I've installed the loader of Simon on my System. (Downloaded from <a class="external" href="https://github.com/simonstearn/redmine_loader">https://github.com/simonstearn/redmine_loader</a>).</p>
<p>Sometimes i get the error 'Unable to import tasks: translation missing: de, activerecord, errors, messages, record_invalid'. The error only appears when i try to import a whole project at once. When i add the tasks block-wise by 10, the tasks are imported correctly.</p>
<p>Can you help me finding out what's going wrong?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=268052011-03-23T08:14:45ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>Importers</i></li></ul> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=278492011-04-13T03:02:23ZFabián Varietti
<ul></ul><p>Andreas Schrottenbaum wrote:</p>
<blockquote>
<p>I've installed the loader of Simon on my System. (Downloaded from <a class="external" href="https://github.com/simonstearn/redmine_loader">https://github.com/simonstearn/redmine_loader</a>).</p>
<p>Sometimes i get the error 'Unable to import tasks: translation missing: de, activerecord, errors, messages, record_invalid'. The error only appears when i try to import a whole project at once. When i add the tasks block-wise by 10, the tasks are imported correctly.</p>
<p>Can you help me finding out what's going wrong?</p>
</blockquote>
<p>I need a plugin to import from a MS Project (XML format) to Redmine.<br />In order to this, as Andreas, I've installed the loader of Simon too and the same error appears.</p>
<p>I tried to load only 10 task but the error always stop the import (even if the tasks are deleted directly from the XML file)</p>
<p>Can anybody help?! THANKS</p>
<p>I tried to install too the plugin in the next link: <a class="external" href="http://github.com/simonstearn/redmine_loader">http://github.com/simonstearn/redmine_loader</a><br />...but I can't restart the Redmine service (as I read It seems to be caused by .yml file)</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=290032011-05-18T17:40:51ZFabián Varietti
<ul></ul><p>Fortunately I could solve de problem changing the languaje of the user to English.<br />Aparently if the user who is going to realise the import from a xml file hasn't the English lengauaje set the plugin doesn't work correctly (because a particularity of Ruby in a puntual function which work with BD object's)</p>
<p>So if somebody has the same error message as me try changing the User Language to English first.</p>
<p>Thx!</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=309692011-07-21T20:50:20ZAlex Last
<ul></ul><p>Fabián Varietti wrote:</p>
<blockquote>
<p>I need a plugin to import from a MS Project (XML format) to Redmine.<br />In order to this, as Andreas, I've installed the loader of Simon too and the same error appears. <br />I tried to load only 10 task but the error always stop the import (even if the tasks are deleted directly from the XML file) <br />Can anybody help?! THANKS</p>
</blockquote>
<p>Task Adapter does exactly this: export data from MSP to Redmine (and vice-versa): <a class="external" href="http://taskadapter.com">http://taskadapter.com</a></p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=321262011-09-09T20:37:00ZMobi Develoepr
<ul></ul><p>Hello,</p>
<p>I am new to redmine and wanted to use this plugin to import an MS Project XML File. I tried to import an XML file from MS Project. the analysis went thro fine, but i have over 200+ tasks and the "Tracker" field is empty. so when i try to import it i get this error message</p>
<p>Unable to import tasks: Validation failed: Tracker can't be blank, Tracker is not included in the list</p>
<p>How do i add "Tracker" field in my MPP project in MS Project? OR should i change the XML file? if so how?</p>
<p>any help in this would be highly appreciated</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327292011-10-06T16:57:08ZIvana Larramendia
<ul></ul><p>Hello, i'm trying to use this plugin but i get this message> UNABLE TO IMPORT TASKS:translation missing:es, activerecord, errors, messages, record_invalid.<br />i'm ussing redmine 1.2.1, rake 0.8.7, rails 2.3.11, i18n 0.4.2 and rack 1.1.1<br />if someone can help please?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327422011-10-07T10:15:08ZXabier Elkano
<ul></ul><p>Mobi Develoepr wrote:</p>
<blockquote>
<p>How do i add "Tracker" field in my MPP project in MS Project? OR should i change the XML file? if so how?</p>
<p>any help in this would be highly appreciated</p>
</blockquote>
<p>Have you configured the tracker in the plugin settings?</p>
<p>Ivana Larramendia wrote:</p>
<blockquote>
<p>Hello, i'm trying to use this plugin but i get this message> UNABLE TO IMPORT TASKS:translation missing:es, activerecord, errors, messages, record_invalid.<br />i'm ussing redmine 1.2.1, rake 0.8.7, rails 2.3.11, i18n 0.4.2 and rack 1.1.1<br />if someone can help please?</p>
</blockquote>
<p>Are you using this <a class="external" href="http://www.redmine.org/attachments/4296/redmine_importer.tar.gz">http://www.redmine.org/attachments/4296/redmine_importer.tar.gz</a> ??</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327442011-10-07T10:33:38ZIvana Larramendia
<ul><li><strong>File</strong> <a href="/attachments/6633">Pantallazo-6.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6633/Pantallazo-6.png">Pantallazo-6.png</a> added</li></ul><p>yes, i'm using the same one, i add the lines es: and en: in the top of the en.yml and es.yml but still doesn't work. <br />this is the screenshot i get wen i try to import selection.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327452011-10-07T10:38:32ZXabier Elkano
<ul></ul><p>Ivana Larramendia wrote:</p>
<blockquote>
<p>yes, i'm using the same one, i add the lines es: and en: in the top of the en.yml and es.yml but still doesn't work. <br />this is the screenshot i get wen i try to import selection.</p>
</blockquote>
<p>Can you attach the xml test file you are trying to import?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327462011-10-07T10:43:25ZIvana Larramendia
<ul></ul><p>i'm using the one is here. Una_tarea.xml.. that one i'm trying to use and i get that message.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327472011-10-07T11:01:07ZXabier Elkano
<ul></ul><p>Ivana Larramendia wrote:</p>
<blockquote>
<p>i'm using the one is here. Una_tarea.xml.. that one i'm trying to use and i get that message.</p>
</blockquote>
<p>Have you correctly configured the tracker name in the plugin settings?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327482011-10-07T11:04:53ZIvana Larramendia
<ul></ul><p>no, i didn't configure anything about that. i just add those lines i told you before, where do i do that?</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327502011-10-07T11:28:31ZXabier Elkano
<ul></ul><p>you have to configure it first in Settings->Plugins and change the tracker name to an existing one.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327512011-10-07T11:43:37ZIvana Larramendia
<ul></ul><p>i leave it default .. now i tried changing it to another name existing and still get the same error message.</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327522011-10-07T11:54:47ZIvana Larramendia
<ul></ul><p>did you modify sth in vendor/redmine_loader/config ? 'cuz the error i'm having is for translation..</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327532011-10-07T12:04:20ZXabier Elkano
<ul></ul><p>Ivana Larramendia wrote:</p>
<blockquote>
<p>did you modify sth in vendor/redmine_loader/config ? 'cuz the error i'm having is for translation..</p>
</blockquote>
<p>No</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327542011-10-07T12:43:56ZIvana Larramendia
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li></ul><p>you have to configure ussing existing trakers in redmine.. <br />for exemple.. in settings i use "Tareas" which is an existing tracker in redmine. and the it worked!</p> Redmine - Feature #1460: Project Plan import/export utilityhttps://www.redmine.org/issues/1460?journal_id=327572011-10-07T13:13:55ZEtienne Massip
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>New</i></li></ul><p>This is not a defect, please next time post your questions in Plugins forum (there is usually a thread for each plugin).</p>