Hi all,
Bit new to ScriptRunner as I am attempting to build a validator during the transition for when an issue is being created in the workflow on Jira Cloud. I want that when a customer selects specific options from a custom field, they are required to attach and attachment depending on which option is selected. What is the best way to do this? I am attempting to use ScriptRunner but was wondering if anyone may have a clue for what a general script would look like for this?
Also, I am assuming I would need to list option IDs along with of course, the custom field ID. But what's the best way to do so in the script?
In addition, I did find this here stating that this can be a bit challenging from what I've read.
Thanks!