---
title: "Handle post-function configurations that are too long"
canonical: "https://support.appfire.com/space/JMWEC/465241739/Handle%20post-function%20configurations%20that%20are%20too%20long"
format: markdown
---
> Macro (aura-html)

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 Transition post-functions.

## Problem

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

```
{% 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:

![JMWE for Jira Cloud configuration panel with text handling options](media://0a081224-3753-4a1d-9962-c3fd3af24c80)

## Workaround

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

1. Create a [Shared Nunjucks template](/wiki/spaces/JMWEC/pages/78480866) “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 existing template
5. Input the following template under “Calculated transitions”
6. Save the post-function and publish the workflow

## Related articles

> Macro (contentbylabel)