diff --git a/app/coffee/modules/common/lightboxes.coffee b/app/coffee/modules/common/lightboxes.coffee index 055d172b..e066eb26 100644 --- a/app/coffee/modules/common/lightboxes.coffee +++ b/app/coffee/modules/common/lightboxes.coffee @@ -785,7 +785,7 @@ $confirm, $q, attachmentsService, $template, $compile) -> description: "" tags: [] points : {} - status: data.project.default_us_status + status: if data.statusId then data.statusId else data.project.default_us_status is_archived: false } } diff --git a/app/coffee/modules/kanban/main.coffee b/app/coffee/modules/kanban/main.coffee index 30f36254..564f58dc 100644 --- a/app/coffee/modules/kanban/main.coffee +++ b/app/coffee/modules/kanban/main.coffee @@ -167,7 +167,8 @@ class KanbanController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi when "standard" then @rootscope.$broadcast("genericform:new", { 'objType': 'us', - 'project': @scope.project + 'project': @scope.project, + 'statusId': statusId }) when "bulk" then @rootscope.$broadcast("usform:bulk", @scope.projectId, statusId)