I'm trying to change custom field type (single line to multi line) following this guide https://confluence.atlassian.com/jirakb/changing-custom-field-types-in-jira-158357.html - via Import CSV.
There are several issues during import:
Have anyone experienced this issue?
Please make sure you have exported the data with 3 columns- Issue key, Summary and the custom field. During the csv import map the key to 'Issue key' and it will be available. Thus, it will update the new custom field value alone. OR another choice is,
If you have script runner plugin-> Builtin scripts and copy the old single line custom field value to new multi line custom field as it is. Then, removing the old custom field as in the below screen shot.
Hope you opened the csv and edited. Did you used Microsoft excel for that? If yes, please import as Excel instead of CSV since the character coding differs for both.
It seems to be a problem with the csv format/alignment. Please cehck it with notepad++. However, reindexing may not help you now.
You can try the db aproach as listed in the guide you listed
- If you wanted to convert a Text-field Custom Field to a Free-text-field(unlimited text) Custom Field, first you need to change the data type from a stringvalue field to textvalue:UPDATE customfieldvalue SET textvalue=stringvalue WHERE customfield=(SELECT ID FROM customfield WHEREcustomfieldtypekey='com.atlassian.jira.plugin.system.customfieldtypes:textfield' AND cfname='Text Field');
- Then, change the Custom Field type by updating the customfield table as below:UPDATE customfield SET CUSTOMFIELDTYPEKEY='com.atlassian.jira.plugin.system.customfieldtypes:textarea', CUSTOMFIELDSEARCHERKEY='com.atlassian.jira.plugin.system.customfieldtypes:textsearcher'where cfname='Text Field';
You could do that with the free plugin Home Directory and DB Browser for JIRA. Keep in mind that you will have to restart and reindex JIRA after that.
I managed to find where the problem is.
When I click on Issues > Import Issues from CSV I can't select Issue Key for mapping.
When I go thru Administration > System > Import & Export > External System Import > Import (CSV) the import wizzard is slightly different and I'm able to select Issue Key and import process is able to sucessfully finish.
So there are 2 CSV import wizzards. Strange.
Thank you for hinting other solutions.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs