-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MM-36050] Change enterprise license check for installing multiple Jira instances to allow for E20, Professional, and Enterprise #775
Conversation
Codecov Report
@@ Coverage Diff @@
## master #775 +/- ##
==========================================
- Coverage 34.97% 34.93% -0.04%
==========================================
Files 52 52
Lines 5945 5945
==========================================
- Hits 2079 2077 -2
- Misses 3657 3659 +2
Partials 209 209
Continue to review full report at Codecov.
|
readme.md
Outdated
@@ -2,7 +2,7 @@ | |||
|
|||
This plugin supports a two-way integration between Mattermost and Jira. Jira Core and Jira Software products, for Server, Data Center, and Cloud platforms are supported. It has been tested with versions 7 and 8. | |||
|
|||
From v3.0 of this plugin, support for multiple Jira instances is offered for Mattermost Enterprise Edition E20. | |||
From v3.0 of this plugin, one Mattermost instance can use multiple Jira instances at once. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mickmister is it v 3.01 or whatever we are releasing this fix as?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When was it decided the enterprise license wasn't needed for multi instance?
… instances" This reverts commit b303882.
@aaronrothschild I've changed the docs so it's clear that E20 was required and now only an Enterprise license is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just verified: @mickmister The intent is to only offer it to the new Professional SKU, so current E10 customers would NOT get this feature. (They would have to upgrade to Professional or Enterprise in the new SKU or E20 in the old SKU) |
@DHaussermann I can provide you licenses for the new skus if you need for testing this one - just let me know |
Thank @marianunez that would be much appreciated. Maybe you could DM the license files? |
/update-branch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and passed
All 9 licenses are working as expected.
- Tested 3 legacy license types (unchanged)
- E20 Allows multiple Jira instance installs
- E10 Does not allow multiple Jira instance installs
- E0 Does not allow multiple Jira instance installs
- Tested both new Cloud and On-Prem SKU sets. For both:
- Enterprise Allows multiple Jira instance installs
- Professional Allows multiple Jira instance installs
- Starter Does not allow multiple Jira instance installs
LGTM!
Please merge
Summary
The license check is now using the same logic as the incident collaboration plugin, which is using logic from mattermost-plugin-api that checks the SKU of the license.
Docs have been updated, as well as the
enterprise/LICENSE
file, based off of https://github.com/mattermost/mattermost-plugin-incident-collaboration/pull/540/filesTicket Link
Fixes https://mattermost.atlassian.net/browse/MM-36050