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:
When you try to save the post-function you will see this error:
To reduce the post-function configuration length you need to replace the Nunjucks template in the post-function with a Shared Nunjucks template.
Create a Shared Nunjucks template “Calculated transitions” in the Shared Nunjucks templates page
Input the template in the Nunjucks editor
Go back to the post-function
Remove the existing template
Input the following template under “Calculated transitions”
Save the post-function and publish the workflow