Versions Compared

Key

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

...

This script is run from the SelectAllInList_watch.sil listener script and selects all items in a list if the Select All item array value is selectedset.

Code Block
string [] c = argv["customfield_10712"];
string [] colors = {"Black", "Blue", "Brown", "Green", "Orange", "Red", "Yellow", "White"};

if(arrayElementExists(c, "Select All")) {  
    lfSet("customfield_10712" , colors);
}