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

Major Incident Toggle

Anthony May 11, 2022

I'm trying to automate the Major Incident Toggle- When the Severity of the issue is High then it automatically toggles the Major incident in the ticket.  I can't find the Major incident JSON Object that would Automate the toggle

 

I have used this value but hasn't worked for me

{
"fields": {
"customfield_10113": "MAJOR_INCIDENT"
}
}

Also used

"customfield_10113" : { "value": "MAJOR_INCIDENT" }

1 answer

1 vote
Sina Schwarz July 13, 2022

Hi Anthony,

I had a similar requirement and used the following JSON in the advanced section of the edit issue action in automation:

{
"fields": {
"customfield_10050":"MAJOR_INCIDENT"
}
}

To reset the field:

{
"fields": {
"customfield_10050":""
}
}

Both work with Major incident having the customfield-ID 10050.

Maybe things have changed/been updated since you asked? Otherwise something else is the problem.

I hope this helps.

Ian Walker July 11, 2023

@Anthony did you solve this?

@Sina Schwarz I also tried this, but it doesn't work - any ideas?

{
"fields": {
"customfield_10068":"MAJOR_INCIDENT"
}
}

Sina Schwarz July 12, 2023

@Ian Walker That's odd - it's working fine for us (and on a bunch of customer cloud instances as well). Let me ask a couple of questions to get to the root of this :) 

Are you sure you have the right customfield ID?

Do you have the field on your screens?

Is the automation itself being triggered properly? Are there errors in the audit log?

If I remember correctly I added the field to the edit screen and entered the smartvalue of the field into the audit log in automation. That way I could see which value I should set in the automation when it was toggled on or toggled off. You could try out the same for debugging.

Sankalp Chugh September 11, 2023

Works for me fine!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events