When I try to bulk move issues (even when I select one issue) to another project, the bulk move fails with:
2014-12-02 10:04:57,658 http-bio-8080-exec-23 INFO UserName 604x2393673x1 ypsaom 10.100.18.97,127.0.0.1 /secure/views/bulkedit/BulkMigratePerform.jspa [jira.bulkedit.operation.BulkMigrateOperation] Performing move for project VFI_TRM issue type: Defect
2014-12-02 10:04:57,768 http-bio-8080-exec-23 ERROR UserName 604x2393673x1 ypsaom 10.100.18.97,127.0.0.1 /secure/views/bulkedit/BulkMigratePerform.jspa [jira.bulkedit.operation.BulkMoveOperationImpl] An exception occured while moving 'VXPC-542' : Index: 0, Size: 0. Rolling back the operation
2014-12-02 10:04:57,768 http-bio-8080-exec-23 ERROR UserName 604x2393673x1 ypsaom 10.100.18.97,127.0.0.1 /secure/views/bulkedit/BulkMigratePerform.jspa [action.issue.bulkedit.BulkMigrate] Error while performing Bulk Edit operation.
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at com.okapya.jira.customfields.ChecklistItemChanges.generateItemsComments(ChecklistItemChanges.java:66)
at com.okapya.jira.customfields.ChecklistItemChanges.getNewItemsComments(ChecklistItemChanges.java:51)
at com.okapya.jira.customfields.ChecklistCFType.getChangelogValue(ChecklistCFType.java:381)
at com.okapya.jira.customfields.ChecklistCFType.getChangelogValue(ChecklistCFType.java:40)
at com.atlassian.jira.issue.fields.CustomFieldImpl.getChangelogValue(CustomFieldImpl.java:444)
at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:506)
at com.atlassian.jira.issue.fields.CustomFieldImpl.updateValue(CustomFieldImpl.java:466)
at com.atlassian.jira.bulkedit.operation.BulkMoveOperationImpl.moveIssueDetails(BulkMoveOperationImpl.java:1095)
at com.atlassian.jira.bulkedit.operation.BulkMoveOperationImpl.moveIssueInsideTxn(BulkMoveOperationImpl.java:265)
at com.atlassian.jira.bulkedit.operation.BulkMoveOperationImpl.moveIssuesAndIndex(BulkMoveOperationImpl.java:183)
at com.atlassian.jira.bulkedit.operation.BulkMigrateOperation.perform(BulkMigrateOperation.java:59)
at com.atlassian.jira.web.action.issue.bulkedit.BulkMigrate.doPerform(BulkMigrate.java:264) <+3>
I found out that this problem is related to a checklist custom field which was not present on the original issue type, but is present on the new issue type. When I move the issues manually, the move goes ok, but when moved in bulk change, I get this error. My workaround was to add the checklist custom fields to the issue types of the original issues.
Our Checklist version is: 2.0.0.
No, not yet and no reaction from okapya as well. But I found a workaround myself, by adding the checklist fields also on the original issue. This is not always an acceptable workaround however.
This should now be fixed in version 2.1.0.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.