Commit 1ec39914 authored by Sean Arnold's avatar Sean Arnold Committed by Douglas Barbosa Alexandre

Only run on open issues

-Add changelog file
-Add new negative flow specs
- Add translation
- Rename system note argument
- Add new update_sentry_issue permission
parent 7302f9de
......@@ -105,10 +105,10 @@ module SystemNoteService
create_note(NoteSummary.new(issue, project, author, body, action: 'closed'))
end
def close_after_error_tracking_resolve(noteable, project, author)
body = 'automatically closed this as a result of resolving the corresponding Sentry error.'
def close_after_error_tracking_resolve(issue, project, author)
body = _('resolved the corresponding error and closed the issue.')
create_note(NoteSummary.new(noteable, project, author, body, action: 'closed'))
create_note(NoteSummary.new(issue, project, author, body, action: 'closed'))
end
def change_status(noteable, project, author, status, source = nil)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment