Info | ||
---|---|---|
| ||
Power Scripts™ for Jira v2.5.3+ (server) Level: BASIC |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
string v = argv["customfield_XXXXX"]; if (v == "Option 1") { lfAllowSelectOptions("customfield_YYYYY", {"None|1A|1B|1C"", "1A", "1B", "1C"}); } else if (v == "Option 2") { lfAllowSelectOptions("customfield_YYYYY", {"None|2A|", "2A", "2B"}); } else { lfAllowSelectOptions("customfield_YYYYY", {"None"}); } |
Result