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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.