From ce26bed44ab58e8a4703a129c7f1dc4072b78bb4 Mon Sep 17 00:00:00 2001 From: pablohashescobar <118773738+pablohashescobar@users.noreply.github.com> Date: Tue, 11 Apr 2023 18:47:18 +0530 Subject: [PATCH] fix: jira importer info endpoint to get query params (#776) --- apiserver/plane/api/views/importer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apiserver/plane/api/views/importer.py b/apiserver/plane/api/views/importer.py index a1c6c212a..a0ced0dc7 100644 --- a/apiserver/plane/api/views/importer.py +++ b/apiserver/plane/api/views/importer.py @@ -65,10 +65,10 @@ class ServiceIssueImportSummaryEndpoint(BaseAPIView): ) if service == "jira": - project_key = request.data.get("project_key", "") - api_token = request.data.get("api_token", "") - email = request.data.get("email", "") - cloud_hostname = request.data.get("cloud_hostname", "") + project_key = request.GET.get("project_key", "") + api_token = request.GET.get("api_token", "") + email = request.GET.get("email", "") + cloud_hostname = request.GET.get("cloud_hostname", "") if ( not bool(project_key) or not bool(api_token)