Hi,
When trying to clone a project using the JCLI I get an error
rankBeforeIssue: expected Object.
Clone of Issue xxxx failed
I'm working under WIN10 and issued the following command
jira --action cloneProject --project "XXXX" --toProject "XXXXBL10" --cloneIssues --copyAttachments --copySubtasks --copyVersions --copyComponents
I would appreciate a hint what could be wrong
Thanks
Joachim
Sorry we missed this :(.
I would guess it is a custom field that is not a simple type and not a supported type - see Custom Field Types.
Create a support request and include the results of doing: -a getFieldValue --issue XXX-1 --field rankBeforeIssue --debug
That will tell us what kind of field it is.
In the mean time, you can always exclude problematic fields from cloning using something like:
--fieldExcludes rankBeforeIssue
solved my issue. I deleted the custom fields and it worked!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.