Good afternoon! I hope everyone is doing well.
I have tried this:
{{#issue.comments}}{{^internal}}{{last}}{{body}}{{/internal}}{{/issue.comments}}
but it returns all non-internal comments, whereas I only need the last one.
Hi @Hais_ Pedro
I do not believe the list conditionals and blocks can be merged that way.
A workaround might be to first filter on internal, saving the results in a variable with a delimiter; split() with the delimiter back into a list and grab the last entry:
Kind regards,Bill
Thank you so much again, Bill
Just to confirm, did that solve the question?
If so, please consider marking this question as "answered" to help others with a similar need find solutions faster. Thanks!
It looks like you're new here. Sign in or register to get started.