Hello all!
I am trying to write a event in JWWE in order to evaluate if the field Sprint changes for an issue to a value of an active sprint to set the field label to "NotPlanified" and if the Sprint is not active to set de value of Label to "Planified"
I have tried this:
{% if {{ issue | sprints("active") | first | field("id") }}>0 %}
{% set issue.fields["Etiquetas"] = "NotPlanified" %}
{% else %}
set issue.fields["Etiquetas"] = "Planified"
{% endif %}
But when testing it shows me the following error
There was an error during the rendering of your template
Message:
(string) [Line 1, Column 8]
parseAggregate: expected colon after dict key
Can anyone help me on this?
Thanks in advance
Ro