We're using JIRA Software together with TestRail. To be able to push defects from failed tests into JIRA, the integration requires a user ID and password. However when I try and push a defect from TestRail I get the following message:
Plugin "Jira_REST" returned an error: Invalid user or password or insufficient permissions for the integration user (HTTP code 401). Please make sure to use your actual JIRA username for the integration (not your email address, for example).
This error doesn't occur when entering the details of a user which doesn't have two-step verification enabled, making me suspect that the API call is returning 401 because of the two step verification.
Even when generating an API token (https://confluence.atlassian.com/cloud/api-tokens-938839638.html) I'm getting the same error.
How can I fix this?