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

How do i get the value of this nested field in parsed data?

Elzha Odie March 4, 2023

Untitled.png

 

How do i get the value of this nested field in parsed data? i want to get the value of name in customfiled_10072 and attach it in opsgenie alert details

3 answers

0 votes
Rosa M Fossi
Contributor
March 6, 2023

@Elzha Odie  Hi Elzha, try removing the underscores and add the .name  at the end

 

extra_underscores.png

0 votes
Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 6, 2023

Hi @Elzha Odie ,

I believe we have spoken in another Community Question about the same issue.

Please try both of these suggestions below to extract that custom field into the alert, and let us know whether or not they work:

 

{{customFields.customfield_10072}}

{{customFields.customfield_10072.name}}
0 votes
Elzha Odie March 4, 2023

Untitled.png

 

I have tried to do this.. then i still didnt get those value above. thankyou

Nick H
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 7, 2023

Have you tried either of these:

{{customFields.customfield_10072}}

{{customFields.customfield_10072.name}}

^ Note they do not include _parsedData (which is instead interpreted as _payload to extract this into the alert).

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events