Skip to content
Merged
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
Original file line number Diff line number Diff line change
@@ -1 +1,19 @@
The code helps to automates the bulk update of incident priorities based on predefined category mappings.
# Bulk Change of Incident Priority Based on Category

A background script that updates incident priorities for active incidents based on predefined category-to-priority mappings.

## Usage

1. Navigate to **System Definition → Scripts - Background**
2. Copy and paste the script content
3. Modify the `priorityMapping` object with your category-to-priority rules
4. Click "Run script"

## What It Does

The script:
1. Defines a mapping between incident categories and priority levels (e.g., 'Network': 1)
2. Queries all active incidents
3. Checks each incident's category against the mapping
4. Updates the incident priority if a match is found
5. Logs each updated incident number and new priority
Loading