
Announcements
So I am trying to generate Projects on a SharePoint 2016 (O365) List from JIRA.
The JQL for JIRA is project = "Corporate IT" AND resolution is EMPTY AND issuetype not in (Epic)
I noticed that the Condition field in Flow has an Advanced mode which is I set a Resolution to "Unresolved gives me the following: @equals(triggerBody()?['fields']?['resolution'], 'unresolved')
The question I have is can I create a condition that basically considers the JQL above from JIRA in order to trigger Flow?
Hi @Anonymous,
Yes, we could write formula directly under the condition advanced mode.
For the condition you have mentioned, project equals to the string "Corporate IT", resolution contains no value (empty) and issuetype not equal to Epic.
The format should be the following:
@and(equals(triggerBody()?['fields']?['project'],'Corporate IT'), and(empty(triggerBody()?['fields']?['resolution']), not(equals(triggerBody()?['fields']?['issuetype'],'Epic')) ) )
You could find the function reference through the document below:
Workflow Definition Language schema for Azure Logic Apps
For the actual content, please choose the dynamic content in basic mode, then switch to advanced mode to find the proper code (here I only reference the data from the one you mentioned), then change the proper part of the formula.
If you need any further assistance, please post back.
Regards,
Michael