Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to send Scheduled MTTR and MTTA Reports to mail address

purushotham
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 28, 2025

we did created a group to receive certain of alerts to be received from GCP. 

As part of report submission, we are manually checking the MTTA and MMTR counts through analytics section. Our requirement is now to share this stats or report to members who are not in that opsgenie group. 

Can you share the information, how can I can send those reports to mail distro's 

1 answer

1 vote
Aditya Bodke
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 30, 2025

Thank you so much for reaching out to the :atlassian: Atlassian Community and sharing your use case, this is a great question!

I understand how important it is to keep all stakeholders informed, especially when it comes to key metrics like MTTA (Mean Time to Acknowledge) and MTTR (Mean Time to Resolve). While OpsGenie’s analytics section provides valuable insights, I can see how automating the distribution of these reports would save you time and ensure everyone stays in the loop.

Currently, OpsGenie doesn’t offer a built-in feature to schedule and automatically email analytics reports directly to distribution lists or users outside of a specific group. However, here are a few approaches you might consider:

  1. Manual Export & Email:
    You can export the analytics data (as CSV or PDF) from the Opsgenie Analytics section and then share it via email with your distribution list. While this is manual, it ensures you can customise the report before sending.

  2. Automation via API:
    OpsGenie provides robust APIs that allow you to fetch alert and analytics data programmatically. You could set up a script (using tools like Python) to pull the MTTA/MTTR stats (not directly) at scheduled intervals and send them via email to your desired recipients. Opsgenie API Documentation

Here, a high-level approach would be -

Alert Data: You can use the List Alerts API to retrieve detailed information about alerts, including timestamps for when alerts were created, acknowledged, and closed.

Analytics Data: As of now, Opsgenie does not provide a direct API endpoint specifically for analytics metrics like MTTA/MTTR. However, you can calculate these metrics yourself by fetching alert data and processing the timestamps.

  • MTTA: For each alert, calculate the time difference between created and acknowledged time.

  • MTTR: For each alert, calculate the time difference between created and closed time

You can fetch these details using the alert logs https://api.opsgenie.com/v2/alerts/<alert-ID>/logs

 

I hope this helps point you in the right direction! If you need guidance on setting up API-based automation or have any other questions, just let us know—we’re here to help.


Thanks again for being part of the Atlassian Community!

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events