Is it possible to conditionally display tables, text, etc on a wiki, given either an existence MQL query or a project variable value?
I've provided a couple examples below, but I don't know if Mingle currently has this functionality.
Code Snippet
examples:
table
query: SELECT name WHERE type=Story
display-if: true
or
{% show-if(THIS CARD.name = (Project Variable)) %}
Conditionally displayed text
{% show-if %}
Comments
2 comments
Mingle doesn't have that functionality. I've added a story to our backlog.
It might be possible to create a custom macro that does this. If somebody creates this macro, keep in mind that custom macros cannot generate built-in macros. E.g., the table query macro shown above. One approach to get around this for the macro is to let the page display and then hide certain sections. This macro might look something like:
Here, the conditionally-display macro would hide the h3 with the id of id-for-optional-section if any cards are returned for the condition, "type=Story." There may be other ways to form these conditions "if-any-cards-are" is just an example.
Thanks,
Jay
I'm curious as to why you want this. Can you enlighten me?
Thanks
- Suzie
Please sign in to leave a comment.