[WEB-4359] fix: application crash when creating work item via quick add (#7245)

This commit is contained in:
Prateek Shourya 2025-06-20 15:16:16 +05:30 committed by GitHub
parent c3c1aef7a9
commit f26b4d3d06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -146,6 +146,11 @@ export const createIssuePayload: (projectId: string, formData: Partial<TIssue>)
id: uuidv4(),
project_id: projectId,
priority: "none",
label_ids: [],
assignee_ids: [],
sub_issues_count: 0,
attachment_count: 0,
link_count: 0,
// tempId is used for optimistic updates. It is not a part of the API response.
tempId: uuidv4(),
// to be overridden by the form data