According to https://help.trello.com/article/1203-issuing-http-requests-with-butler we can fetch a resource. Is there a way to fetch the last element of an array? Say we have this:
data = [
{
field: 1
},
{
field: 2
}
]
and I want to fetch the last element (field: 2), is there a way without hardcoding the index? Something like
{httpresponse.data[-1].field}
Hey @gustavo_diel
Currently, fetching an array value like that is not possible, but I have let the team know about your interest in that.
For now, only index and "dot" field access is supported. Let me know if you have any more questions.
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.