The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new 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 Haller
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 Haller
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).

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events