Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
75 stars 81 forks source link

Loading issue for Create a new issue(V3) on Generally Available Designer #4961

Closed EnochZZ717 closed 1 week ago

EnochZZ717 commented 3 months ago

Describe the Bug with repro steps

  1. Go to logic app designer
  2. Add action "Create a new issue (V3)" from jira connector
  3. Create jira connection
  4. When loading "Project", it shows the error message "Failed to retrieve dynamic inputs. Error details"The response is not in a JSON format"
  5. Switch to Legacy Designer, it works fine.

What type of Logic App Is this happening in?

Consumption (Portal)

Are you using new designer or old designer

New Designer

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Create_a_new_issue_(V3)": {
                "inputs": {
                    "body": {
                        "fields": {
                            "summary": "test-lance-20240611"
                        }
                    },
                    "headers": {
                        "X-Request-Jirainstance": "https://softscheck-mss.atlassian.net/"
                    },
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['jira']['connectionId']"
                        }
                    },
                    "method": "post",
                    "path": "/v3/issue",
                    "queries": {
                        "issueTypeIds": "10022",
                        "projectKey": "SMC"
                    }
                },
                "runAfter": {
                    "Get_projects_(V2)": [
                        "Succeeded"
                    ]
                },
                "type": "ApiConnection"
            },
            "Get_projects_(V2)": {
                "inputs": {
                    "headers": {
                        "X-Request-Jirainstance": "https://softscheck-mss.atlassian.net/"
                    },
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['jira']['connectionId']"
                        }
                    },
                    "method": "get",
                    "path": "/v2/project/search"
                },
                "runAfter": {},
                "type": "ApiConnection"
            }
        },
        "contentVersion": "1.0.0.0",
        "outputs": {},
        "parameters": {
            "$connections": {
                "defaultValue": {},
                "type": "Object"
            }
        },
        "triggers": {
            "Microsoft_Sentinel_incident": {
                "inputs": {
                    "body": {
                        "callback_url": "@{listCallbackUrl()}"
                    },
                    "host": {
                        "connection": {
                            "name": "@parameters('$connections')['azuresentinel']['connectionId']"
                        }
                    },
                    "path": "/incident-creation"
                },
                "type": "ApiConnectionWebhook"
            }
        }
    },
    "parameters": {
        "$connections": {
            "value": {
                "azuresentinel": {
                    "connectionId": "/subscriptions/916de7a5-b163-476c-b513-1c084fdb1722/resourceGroups/resource-group-000/providers/Microsoft.Web/connections/azuresentinel-MSS-jira-ticket-create",
                    "connectionName": "azuresentinel-MSS-jira-ticket-create",
                    "connectionProperties": {
                        "authentication": {
                            "type": "ManagedServiceIdentity"
                        }
                    },
                    "id": "/subscriptions/916de7a5-b163-476c-b513-1c084fdb1722/providers/Microsoft.Web/locations/southeastasia/managedApis/azuresentinel"
                },
                "jira": {
                    "connectionId": "/subscriptions/916de7a5-b163-476c-b513-1c084fdb1722/resourceGroups/resource-group-000/providers/Microsoft.Web/connections/jira",
                    "connectionName": "jira",
                    "id": "/subscriptions/916de7a5-b163-476c-b513-1c084fdb1722/providers/Microsoft.Web/locations/southeastasia/managedApis/jira"
                }
            }
        }
    }
}

Screenshots or Videos

No response

Browser

Microsoft Edge (Version 125.0.2535.92 (Official build) (64-bit))

Additional context

No response

EnochZZ717 commented 3 months ago

image

EnochZZ717 commented 3 months ago

consolelog.log

pratikghogre8cap commented 1 month ago

Same issue, any updates on this team?

rllyy97 commented 1 month ago

I'm not able to reproduce this issue, could someone take a network trace and send the .har to me at rileyevans@gmail.com for investigation? You can find network trace instructions here: https://agreeable-beach-04ed7ce1e.5.azurestaticapps.net/tsg#collecting-console-errors

github-actions[bot] commented 2 weeks ago

We requested more information to triage this issue. If the issue goes more than 7 days with no more information it'll be automatically closed.

github-actions[bot] commented 1 week ago

This issue has been closed because the information requested wasn't provided within 7 days.