Hi everybody!
There were 4 groovy script in the workflow which are used for creating issues. 1 Issue for "X" Department, 1 issue for "Y" Department, 2 issues for "Z" Department .
Recently I have tried to optimize 4 groovy scripts to one groovy class.
But now I have performance problems.Please help me to fix this problem.
If you are using the script in a workflow post function and in the script you're creating 4 issues, the transition will take longer than usual causing frustrated users.
Have you thought to create each issue in separate threads? If you do so, you'll create issues in parallel and also they won't wait your users, while the issues are created in the background.
Try to use Groovy Threads
Thread.start { code for create issue }
I hope it helps
@Tuncay Senturk _Snapbytes_
Thanks a lot!)
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.