Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error using JCLI cloneProject

Joachim Sparakowski November 8, 2017

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

1 answer

1 vote
Bob Swift {Appfire}
Contributor
December 6, 2017

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

Ronny Li
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 20, 2018

solved my issue. I deleted the custom fields and it worked!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events