[WEB-3953] fix: issue description assets upload when project id is switched (#6975)

This commit is contained in:
Prateek Shourya 2025-04-25 14:27:40 +05:30 committed by GitHub
parent 6df8323665
commit 546217f09b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -683,7 +683,7 @@ class ProjectBulkAssetEndpoint(BaseAPIView):
# For some cases, the bulk api is called after the issue is deleted creating
# an integrity error
try:
assets.update(issue_id=entity_id)
assets.update(issue_id=entity_id, project_id=project_id)
except IntegrityError:
pass