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

Is it possible to change incident status?

Jonathan Brito August 12, 2022

Is it possible to change incident status at creation time via API?

 

I'm trying to change the status at creation time, as every time I go to create the status is generated as "solved", and I want it to be created as "investigating".

 

Captura de Tela 2022-08-12 às 18.03.53.pngCaptura de Tela 2022-08-12 às 18.04.54.png

 

I'm already passing the status "investigating", but it doesn't solve.

1 answer

0 votes
Eugenio Onofre
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2022

Hi @Jonathan Brito
Welcome to the Atlassian Community :) 

Would you please place your full request body without your token so we can better assist you? If possible, please share the cURL, but please DO NOT include any authentication token.

Thanks,
Eugenio

Jonathan Brito August 15, 2022

Good Morning! Sure!

Captura de Tela 2022-08-15 às 10.25.54.png

 

{
"incident": {
"name": "[Teste]Nats",
"status": "investigating",
"impact_override": "none",
"scheduled_remind_prior": true,
"scheduled_auto_in_progress": true,
"scheduled_auto_completed": true,
"metadata": {},
"deliver_notifications": true,
"auto_transition_deliver_notifications_at_end": true,
"auto_transition_deliver_notifications_at_start": true,
"auto_transition_to_maintenance_state": true,
"auto_transition_to_operational_state": true,
"backfill_date": "string",
"backfilled": true,
"body": "string",
"components": {
"qhkm080d8p2h": "operational",
"fj0hx51h9816": "operational",
"nsm8f13djg1g": "investigating"
},
"component_ids": [
"qhkm080d8p2h",
"fj0hx51h9816",
"nsm8f13djg1g"
],
"scheduled_auto_transition": true
}
}
Jonathan Brito August 16, 2022

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events