I want to change the status of component when the incident is issued using API.
When I entered below curl command, as I think the incident is issued with mapping component.
but It is not changed the status of component.
I think Perhaps something is wrong with 「-d "incident[${component_id}]=major_outage"」
curl https://api.statuspage.io/v1/pages/${page_id}/incidents \
-H "Authorization: ${API_KEY}" \
-X POST \
-d "incident[name]=string" \
-d "incident[status]=string" \
-d "incident[body]=string"
-d "incident[component_ids]=${component_id}" \
-d "incident[${component_id}]=major_outage"
Appreciate any assistance
You can not just set the status, it is not a field. Status is an indicator of where an item is in its workflow. To change the status of an issue, you must tell Jira to transition it from one status to another.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.