You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am following the developer doc for the API but when creating a new incident you can pass the
and in the component id you put the status of the component will have. I am trying to create an incident with "major_outage" but it does not apply to the affected component and always shows "operational".
this is an example of what I am sending
"body": "Incident descriptiopn",
"name": "test Incident",
Does anyone know what I am doing wrong?
I think maybe the API documentation is wrong because you wouldn't be passing a component_id through for a status... If you look at the Component endpoint, you pass through the 'status'.
Maybe try replacing component_id in the components block with "status": "major_outage" and see if that works?
Ok so I was on a call with our CSM and one of the support engineers about another issue and I mentioned this to him (figured he wouldn't mind) ... the documentation isn't clear. You need actually put in the ID of the component rather than "component_id"
Atlassian will work on making it clear in the API docs. Hopefully the above will now work for you!