Our new Appfire Documentation Space is now live!

Take a look here! If you have any questions please email support@appfire.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Due to a limitation of Jira Cloud, which passes the post-function configuration in a GET URL that is limited to 8000 characters in total, JMWE cannot support long post-function configurations. The most affected are post-functions with more functionalities such as the Create/Clone issue post-function and the Transition post-functions.


For example, you have a Transition issue post-function with a lengthy template to calculate the transition to be triggered:

Calculate transitions:

{% if issue.fields.customfield_12332 == "A" and issue.fields.customfield_11312 == "a" %}
"To Department A"
{% elif issue.fields.customfield_12332 == "B" and issue.fields.customfield_11312 == "b" %}
"To Department B"

When you try to save the post-function you will see this error:


To reduce the post-function configuration length replace the Nunjucks template in the post-function with a Shared Nunjucks template.

  1. Create a Shared Nunjucks template “Calculated transitions” in the Shared Nunjucks templates page

  2. Input the template in the Nunjucks editor

  3. Go back to the post-function

  4. Remove the exisitng template

  5. Input the following template under “Calculated transitions”

    {% include "Calculated transitions" %}
  • No labels