Method: SystemNotes::IssuablesService#change_description

Defined in:
app/services/system_notes/issuables_service.rb

#change_descriptionObject

Called when the description of a Noteable is changed

noteable - Noteable object that responds to description project - Project owning noteable author - User performing the change

Example Note text:

"changed the description"

Returns the created Note object



223
224
225
226
227
228
229
# File 'app/services/system_notes/issuables_service.rb', line 223

def change_description
  body = 'changed the description'

  track_issue_event(:track_issue_description_changed_action)

  create_note(NoteSummary.new(noteable, project, author, body, action: 'description'))
end