Hi!
I have several Object Types in my Insight with different Objects in them, e.g.:
Servers
- server1
- server2 etc
Switches
- switch1
- switch2 etc
And i have an Insight custom field in each issue, where you should choose an Object linked to it.
So i want to implement a Validator, that certain field was required, but ONLY if an Object in my custom filed was in particular Object type.
For example, text field "VLAN" should be required only if Object chosen was in Object type "Switches"
So i choose a Validator in workflow, choose "Fields Required Validator (JMWE app)" and say that "VLAN" field should be required on this transition. And check 'conditional validation' checkbox. System offers me to type a Groove expression for the condition. I tried
issue.get("customfield_10501") in iqlFunction("objecttype = \"Switches\"")
like i do in JQL, but that doesnt work. Please advice