fix: jira importer info endpoint to get query params (#776)
This commit is contained in:
parent
88d2adddc7
commit
ce26bed44a
1 changed files with 4 additions and 4 deletions
|
|
@ -65,10 +65,10 @@ class ServiceIssueImportSummaryEndpoint(BaseAPIView):
|
||||||
)
|
)
|
||||||
|
|
||||||
if service == "jira":
|
if service == "jira":
|
||||||
project_key = request.data.get("project_key", "")
|
project_key = request.GET.get("project_key", "")
|
||||||
api_token = request.data.get("api_token", "")
|
api_token = request.GET.get("api_token", "")
|
||||||
email = request.data.get("email", "")
|
email = request.GET.get("email", "")
|
||||||
cloud_hostname = request.data.get("cloud_hostname", "")
|
cloud_hostname = request.GET.get("cloud_hostname", "")
|
||||||
if (
|
if (
|
||||||
not bool(project_key)
|
not bool(project_key)
|
||||||
or not bool(api_token)
|
or not bool(api_token)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue