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")}}
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.