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

Jira Integeration Issue


Plugin “Jira_REST” returned an error: Invalid HTTP code (502). Please verify the address of your JIRA installation in the configuration settings and that TestRail can reach your JIRA server.


Hi there!

The problem is that you are trying to connect from a TestRail Cloud account to a JIRA instance that is installed on your private network. For the full push/lookup integration TestRail needs to be able to connect to your defect tracker. If this is installed on your private server behind a firewall, then such a connection isn’t possible. To use the full integration, you would have the following options:

  • Make your defect tracker available for connections over the Internet (I recommend talking to your IT team for this; we can also provide the IP addresses of our servers so you only need to approve our IPs for connections)

  • You can also install TestRail on your own local server and we can provide the necessary details for this

  • If you just want to try the full integration for now, you could maybe also temporarily set up a hosted trial version of your defect tracker just to try the integration


I have the same issue and http status code when attempting to connect to a cloud instance of JIRA. Is it possible this might happen for different reasons?


Hello Casey,

Thanks for your posting! A 502 response is typically caused by the setup Dennis described but this might also happen if you entered an incorrect JIRA address. Can you please check if the JIRA address you entered is correct? We are also happy to review your settings and it would be great if you could send a screenshot of your integration page in TestRail via email in this case (