mattermost-plugin-jira icon indicating copy to clipboard operation
mattermost-plugin-jira copied to clipboard

Issues installing Jira plugin on Jira Server 9.1

Open mickmister opened this issue 2 years ago • 7 comments

Reported here https://community.mattermost.com/core/pl/pw4gs7imhidaugn4rrjbcgueno

Are there any known issues with the Jira plugin concerning Jira Server/Datacenter 9.1? It seems that the application link configuration in Jira 9 has nothing to do with the installation instructions displayed in Mattermost. I upgraded our Jira env last weekend because of some security issues & just found out today that I couldn't create any issues from a message anymore (Error 404). So I uninstalled the instance & retried with a new installation. The instructions describe something different from what I see in Jira:

First screen:

Credentials:

This is a OAuth 2.0 authentication on the Jira side.

When I try the fallback solution from Jira (Create a link to an Atlassian product not an external application) you can configure an OAuth 1.0 connections, but still the needed information from Mattermost is not available:

mickmister avatar Aug 03 '22 14:08 mickmister

Apart from the authentication issue, the REST endpoint rest/api/2/issue/createmeta has been removed in Jira 9, which, if use, makes creating Jira issues using REST not working anymore. Please check: https://confluence.atlassian.com/jiracore/createmeta-rest-endpoint-to-be-removed-975040986.html

jprusch avatar Aug 11 '22 13:08 jprusch

@mickmister @catalintomai Shall I create a new issue for the removal of the REST createmeta endpoint?

jprusch avatar Aug 11 '22 13:08 jprusch

@jprusch, yes, please do. Thanks!

catalintomai avatar Aug 11 '22 15:08 catalintomai

Done #865

jprusch avatar Aug 11 '22 16:08 jprusch

@catalintomai Is there a timeframe for this issue? Right now Mattermost is not compatible with Jira 9 (Datacenter/Server) with the aspect of creating issues or commenting. Given that Atlassian security issues might lead to an increased upgrade rate to Jira 9, this might become more imminent. Many companies use Mattermost on premise because of security concerns, same is true for hosting Jira on-prem.

jprusch avatar Sep 01 '22 10:09 jprusch

Any update?

christiaanvaken avatar Jan 27 '23 12:01 christiaanvaken

This issue is clearly documentation related & has now been solved with some help from Mattermost.

  • Make sure you created an ATLASSIAN application link
  • Ignore errors on the URL
  • On the "Link application" dialog, just enter the name (Mattermost) and select "Create incoming link". Leave all other fields empty
  • On the next page enter the data (public key...)

For more context you might want to read

https://community.mattermost.com/core/pl/pw4gs7imhidaugn4rrjbcgueno

in the Mattermost community

jprusch avatar Jan 28 '23 20:01 jprusch