-
Notifications
You must be signed in to change notification settings - Fork 129
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
Jira's autolink should support issue links that contain a comment link in the URL #773
Comments
Hi @mickmister , I'd like to work on this. Can you help me on getting started? |
@vicky-demansol There's really no helpful context in the linked conversation. Take a look at how Autolink is currently used in this project, and see how this can be added. Normally we fetch all Jira projects, then create an Autolink entry for each project, but notice how the regex in the issue description does not contain the Jira project. The regex instead captures the project in the |
@vicky-demansol Completing this ticket would solve a lot of problems at once. If we apply the same logic of regex to regular issue links (along with comment links, i.e. what this ticket is requesting), it will properly solve #758 properly as well. |
…k in the URL (mattermost#773) * add autolink config for a comment that has a comment link at the end of the posted URL
…k in the URL (mattermost#773) * change variable name from issue to watcher in server/client.go * change variable type from bool to pointer bool in server/user.go * add constants for error store new settings and error connect to Jira * move CheckWatcherUser before PostNotifications (server/webhook_worker.go) * remove LoadConnection after StoreConnection (server/settings.go)
…k in the URL (mattermost#773) * bug fixing return on/off in fun settingsWatching * fixing wording in settings.go * change variable name from CheckWatcherUser to CheckIssueWatchers (webhook_worker.go) * display logic of watching in ConnectionSettings
…k in the URL (mattermost#773) * handling wh.notifications array is empty * fixing shouldNotReceiveNotification condition
This is complete our internal review and awaiting merge of depended PR 213 |
Currently the autolink config used by this plugin converts issue links to shorthand links, but it does not work when the originally posted URL has a comment link at the end of the posted URL.
Here's an example provided by an admin that works with comments:
Discussed in https://community-daily.mattermost.com/private-core/pl/fkeoiwqbmbyrxrqnap877jykbo
The text was updated successfully, but these errors were encountered: