Skip to end of banner
Go to start of banner

Export custom fields

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Export a CSV formatted list of all custom field names and IDs.
string csv = "Name,ID\n";
runnerLog("Name, ID");

for(JCustomField cf in getAllCustomFields()) {
    string temp = cf.name + "," + cf.id;
    runnerLog(temp);
    csv += temp + "\n";
}

printInFile("customFieldList.csv", csv);
  • No labels