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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.