due date and status of a version
When importing versions from Jira, I noticed that the status of the version ('released' or 'archived' in Jira, 'closed' in Redmine) as well as the due date do not get imported.
Jira export looks like this:
<Version id="5678" project="1234" name="Version 18.0 Beta 1" description="Beta Preview 1 of Version 18"
sequence="4" released="true" releasedate="2022-12-24 00:00:00.0"/>
The version created in Redmine during the import needs to stay open in order to be able to add issues to it, so closing the version is only possible after the import of a project. Find attached a patch that imports 'releasedate' in case it is set and that adds closing of versions to the SQL file for post processing.