Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=Export+custom+fields+-+1222738189
widthauto

Excerpt

Export a CSV formatted list of all custom field names and IDs.

Code Block
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);
We've encountered an issue exporting this macro. Please try exporting this page again later.