This document describes the Azure Logic App Workflow logic-jiraintegration-demo in the jiraintegration-demo-rg resource group in the Internal Subscription subscription.
This document is programmatically generated using a PowerShell script.
Date: 2023-07-09 15:53:39
graph TB
Trigger
subgraph Condition_-_Status-False
direction TB
Compose_-_Resolved_-_Current_Item
For_Each_-_JIRA_SHA_Incident
HTTP_-_Get_all_Active_JIRA_SHA_Incidents
Parse_JSON_-_HTTP_-_Get_all_Active_JIRA_SHA_Incidents
end
subgraph Condition_-_Status-True
direction TB
Compose_-_Current_Item
Compose_-_SHA_TimeGeneratedUTC
Compose_-_Subscriptions_Array
Create_a_new_issue_V2
Html_to_text_-_Summary_Communication
end
subgraph Condition-True
direction TB
HTTP_-_Close_JIRA_SHA_Incident
end
subgraph For_Each_-_JIRA_SHA_Incident
direction TB
Compose_-_Current_JIRA_SHA_Incident
Compose_-_JIRA_Incident_Id
Compose_-_TICKET_ID_Number
Condition
end
subgraph For_Each_-_SHA
direction TB
Condition_-_Status
end
Parse_JSON_-_Log_Analytics_Search_Query --> For_Each_-_SHA
For_Each_-_SHA --> Condition_-_Status
Compose_-_SHA_TimeGeneratedUTC --> Compose_-_Current_Item
Condition_-_Status --> Compose_-_SHA_TimeGeneratedUTC
Compose_-_Current_Item --> Compose_-_Subscriptions_Array
Html_to_text_-_Summary_Communication --> Create_a_new_issue_V2
Compose_-_Subscriptions_Array --> Html_to_text_-_Summary_Communication
Condition_-_Status --> Compose_-_Resolved_-_Current_Item
Parse_JSON_-_HTTP_-_Get_all_Active_JIRA_SHA_Incidents --> For_Each_-_JIRA_SHA_Incident
For_Each_-_JIRA_SHA_Incident --> Compose_-_Current_JIRA_SHA_Incident
Compose_-_TICKET_ID_Number --> Compose_-_JIRA_Incident_Id
Compose_-_Current_JIRA_SHA_Incident --> Compose_-_TICKET_ID_Number
Compose_-_JIRA_Incident_Id --> Condition
Condition --> HTTP_-_Close_JIRA_SHA_Incident
Compose_-_Resolved_-_Current_Item --> HTTP_-_Get_all_Active_JIRA_SHA_Incidents
HTTP_-_Get_all_Active_JIRA_SHA_Incidents --> Parse_JSON_-_HTTP_-_Get_all_Active_JIRA_SHA_Incidents
Run_query_and_list_results --> Parse_JSON_-_Log_Analytics_Search_Query
Parse_JSON --> Run_query_and_list_results
Trigger --> Parse_JSON
This section shows an overview of Logic App Workflow actions and their dependencies.
ActionName | Type | RunAfter | Inputs |
---|---|---|---|
Parse_JSON | ParseJson | { |
|
Run_query_and_list_results | ApiConnection | Parse_JSON | { |
Parse_JSON_-_Log_Analytics_Search_Query | ParseJson | Run_query_and_list_results | { |
For_Each_-_SHA | Foreach | Parse_JSON_-_Log_Analytics_Search_Query | null |
Condition_-_Status | If | For_Each_-_SHA | null |
Compose_-_SHA_TimeGeneratedUTC | Compose | Condition_-_Status-True | "@items('For Each - SHA')?['TimeGeneratedUTC']" |
Compose_-_Current_Item | Compose | Compose_-_SHA_TimeGeneratedUTC | "@items('For Each - SHA')" |
Compose_-_Subscriptions_Array | Compose | Compose_-_Current_Item | "@array(items('For Each - SHA').Subscriptions)" |
Html_to_text_-_Summary_Communication | ApiConnection | Compose_-_Subscriptions_Array | { |
Create_a_new_issue_V2 | ApiConnection | Html_to_text_-_Summary_Communication | { |
Compose_-Resolved-_Current_Item | Compose | Condition_-_Status-False | "@items('For Each - SHA')" |
HTTP_-_Get_all_Active_JIRA_SHA_Incidents | Http | Compose_-Resolved-_Current_Item | { |
Parse_JSON_-HTTP-_Get_all_Active_JIRA_SHA_Incidents | ParseJson | HTTP_-_Get_all_Active_JIRA_SHA_Incidents | { |
For_Each_-_JIRA_SHA_Incident | Foreach | Parse_JSON_-HTTP-_Get_all_Active_JIRA_SHA_Incidents | null |
Compose_-_Current_JIRA_SHA_Incident | Compose | For_Each_-_JIRA_SHA_Incident | "@items('For_Each_-_JIRA_SHA_Incident')" |
Compose_-_TICKET_ID_Number | Compose | Compose_-_Current_JIRA_SHA_Incident | "@items('For Each - SHA')?['TICKET_ID_Number']" |
Compose_-_JIRA_Incident_Id | Compose | Compose_-_TICKET_ID_Number | "@items('For_Each_-_JIRA_SHA_Incident')['id']" |
Condition | If | Compose_-_JIRA_Incident_Id | null |
HTTP_-_Close_JIRA_SHA_Incident | Http | Condition | { |
This section shows an overview of Logic App Workflow connections.
ConnectionName | ConnectionId | ConnectionProperties |
---|---|---|
azuremonitorlogs | /subscriptions/3c20ccf5-16da-469c-8b3b-219de5e4a054/resourceGroups/jiraintegration-demo-rg/providers/Microsoft.Web/connections/azuremonitorlogs | null |
conversionservice | /subscriptions/3c20ccf5-16da-469c-8b3b-219de5e4a054/resourceGroups/jiraintegration-demo-rg/providers/Microsoft.Web/connections/conversionservice | null |
jira-3 | /subscriptions/3c20ccf5-16da-469c-8b3b-219de5e4a054/resourceGroups/jiraintegration-demo-rg/providers/Microsoft.Web/connections/jira-3 | null |