Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Get a list of active maintenances by component-id through API

I want to get the list of active maintenance for the specific component-id thought API call. for Example: 
If I schedule 3 incidents in the difference of start time by 5 min using three different component id, then all 3 will go in progress after some time and then I want to list one of them via API call. How I can do that. I got this 

curl{page_id}/incidents/active_maintenance \
  -H "Authorization: OAuth your-api-key-goes-here" \
  -X GET

but it lists all 3 that are in active state. I want to list only one of them according to component ID.

1 answer

0 votes
Ashish Shetty J
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Jul 15, 2022

Hi Vikas,

Thanks for reaching out to the Statuspage team.
Unfortunately, we do not currently have a query parameter for the active maintenance API endpoint that may allow us to narrow the result by components.

The only available query parameters for this endpoint are page and per_page as mentioned in the API documentation

I'm afraid the only workaround to achieve this at the moment would be to filter the results on the client side by making changes to the script.


The per_page option is not helpful in this place, but I have written a python script that works well for me. But again query parameter will definitely be the perfect requirement here. 


Thank you, Ashish. 

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events