Hi there, I'm creating an Automation in Jira to return values from an HTTP call, which will then update a field. The issue is being updated with the following value:
{{webResponse.body.Objects.FieldValues.Value}}
The response is coming back just fine and doing the update, but it's keeping the brackets [ ] in place from the array, so the field value looks like "[01830]".
How am I able to strip the brackets in the response?
Thanks!
Use the flatten() method.
{{webResponse.body.Objects.FieldValues.Value.flatten()}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.