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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.