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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Incident creation - component association

I am sending component_ids as a list during incident creation, but do not see the association on the statuspage. How do i confirm the association of a component with the incident ?

curl -H "Authorization: OAuth xxx" -X POST -d "incident[name]=yyy" -d "incident[status]=identified" -d "incident[body]=testing component association" -d "incident[component_ids]=["zzz"]


1 answer

0 votes
Rahul S Atlassian Team Jul 19, 2021

Hi there,

Would you mind testing the request as follows and let us know if you still experiencing any issues?

 curl \
-H "Authorization: OAuth API_Key" \
-d "incident[name]=Incident name" \
-d "incident[status]=investigating" \
-d "incident[body]=Incident Body" \
-d "incident[component_ids]=comp_id2,comp_id2"

hi Rahul, I still see the incident under 'Past Incidents' section of the statuspage. I am trying to find the association of this incident with the component_id used during the incident creation. Here is the response on the curl command.

curl -H "Authorization: OAuth yyyy" -X POST -d "incident[name]=PE outage" -d "incident[status]=investigating" -d "incident[body]=testing components" -d "incident[component_ids]=["xxx"]

"components":[],"created_at":"2021-07-19T17:42:26Z","impact":"none","impact_override":null,"incident_updates":[{"id":"xxx","incident_id":"yyy","affected_components":null,"body":"testing components","created_at":"2021-07-19T17:42:26.077Z","custom_tweet":null,"deliver_notifications":true,"display_at":"2021-07-19T17:42:26.077Z","status":"investigating","tweet_id":null,"twitter_updated_at":null,"updated_at":"2021-07-19T17:42:26.077Z","wants_twitter_update":false}]

hi Rahul, do you have an update for me? 

Syntax of -d "incident[component_ids]=["xxx"]" is incorrect. When i used -d "incident[component_ids]=xxx" it worked. This ticket can be closed. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Statuspage

New feature: Slack notifications for Statuspage

We're excited to announce the release of a long-requested feature on Statuspage. Now visitors to your status page can subscribe to get notified in Slack when you report an incident or maintenance. Th...

1,653 views 4 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you