Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [Unreleased]

### Fixed (2026-06-16)

- **SNow close incident — add `close_code` and `close_notes`** — resolving a
ServiceNow incident (state 6) requires both fields per the instance's data
policy. Added `close_code: "Solved (Permanently)"` and `close_notes` (same
content as the work note) to the PATCH payload in `update_incident.yml` when
`inc_outcome == success`. Non-success paths are unaffected. Closes #135.

### Removed (2026-06-16)

- **EDA self-POST play removed from `introduce_cve.yml`** — the second play that
Expand Down
2 changes: 2 additions & 0 deletions playbooks/servicenow/update_incident.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@
data:
state: "{{ _state_map[inc_outcome] }}"
work_notes: "{{ _comment_map[inc_outcome] }}"
close_code: "{{ 'Solved (Permanently)' if inc_outcome == 'success' else omit }}"
close_notes: "{{ _comment_map[inc_outcome] if inc_outcome == 'success' else omit }}"

- name: Show update result
ansible.builtin.debug:
Expand Down
Loading