mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 13:35:04 +02:00
Tracker: parent issues name (#2136)
Signed-off-by: Sergei Ogorelkov <sergei.ogorelkov@xored.com>
This commit is contained in:
@@ -54,7 +54,8 @@
|
||||
priority: IssuePriority.NoPriority,
|
||||
dueDate: null,
|
||||
comments: 0,
|
||||
subIssues: 0
|
||||
subIssues: 0,
|
||||
parents: []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -94,7 +95,8 @@
|
||||
...newIssue,
|
||||
title: getTitle(newIssue.title),
|
||||
number: (incResult as any).object.sequence,
|
||||
rank: calcRank(lastOne, undefined)
|
||||
rank: calcRank(lastOne, undefined),
|
||||
parents: [{ parentId: parentIssue._id, parentTitle: parentIssue.title }, ...parentIssue.parents]
|
||||
}
|
||||
|
||||
const objectId = await client.addCollection(
|
||||
|
||||
Reference in New Issue
Block a user