Reporter Plugin Liquid Subtasks Not Working

0

Charles Noble
Added almost 4 years ago

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?

Dimitar Chervenakov almost 4 years

Hi, Charles. In relation to the solution of the reported situation, please contact us at . Thanks.

Answers (2)

1

Dimitar Chervenakov
Added almost 4 years ago

Hello, Charles. In relation to the solution of the reported situation, please contact us at . Thanks.

1

Charles Noble
Added almost 4 years ago

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 %}

    (1-2/2)