Hello everyone,
So far, the integration between Mattermost and Jira has worked fine for many years and all current users have been receiving notifications from Jira to Mattermost. Since March 2024, every new employee hasn’t completed the integration during onboarding so we started looking for the cause.
The problem occurs after a new employee chooses “Connect to Jira”
and try to log in to Jira on the displayed popup, but after entering their credentials, there is an error after the loader that lasts several dozen seconds.
“Something’s gone wrong. Our team has been notified. If the problem persists, please contact Atlassian support. Reload page”
In the next step, I contacted Atlassian support and they asked me to capture the HAR trace while reproducing the issue so they could help me diagnose this issue.
After following their instructions, they sent me the following information:
Findings
I observed 403 Forbidden HTTP responses received in the HAR trace and shared log file corresponding to the Request URL: api/v4/trial-license/prev stating that the feature requires an upgrade to Enterprise edition and the service is only available in Mattermost Enterprise edition as depicted below:
Headers:
Request URL: /api/v4/cloud/products/selfhosted
Request Method: GET
Status Code: 400 Bad Request
X-Request-Id: g8k858x4ptf1ifbbcom9hb1awy
Response:
{
“id”: “api.server.cws.needs_enterprise_edition”,
“message”: “Service only available in Mattermost Enterprise edition”,
“detailed_error”: “”,
“request_id”: “g8k858x4ptf1ifbbcom9hb1awy”,
“status_code”: 400
}
Headers:
Request URL: /api/v4/trial-license/prev
Request Method: GET
Status Code: 403 Forbidden
X-Request-Id: 4qbyk1b9h3gjfcyjwh6nmpt4ph Response:
{
“id”: “api.license.upgrade_needed.app_error”,
“message”: “Feature requires an upgrade to Enterprise Edition.”,
“detailed_error”: “”,
“request_id”: “4qbyk1b9h3gjfcyjwh6nmpt4ph”,
“status_code”: 403
}
Please note that this problem only affects new users while all other employees who integrated the tool before them still receive notifications from Jira without a problem and till now, they haven’t received any error message associated with the obligation to upgrade to an Enterprise option.
The strangest thing is that between February and March, nothing has changed in our organization. From what I’ve been informed, we only have one instance therefore it’s strange that for active users the integration works but new users cannot connect these two tools.
Right now, I wonder if this functionality of integrating Jira with Mattermost has always been a paid feature, and the trial worked up to some limit of users, or is this a bug that can be fixed somehow?
However, if it worked as a trial, wouldn’t previous users also be stripped of this feature?
I will be grateful for any answer and help in solving this problem - thank you for your time!
Cheers
Kamil