web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Adding conditional log...
Power Automate
Unanswered

Adding conditional logic to the Json body in Create Jira request

(0) ShareShare
ReportReport
Posted on by 640

 

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.

 

westerdaled_0-1660818197141.png

 

westerdaled_2-1660818441144.png

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?

Categories:
I have the same question (0)
  • vayinapurapu1 Profile Picture
    233 on at

    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. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard