blob: 4d251cb30db16dfe87bcd83bbfe758743cfaa629 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
class IssuableBaseService < BaseService
private
def create_assignee_note(issuable)
SystemNoteService.assignee_change(
issuable, issuable.project, current_user, issuable.assignee)
end
def create_milestone_note(issuable)
SystemNoteService.milestone_change(
issuable, issuable.project, current_user, issuable.milestone)
end
def create_labels_note(issuable, added_labels, removed_labels)
SystemNoteService.label_change(
issuable, issuable.project, current_user, added_labels, removed_labels)
end
end
|