...
The data source for the first custom field:
Code Block |
---|
return {0,1"AFRICA", "ASIA", "EUROPE", "AMERICA", "OCEANIA"}; |
The data source for the second custom field:
Code Block |
---|
number[] res; string x = argv["customfield_10101"]; for (number istring[] res = 0; i < 100; i++) { if (i % 2 == x) res += i; }sql("myDB", "select country from countries where continent like '" + x + "'"); return res; |
In the issue view screen, the result would look like this:
, respectively