Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hi,
I wrote a code in groovy for one of post function. It'll run using script runner add-on.
When it was added in post function then it shows a warning as "It looks like you're adding a lot of code to your post function. This may cause jira to stop loading post function page for this transition. Try creating more post functions with less code instead."
Please let me know if it can stop my post function to work correct.
Mostly lines in code are commented by me as well.
Can It impact my script to run ?
Thanks..
This check is a simple one based purely on the size of the script. It doesn't look at the code, or differentiate between lines that would run and lines that do nothing, it just assumes every line will do something, and hence take longer.
@Hi @Narendra Kumar
I never encountered this issue, so can't tell for sure.
Why not just remove the commented and unnecessary code?
Or splitting the code as the error message suggest?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.