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

Issue with TestRail/Jira Integration on Chrome

Hello,

We’ve been having an issue when trying to view TestRail cases through Jira in Chrome. When clicking on the case, it says “You are not logged in to TestRail. Please log in to use the integration”. When we click the “Log in to TestRail” button, the user is already logged in. We’ve cleared cookies and tried it again, as well as allowed 3rd party cookies in Chrome. Doesn’t work in Incognito mode either.

1 Like

We’re having the same issue. Allowed third-party cookies, and tried with all extensions disabled. But it works in FireFox.

We’ve contacted Testrail support, has anyone else?

1 Like

I managed to find a fix. It looks like Chrome made some changes to how cookies are handled which has broken things. You can see this by launching developer tools and finding this in the console: A cookie associated with a cross-site resource at http://testrail.site.com/ was set without the SameSite attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with SameSite=None and Secure.

Here is the fix:

  1. Paste this in Chrome: chrome://flags/#same-site-by-default-cookies
  2. Set SameSite by default cookies to: Disabled
  3. Restart Chrome

It is not Chrome specific - it was a new standard that all browsers have to go to: