Jira hangs on viewing an issue in a workflow with an empty JQL
in one of our workflows we created a contion
by click radio button "Condition based on JQL query" I entered some text and click Add.
After I found the condition wasn't working as expected. I edited it again to isolate different parts of condition. Finally I edited the condition and cleared the whole condition. I forgot to remove the condition entirely so the condition's JQL = ""
At that point I published the workflow and then when I tried to view an issue the whole server was hung until I restarted and disabled the workflow tool box plugin and remove the condition and republished the workflow.
Comments (4)
-
repo owner -
Account Deactivated reporter we have JIRA Core 7.0.0 and JIRA Software 7.0.10 on our test server. JIRA Workflow Toolbox 2.2.14
1) Edit workflow 2) Click on our transition Skip Planning 3) Click on Conditions TAB 4) Add Condition 5) select Condition based on JQL query 6) Click Add 7) Don't add anything in the condition screen and click add 8) I noted that it shows in red text that conditionis always true (there is a typo there BTW "allways" vs "always") 8) Publish workflow 9) go to an issue that will display that transition button 10) Page loads for about 60 seconds (the progress circle is spinning in chrome) and then it stops and there is nothing displayed, or it shows "Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." 11) At this point I cannot get back into admin interface to disable the plugin. So I restart the JIRA server and go to the plugin manager to disable plugin prior to looking at any issue view screens and then I can use the server again.
-
repo owner Dan, I don't find any error messages associated with JIRA Workflow Toolbox in your server's log file.
Please, rise the the logging level to DEBUG for package com.fca.jira.plugins.workflowToolbox and try to reproduce the problem. Then, please attach to the issue the part of the log file corresponding to this testing.
Thanks
-
repo owner - changed status to resolved
This issue has been solved in version 2.2.16.
The cause of the problem was that a very big data structure was created when the JQL query returned a big number of issues, and server's memory exhausted.
The solution implemented is to paginate through the result of the JQL query, instead of loading the whole result into memory.
- Log in to comment
Hi Dan,
Sorry for such a big impact in your server. I think this is the first time a whole server hung is reported.
I have tried to reproduce the problem you describe, but haven't manage to do it. The condition has worked as expected, i.e., it has always been satisfied when JQL query is left empty. No error message has been registered in the log file, and no server hung has occurred.
I have used the following combinations of versions in my tests, based on the automatic feedbacks I have received from you when you disabled the plugin:
I have tried to reproduce exactly the same sequence of actions you describe:
I have also tested other strange JQL query values:
Can you please confirm the versions of JIRA and JIRA Workflow Toolbox you were using when the problem appeared?
Is it possible that you share the log file of your server with me? Something should be present in it indicating the cause of the problem. You can send it to support@workflowarts.com.