fix: bulk issue import (#1773)

This commit is contained in:
Nikhil 2023-08-02 16:42:47 +05:30 committed by GitHub
parent a66dcb9419
commit 9a29896291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -332,7 +332,7 @@ class BulkImportIssuesEndpoint(BaseAPIView):
# if there is no default state assign any random state
if default_state is None:
default_state = State.objects.filter(
~Q(name="Triage"), sproject_id=project_id
~Q(name="Triage"), project_id=project_id
).first()
# Get the maximum sequence_id