Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Push JIRA issue from Test Rail



I am trying to push a bug from TestRail into JIRA and I get the following response after filling the bug reporting form.

I can add the bug in JIRA manually and then link it in TestRail, nonetheless, I cannot push a bug from TestRail into JIRA.

Let me attach an screenshot of the error.

The error from JIRA is as follows:
Plugin “Jira_REST” returned an error: Empty reply from server

Is it a problem from TestRail or a problem from JIRA?



We’ve already answered your separate email:

Hello Alex,

Thanks for your email and for your interest in TestRail! We have many teams switching to TestRail every week and we would be very happy to help your team try and adopt TestRail as well.

Regarding your question: the problem is that your JIRA instance is returning an invalid response. We haven’t seen this specific issue before and we have a large number of customers (thousands) using TestRail with JIRA, so it’s likely a problem with your specific JIRA web server. This is however easy to troubleshoot. Can you please simply activate detailed logging in TestRail, reproduce the issue and email us the log?

The log would show the exact respsonse JIRA or your web server sends.

I hope this helps and I look forward to your feedback!



I activated the debug options but I cannot see anything relevant.

If I execute this cURL, I get the same response.

curl -L ‘’ -H ‘Accept: text/plain, /; q=0.01’ -H ‘Accept-Encoding: gzip, deflate’ -H ‘Accept-Language: es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3’ -H ‘Connection: keep-alive’ -H ‘Content-Type: application/x-www-form-urlencoded; charset=UTF-8’ -H ‘Cookie: tr_session=0a928235-c7ea-4f55-b7b5-f286b48b9c78; tr_rememberme=3%3AwjBgo3qnrJw1JLRXR0Cz-b0p7bT.aSlyJ0fwPaOgj’ -H ‘Host:’ -H ‘Referer:’ -H ‘User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Firefox/45.0’ -H ‘X-Requested-With: XMLHttpRequest’ --data $‘status_id=1&assignedto=&comment=&version=&elapsed=&defects=&attachments=&custom_step_results=&project_id=20&test_ids=18519&_token=7Nx539%2FWd07CA7nXRRZE&_version=’assignatures+relacionades&defect_project=UNICAMPUS&defect_issuetype=1&defect_component=15873&defect_assignee=mlopezreye&defect_priority=2&defect_affects_version=19257&defect_description=T18519%3A+Informe+d’’
{“result”:false,“error”:“Plugin “Jira_REST” returned an error: Empty reply from server”}%

Am I missing something?



You can find the TestRail logs in TestRail’s log directory and this also includes the communication between TestRail and JIRA. You can find the path of TestRail’s log directory in the config.php configuration file in TestRail’s installation directory.

“Empty reply from server” sounds like a network/HTTP error but the log may contain additional details.

I hope this helps!