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

Announcements

News and Announcements icon
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 649

 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard