[WEB-3953] fix: issue description assets upload when project id is switched (#6975)
This commit is contained in:
parent
6df8323665
commit
546217f09b
2 changed files with 9 additions and 5 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue