Reporter Plugin Liquid Subtasks Not Working
I have been trying to figure this out for a few days and feel I must be missing something obvious. I am trying to pull the Subtasks out using Liquid.
The code I'm using is
{{issue.subtasks.all}}
and the output I get is
#<:liquid::issuedrop:0x0000557264852920>#<:liquid::issuedrop:0x00005572648528f8>
when as far as I can tell I should be getting the subtasks output. What am I missing?
Answers (2)
Hello, Charles. In relation to the solution of the reported situation, please contact us at support@redmineup.com. Thanks.
This issue was resolved after talking with support, I was using the array incorrectly. In order to get the result I wanted they provided the following code, which works if anyone ever runs into a similar issue:
1.1.2.1 Subtasks <br />
{% for subtask in issue.subtasks.all %}
{{ subtask.subject }} <br />
{% endfor %}
Hi, Charles. In relation to the solution of the reported situation, please contact us at support@redmineup.com. Thanks.