I'm a long time JIRA Server Admin and just recently switched to JIRA Cloud Admin. We installed Scriptrunner to help with some workflow and reporting use cases. I have found the Cloud version of Scriptrunner extremely disappointing. Everything we wanted to use it for is not there OR isn't admin friendly to configure.
My primary scenario is this:
We have Resolution + two custom drop downs, let's call them Defect Resolution & Defect Root Cause. The requirement is to either show only those Defect Resolutions that apply to the Resolution selected or display an error to pick an appropriate one. Then, Defect Root Cause should be appropriate to the Defect Resolution selected. I know I can use a Cascading Select for Defect Resolution -> Defect Root Cause, but that only resolves half the issue.
In server, most, if not all, of this could be resolved using Behaviours and/or validations using groovy scripting. Neither of these features/functionalities are available on Cloud.
I've looked through a lot of documentation for different plugins and they all seem to point to the use of Regular Expressions. I have only ever written one or two simple regex before and believe this ask is much more complicated than regex may be able to handle, but with my limited knowledge, I'm not even sure.
So, I ask you a) is there an alternate solution or b) is regex capable of handling this complex requirement and, if so, 3) how do I even get started writing the regex I need?
Any and all suggestions would be much appreciated!
Sue