I've been experimenting with the API. I'm able to create and update incident status well enough, but I am having trouble adding and updating components to incidents. I tried to replicate what I saw on the documentation but it doesn't seem to work
example:
{
"incident": {
"name": "{{issue.summary}}",
"status": "identified",
"impact_override": "minor",
"scheduled_auto_transition": true,
"components":{
"{{id1}}": "degraded_performance",
"{{id2}}": "degraded_performance",
"{{id3}}": "degraded_performance"
}
}
}
Use "component_ids" to associate the incident against a component(s) - see screenshot below.
"components" is for updating the status of the component(s).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.