Trying to import some issues that I extracted from Redmine using a Jelly Script.. It fails with this exception..
Error: <JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
Exception: org.apache.commons.jelly.JellyTagException: file:/home/gpinkham/rubymine_workspace/migrate-redmine-to-jira/redmine_dump.jelly:23:0: java.lang.IllegalArgumentException
java.io.PrintWriter@33d2953d
the line in question is:
<jira:CreateIssue summary="upsell tracking" priority="Minor" created="2010-06-09 09:40 PM" versions="" updated="2010-10-19 06:20 PM" fixVersions="" description="Imported from Redmine issue #1&#10;&#10;Need to track upsell clicks in reports.&#13;&#10;&#13;&#10;Since the upsell action happens much earlier than the add to cart, we need to:&#13;&#10;&#13;&#10;1. Change upsell links to go through the upsell controller, which will record the (upsell_id, product_type, product_id) in the session then redirect to the&#13;&#10;appropriate target url.&#13;&#10;&#13;&#10;Best to do &#13;&#10;&#13;&#10; sessions[[product_type, product_id]] = upsell_id&#13;&#10;&#13;&#10;Yes, the key is an array.&#13;&#10;&#13;&#10;&#13;&#10;2. Add column line_items.upsell_id, default null&#13;&#10;&#13;&#10;3. When an item is added to the cart, set&#13;&#10;&#13;&#10; line_items.upsell_id = sessions[[product_type, product_id]]&#13;&#10;&#13;&#10;4. Update any reports in db/reports that reference line_items to include the upsells_table and add the upsells.id and upsells.headline columns to the report." issueIdVar="issue_id" assignee="" issueKeyVar="issue_key_1" reporter="admin" issueType="New Feature" duplicateSummary="ignore" duedate=""/>
any thoughts on what might be wrong? the error message isn't really telling me much..
thanks!
<Edit to add some more details>
for the record my file is like this:
<JiraJelly xmlns:jira="jelly:com.atlassian.jira.jelly.JiraTagLib">
<jira:CreateProject key="" lead="gpinkham" name="A Tech " url="" description="">
<jira:AddVersion releaseDate="11/May/11" name="A19: 2011-05-11" description=""/>
[...]
<jira:CreateIssue issueIdVar="issue_id" priority="Minor" assignee="" issueKeyVar="issue_key_1" reporter="admin" issueType="New Feature" duplicateSummary="ignore" duedate="" summary="upsell tracking" created="2010-06-09 09:40 PM" versions="" updated="2010-10-19 06:20 PM" fixVersions="" description="Imported from Redmine issue #1&#10;&#10;Need to track upsell clicks in reports.&#13;&#10;&#13;&#10;Since the upsell action happens much earlier than the add to cart, we need to:&#13;&#10;&#13;&#10;1. Change upsell links to go through the upsell controller, which will record the (upsell_id, product_type, product_id) in the session then redirect to the&#13;&#10;appropriate target url.&#13;&#10;&#13;&#10;Best to do &#13;&#10;&#13;&#10; sessions[[product_type, product_id]] = upsell_id&#13;&#10;&#13;&#10;Yes, the key is an array.&#13;&#10;&#13;&#10;&#13;&#10;2. Add column line_items.upsell_id, default null&#13;&#10;&#13;&#10;3. When an item is added to the cart, set&#13;&#10;&#13;&#10; line_items.upsell_id = sessions[[product_type, product_id]]&#13;&#10;&#13;&#10;4. Update any reports in db/reports that reference line_items to include the upsells_table and add the upsells.id and upsells.headline columns to the report."/>
<jira:AddComment commenter="admin" created="2010-06-09 09:46 PM" issue-key="${issue_key_1}" comment=""/>
<jira:AddComment commenter="ejeffery" created="2010-10-19 06:20 PM" issue-key="${issue_key_1}" comment="Status: Updated from 'New' to 'Closed'&#10;&#10;"/>
<jira:CreateIssue issueIdVar="issue_id" priority="Minor" assignee="" issueKeyVar="issue_key_17" reporter="admin" issueType="New Feature" duplicateSummary="ignore" duedate="" summary="Purchased designs" created="2010-08-17 06:53 PM" versions="" updated="2011-05-10 08:24 PM" fixVersions="" description="Imported from Redmine issue #17&#10;&#10;Once a design is purchased, however, it should not be possible to edit it.&#13;&#10;However one should be able to edit a copy of the design."/>
[...]