Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Web Request: GET on "Extension for Jira Service Management" on bundledfield

Hi Guys,

I want to access a value in a bundledfield (part of Extension for Jira Service Management) with Jira Automation.

 

When I do the Web Request GET I receive this data:

{key=bundledfield_10266, value={subfield_10004=[Test 111, test 222], subfield_10002=[2021-11-16, 2021-11-30], subfield_10003=[111, 222]}}

 

So this means there are two entries in this bundlefield. The question is, how can I get e.g. the specific value 'Test 111'? 

This leads to an empty value (but it doesn't even make sense really as this fiels is 'cascaded'):

{{webResponse.bundledfield_10266.body.get(0)}}

Something like this leads to an error:

{{webResponse.bundledfield_10266.subfield_10004.get(0)}}

 

Does anbody have an idea how to get the specific values?

Thanks a lot!!

Hannes

1 answer

1 accepted

1 vote
Answer accepted

Solved it. You have to include .body to succeed here. :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,665 views 21 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you