Hi all,
I would like to do a specific check for existing linked issues and only allow the transition if the linked issue of a specific type is existing.
I know, how I can do it for one workflow step and the code is already working. I am doing this with ScriptRunner validator and could share the code if needed.
Unfortunately, this check would have to be applied to every workflow step and would have therefore need to be copied again and again. The workflow consists of more than 20 steps and even more transitions.
Is there a way to re-use such a validator or configure a validator to be used in a specific set of transitions? Or is there a way to use the behaviors of ScriptRunner in order to make the linked issues required (but only for a given issue type)
Thanks!