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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,809
Community Members
 
Community Events
176
Community Groups

how to get all the incident for a component

I want to get all/list of incident for a component on statusPage is there any API anyone can help me with please

1 answer

1 accepted

0 votes
Answer accepted

Hi Murtaza,

Welcome to the Atlassian Community!

There isn't an API endpoint to get a list of incidents for a specific component. You would need to use the 'Get a list of incidents' endpoint and then filter based on the component array (using the component_id):

https://developer.statuspage.io/#operation/getPagesPageIdIncidents

Thanks,
Nick

Hi Nick,

 

Thank for the response,

I did have a look on the list of incidents API, but I wanted to fetch all the incidents for a component

List of incidents API gives me the historical incidents for all the components on the page  which is bit uneasy to filter all those

Did you mean to get the response from List of incident APi and then filter based in the component array json?

 

Thanks,

Murtaza

@murtaza.bhatia Yes, I think you would need to get a list of all incidents via the API endpoint I shared and then filter it based on the component_id.

I can absolutely see a need though for an endpoint where you can easily pull the incidents for a component. I'll get an enhancement logged with the team.

Thank you @Nick Coates for logging this issue, it would be great to have this and would save a lot time

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events