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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.