Hi there. Using either ScriptRunner / JSU / JMWE, is there a way to satisfy the following conditions:
Fields:
- *File Source - Single Select field.
- *File Source URL - Single text field
Conditions:
- File Source URL will will need to begin to match the beginning depending what File Source value is selected (e.g https://google.com)
- File Source URL will need to end to match the ending in pdf
Examples:
- If File Source = Google, the File Source URL text needs to be:
- If File Source = Yahoo, the File Source URL text needs to be:
- If File Source = Google, the File Source URL text needs to be:
We've been able to make some progress to check use ScriptRunner's Regular expression validator [ScriptRunner] to be able to make something like this happen with the following:
^https:\/\/google.com\/.*.pdf
However, I struggle to expand the script above to interact with another field. Any insights is appreciated!