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

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

Hannes November 23, 2021

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
Hannes November 23, 2021

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events