Deduplicate and escalate recurring Jira alerts
Build a workflow that, on each incoming alert, searches Jira for an existing related issue using a stable grouping key. If found, increment an occurrence counter on the parent and link the duplicate; if not, create a new issue. When occurrences exceed a configurable threshold, raise the parent's priority and notify. Handle race conditions on near-simultaneous alerts and output the grouped issue and current count.
What this prompt builds
Group repeating alert issues in Jira and escalate the parent once they cross a threshold.
The problem
High-volume similar alerts spawn a flood of near-duplicate Jira issues that bury the signal and exhaust responders. Recurrence — the real indicator of a problem — gets lost.
Solution and impact
This workflow tracks how often similar alerts occur, groups related issues, and escalates the first issue's priority once a recurrence threshold is hit. Noise drops and genuinely persistent problems rise to the top.