Section |
---|
Column |
---|
Nunjucks is a sophisticated templating engine for JavaScript. It lets you insert dynamic content in any text through the use of templates. A template contains variables and/or expressions, which get replaced with values when a template is rendered; and tags, which control the logic of the template. See here for an overview of the templating features available in Nunjucks. |
Column |
---|
|
Panel |
---|
borderColor | silver |
---|
bgColor | #f5f5f5 |
---|
borderWidth | 1 |
---|
borderStyle | solid |
---|
| On this page: |
|
|
Nunjucks in JMWE for JIRA Cloud
Nunjucks in JMWE for Jira Cloud is used to insert information in
- Set field valueissue fields and Set field value of linked issues post-function to set a field value
- Comment issue(s) and Comment linked issues to create the body of the comment
- Conditional execution section to conditionally execute a post-function
- Transition [Current/Linked/Parent] issue(s) for specifying the transition to be triggered
- Create/Clone issue post-function to
- Calculate a project by selecting
Calculated
in Project
- Calculate a parent issue key by selecting
Another issue
in Parent issue
- Set fields of new issue by selecting
Set field value to
- Add a comment to the current issue
- Email issue post-function to
- Write the
Subject, HTML body, Text body
- Set the
Recipients
from the script in Users from template
and Groups from template
- Unlink issues from the current issue post-function to unlink issues based on the result of a Nunjucks template
- Admin screen to test/run Nunjucks templates
- Link issues to the current issue post-function to write
JQL search expression
You can insert issue and transition information into the value using the templating features available in Nunjucks. Some basic templating features are described in this document, and more are documented on the Nunjucks website.
Templating features in Nunjucks
Child pages (Children Display) |
---|
page | $138446681 |
---|
|
You might also want to look at Accessing the details of an issue or a transition in Nunjucks to know how to access the details of an issue or a transition.
See here for more templating features available in Nunjucks. You might also want to see here for use cases with Nunjucks annotations.