mattermost-plugin-jira: Not able to subscribe to jira data center instance

After following the configuration guide, i am not able to subscribe to a jira project via ‘/jira subscribe edit’ . The instance seems to be connected and i am also able to view single issues via ‘/jira issue view’. The following error appears in the mattermost errorlog:

{"timestamp":"2023-01-05 08:37:57.260 Z","level":"error","msg":"ERROR: ","caller":"app/plugin_api.go:976","plugin_id":"jira","Status":"500","Error":"failed to GetProjectMetadata: Request failed. Please analyze the request body for more details. Status code: 404","Path":"/api/v2/get-jira-project-metadata","Method":"GET","query":"instance_id=https%3A%2F%2Fjira.XXXXX.xxx}

Strange thing here is that it tries to reach ‘/api/v2/get-jira-project-’ which is, as far as I understand it, the wrong path for a jira data center instance. Imho it should be: ‘/rest/api/2/get-jira-project-’. My data center version is v.9.3.1.

Best regards Sebastian

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 23 (1 by maintainers)

Most upvoted comments

Miracles of Jira… 😉

Hi, we upgraded to Jira 9 mid of last year & since then Mattermost cannot connect to Jira anymore.

Please check: https://github.com/mattermost/mattermost-plugin-jira/issues/864 https://github.com/mattermost/mattermost-plugin-jira/issues/865

I’m sure you hit exactly these problems.

Best regards

JP