Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Fetch the last element of array in HTTP Response in Butler


According to 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



1 answer

0 votes
Garrett Atlassian Team Sep 08, 2021

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Trello

Taco Tuesday: New years' resolutions with Trello

Congratulations to @Laura Holton , our latest winner of Taco Tuesday! And thanks to @Kristján Geir Mathiesen for sharing the picture of Taco having fun with his new friend  B...

2,318 views 28 40
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you