Good morning,
I'm wondering how do I apply a filter on a Nunjucks?
My situation is as follows:
I have an Epico issue, where I have several other child items inside it.
I would like that in my Nunjecks I could bring the Summary information like this:
{{issue|membersOfInitiative| field("fields.summary")}}
However, as I have more than one child item in my epic, it ends up bringing all the Summary concatenated.
I would like to be able to apply a filter, where it would only bring the Summary of the specific item type (issuetype.id: 10086).
So I only have one piece of information.
Hi @Lucca Fernandes ,
try this:
{{issue | membersOfInitiative("issuetype") | filter(["fields.issuetype.id",10086]) | field("fields.summary")}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.