[WEB-4359] fix: application crash when creating work item via quick add (#7245)
This commit is contained in:
parent
c3c1aef7a9
commit
f26b4d3d06
2 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue