Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/work_items/parent_links/create_service.rb')
-rw-r--r--app/services/work_items/parent_links/create_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/work_items/parent_links/create_service.rb b/app/services/work_items/parent_links/create_service.rb
index e7906f1fcdd..288ca152f93 100644
--- a/app/services/work_items/parent_links/create_service.rb
+++ b/app/services/work_items/parent_links/create_service.rb
@@ -46,7 +46,7 @@ module WorkItems
end
def target_issuable_type
- issuable.issue_type == 'issue' ? 'task' : issuable.issue_type
+ 'work item'
end
def issuables_not_found_message