Jinja or other Python?

Brian_Richardson
Brian_Richardson Overachievers Alumni
edited 09/11/23 in Add Ons and Integrations

Hi - are we able to use Jinja or other Python in the various fields for Bridge? Or only the data references? ie could I put something like the following in the "value" field for a cell in "Update Row":

{% for label in states.Epic IID is not empty.utilities.httpcall.labels %}

{{label.value}},

{% endfor %}


This would be for adding all Gitlab labels from a JSON array as content in a single cell in Smartsheet.

BRIAN RICHARDSON | PMO TOOLS AND RESOURCES | HE|HIM

SEATTLE WA, USA

IRON MOUNTAIN

Best Answer

  • Brian_Richardson
    Brian_Richardson Overachievers Alumni
    Answer ✓

    I think I answered my own question, I tried just a simple {{runtime.data.id | int}} and it didn't work. If the simple filter doesn't work, I know the rest probably won't either. Too bad!

    BRIAN RICHARDSON | PMO TOOLS AND RESOURCES | HE|HIM

    SEATTLE WA, USA

    IRON MOUNTAIN

Answers

  • Brian_Richardson
    Brian_Richardson Overachievers Alumni
    Answer ✓

    I think I answered my own question, I tried just a simple {{runtime.data.id | int}} and it didn't work. If the simple filter doesn't work, I know the rest probably won't either. Too bad!

    BRIAN RICHARDSON | PMO TOOLS AND RESOURCES | HE|HIM

    SEATTLE WA, USA

    IRON MOUNTAIN