Import failed using CLI runFromCsv with -a createIssue for any custom fields

Allan Margono August 7, 2017

jira --server <URL>  -a runFromCsv --file 802805-newCR.csv --common "--project XYZ" --continue

Verified that the custom fields are visible in the current screen and It is okay to import the same CSV using JIRA importer GUI, but using CLI got an error:

Client error: 'custom_field_xyz' is not a defined field or is not valid in this context (for instance, not being available on the appropriate screen).

Sample of the CSV format:

actioncustom_field_xyzSummaryIssueTypeAssigneePriorityReporter
createIssue802805Test CR-1BugJohnLowJohn

1 answer

0 votes
Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2017
Allan Margono August 7, 2017

it is correct.

Boris Berenberg - Atlas Authority
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2017

Hmm, do you get any more info using

--verbose 
Allan Margono August 9, 2017

Made the fields in questions visible in the current Create Screen, worked. Setting a global permission alone was not enough.

There is no need to make those fields visible when we use Jira CSV Import plugin.

Thanks,

Allan 

Suggest an answer

Log in or Sign up to answer