when creating Jira Issues with the Create Issue V2 connector I want to be able embed some conditional logic into my Json body depending on if I have a Assignee Id, Reporter Id or Approver Id. If these we all supplied in my request then everything is ok .
However, I don't seem to be able to inject my json snippet with conditional logic as the flow will complain with a json schema error.
Here is the above If statement:
if(!empty(outputs('Compose_-_Reporter_Id')), outputs('Compose_-_Reporter_Id_in_Json'))
I am thinking is there way to turn off the Json schema validation . I suspect this issue with hit other connectors so has anyone found a work around?
have you tried using filter array for your action? Damon has written a nice blog on a similar use case
If, Else If, Else in Power Automate Simplified - DamoBird365
Hope this helps.
Cheers,
Vinay.