Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,367,567
Community Members
 
Community Events
168
Community Groups

Is it possible to change incident status?

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 Aug 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

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
}
}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS

Atlassian Community Events