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

Statuspage API - Creating Incident with Child Components

frankn
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!
November 3, 2023

Hello,

I would like to know if it's possible to use selected child components from a parent group component to be used in the payload of creating an incident via the Statuspage API? Based on the docs, only the parent component can be selected, however if there's a way, I would love some assistance - thanks!

1 answer

0 votes
Mubeen Mohammed
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 6, 2023

Hello @frankn 

Thank you for contacting Atlassian Community for Statuspage product.

As I understand you would like to create Statuspage incident using the Individual component and components part of Component groups. Correct me if my understanding is not accurate with your query. 

Yes it is possible to create Statuspage incident using both the Components(Which is part of a component Group and the Individual component which is not part of any group)

 I have sent the simple payload using the different component IDs and was able to create the incident. 

{
"incident": {
"name": "Everything is not down",
"status": "investigating",
"body": "Test incident",
"components": {
"component_id_1_part_of_group": "major_outage",
"Component_id_Individual": "major_outage",
"component_id_3_part_of_group_B": "major_outage"
}
}
}
Also, please note that you can't directly link a Component Group to an incident. You can only link individual components. However, if you have a group of related components and they all belong to the same incident, you can link all those components to the incident.

 

I hope the information provided is helpful.

 

Regards

Mubeen Mohammed

Cloud Support Engineer

frankn
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!
November 30, 2023

Thanks Mubeen!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events