forked from github/plane
fix: jira importer info endpoint to get query params (#776)
This commit is contained in:
parent
88d2adddc7
commit
ce26bed44a
@ -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…
Reference in New Issue
Block a user