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 ...@@ -105,10 +105,10 @@ module SystemNoteService
create_note(NoteSummary.new(issue, project, author, body, action: 'closed')) create_note(NoteSummary.new(issue, project, author, body, action: 'closed'))
end end
def close_after_error_tracking_resolve(noteable, project, author) def close_after_error_tracking_resolve(issue, project, author)
body = 'automatically closed this as a result of resolving the corresponding Sentry error.' 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 end
def change_status(noteable, project, author, status, source = nil) 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