I am trying to import issues from a csv file to JIRA.
One custom field [Category] in JIRA returns error.
It is defined that that field value shall be selected from a list.
I copied the value from the list and pasted to the corresponding column of the record in csv.
The following message is returned:
The value [{null=AAA}] can't be added to the Custom Field [Category]. The value
[{null=XXX}]can't be found or is in the incorrect format
How shall I modify the value in csv file?
I create a csv file from MS Excel.
Its been a few years since I've done what you are doing, but if memory serves correctly, then the answer is simply to either a) replace nulls in your CSV with a default value aligning with the list defined in Jira for Category, b) change the custom field in Jira to allow nulls (I don't recommend this though), or c) check if, instead of null, you can pass an empty string which might be accepted. (a) is how I went about this. I also had the scenario where my category domain was larger than that in Jira, so there was a bit of customization in Jira as well.
Having said all that, the returned message doesn't quite seem to fit the scenario you're describing though. [{null=XXX}] seems like the issue may be that your import column isn't mapping correctly to the custom field Category. Just a guess, but if that is the only custom field, then you should understand that custom fields are addressed differently in Jira's internal schema than standard fields, so are imported differently. Consider the advice given here. I hope this is helpful.
Hi, Tom.
Thanks for your information.
And I apologize my late response.
Regarding to your point a), I know that the Category field is mandatory and do not leave it blank, I copy the text from the field definition page and paste it to the spreadsheet.
For b), I do not have the privilege to modify master setting.
Wish your happy new year.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Recommended Learning For You
Level up your skills with Atlassian learning
Jira Align Program Essentials
Learn how to use Jira Align at the program level and how to plan for and manage your Program Increment (PI).
Managing Agile Boards and Reports
Learn how to pick the right board type for your team and customize it to fit your specific requirements.
Atlassian Certified Associate
Jira Software Board Configuration
Earn an associate-level credential from Atlassian that shows you can effectively configure Jira Software boards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.