# Round Robin Assignment of Alerts/Incidents (Opsgenie/JSM Ops)

<figure><img src="/files/td9u0PDXeHCcX3bxSBXg" alt=""><figcaption><p>Create Round-Robin and Assign Alerts</p></figcaption></figure>

#### Overview

Managing alerts efficiently is crucial for teams working in shifts. Pagerly enables time-based round-robin assignment of Alerts and Incidents

This ensures fair and balanced distribution of workload among available agents while maintaining efficient ticket resolution.

<figure><img src="/files/oUH9JQC6gIu0o5ptDjNG" alt=""><figcaption><p>Round Robin Schedule</p></figcaption></figure>

### Create Round Robin Schedule

You can create a Timewise schedule or Task wise schedule ( rotate user per task or alert assignment)

* [Timewise Round Robin Schedule ](/how-to-work-with-pagerly/create-round-robin-rotations.md)-> each user/ agent has fixed schedule created round robin wise
* [Task wise Round Robin Schedule](/how-to-work-with-pagerly/round-robin-rotations-for-tasks-picking.md) -> rotate user per ticket / issue assisgment

Use cases

1. **Fetch Active Agents**: Pagerly pulls real-time shift data from your on-call schedule.
2. **Time-Based Round Robin**: Issues are assigned to only those agents who are currently working.
3. **Auto-Assignment**: When a new Jira issue is created, Pagerly automatically assigns it to the next available agent in the round-robin queue.
4. **Load Balancing**: Ensures even ticket distribution to prevent overload on any single agent.

#### **Benefits**

* **Fair Distribution**: No agent is overwhelmed with tickets while others are offline or assigned to other oncall.
* **Automated Process**: Eliminates manual ticket assignment, saving time.
* **Improved Response Times**: Ensures that only available agents receive new tickets, leading to faster resolutions.
* **Scalable & Customizable**: Works for teams of all sizes with customizable rules.

<figure><img src="/files/v9hUqtHtTpftgKefsUKN" alt=""><figcaption></figcaption></figure>

### **Implementation Steps**

1. **Set Up Pagerly**: Ensure your team’s shifts are configured in Pagerly.
2. **Enable Jsm Ops/ Opsgenie Integration**: Connect Jira to Pagerly via API.
3. **Define Round-Robin Rules**: Configure time-based round-robin rotation based on shift schedules.
4. **Activate Auto-Assignment**: Pagerly will now handle issue assignments dynamically.

### **Conclusion**

With Pagerly, teams can streamline their Alert / Incident assignment process and ensure fair distribution of workload based on real-time agent availability. This feature enhances efficiency, minimizes response times, and improves overall team productivity.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pagerly.io/how-to-work-with-pagerly/round-robin-assignment-of-alerts-incidents-opsgenie-jsm-ops.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
