Hi,
i've got a little problem using smartvalues in my jira automation webhook.
I'm using
{{webhookResponse.body.additionalInformation.fields.first}}and receive
{id=33, type=TEXT, values=[21077]}, {id=39, type=TEXT, values=[PG-FBL]}I'm able to get the values with
{{webhookResponse.body.additionalInformation.fields.first.values.get(0).jsonEncode}}
{{webhookResponse.body.additionalInformation.fields.first.values.get(1).jsonEncode}}and receive
21077
PG-FBL
Now iam creating a new Issue where those values are matched to some customfields.
The Problem is, sometimes the foreign system where i get the data from, responds with more then those 2 values and in a different order, so i cant match them right.
Is there any possibility to search for the id (id=33 and (id=39) and only get the value back?
Best regards
Martin