StackStorm / StackStorm/st2

Extend support for built-in Jinja2 extensions

Open
#4,813 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
6.5k
Forks
787
PR merge metrics
No merged PRs in 30d

Description

Jinja 2 has some expressions that are built in, but not enabled by default (or in StackStorm).

https://jinja.palletsprojects.com/en/2.10.x/extensions/

These can be immensely useful and flexible when trying to manipulate variables from other data, especially within the context of workflows, without needing to write an action to do it for you.

I would propose that the following extensions would be useful to have enabled by default within StackStorm:

  • Expression Statement
  • Loop Controls

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the linked Jinja 2 extensions documentation, focusing on Expression Statement and Loop Controls, then identify where StackStorm configures Jinja for workflows. Done means both extensions are enabled by default and their use in workflows is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.