[GH-773]: Fixed Issue Jira's autolink should support issue links that contain a comment link in the URL#871
[GH-773]: Fixed Issue Jira's autolink should support issue links that contain a comment link in the URL#871Kshitij-Katiyar wants to merge 12 commits intomattermost:masterfrom
Conversation
#2) * [MI-2119]: Jira's autolink should issue links that contain a comment link in the URL * [MI-2119]: Review fixes 1. Chnaged the name of few variables * [MI-2119]:Review fixes 1. Changed the name of a variable
|
Hello @Kshitij-Katiyar, Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here. |
javaguirre
left a comment
There was a problem hiding this comment.
Let me know when you can review this!
* [MI-2119]: Jira's autolink should issue links that contain a comment link in the URL * [MI-2119]: Review fixes 1. Chnaged the name of few variables * [MI-2119]:Review fixes 1. Changed the name of a variable * [MI-2199]: Review fixes done 1. Added constants * [MI-2199]:Review fixes 1. Added constants properly * [MI-2119]: Review fixes done 1. Changed the name of the variable * [MI-2119]: Review fixes done 1.Improved code quality * [MI-2119]:Review Fixes 1. Changed the name of variable
javaguirre
left a comment
There was a problem hiding this comment.
Thank you very much for the effort!
|
Could you post a video on how to use this new change? Something like this so it's easier to QA. Thank you! |
Vedio link for this PR: |
|
Can't see the video, could you please check if you can upload a compatible format with Drive? Thank you @Nityanand13 ! |
Vedio link for this PR: I think now it should be visible |
|
@Kshitij-Katiyar I'm thinking we should have tests in the autolink repo to test these regex changes, like mattermost-community/mattermost-plugin-autolink#189. Please let me know your thoughts on this 👍 |
@mickmister Test cases for these regex changes have already been written and it is even merged in the master as well. You can look at here: #L121. And there is no any changes in regex after that |
|
Thanks @Nityanand13! Do you know the behavior of backwards compatibility for this feature? If I have existing autolinks present from previous versions of the Jira plugin, what is the result when I upgrade the plugin? Do I have any duplicate autolink entries? |
|
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
If I have an existing autolink present from the previous versions of the Jira plugin and when I upgrade the plugin with this feature then it is not working. To see this feature, we should remove the |
@Nityanand13 The feature needs to be backwards compatible if possible. If there are breaking changes, we need to be clear with release notes about what the admin needs to do manually to have the plugin operating as intended. We'll also need to release the plugin as a new major version |
|
@Nityanand13 What is the behavior if the admin does not remove the entries from |
@mickmister In the |
[MI-2949]:Added a check to remove pre existing autolinks
[MM-183] Add lock to avoid race conditions while performing operations on autolink
wiggin77
left a comment
There was a problem hiding this comment.
Let me know when this is ready - I'm removing from my queue for now.
|
@avas27JTG @wiggin77 We have fixed this PR. Please review this |
|
While testing this PR it seems that the code changes are not working fine , let me know if I am missing something |
|
#1207 is a recreation of this PR with all the changes hence closing this one |
Summary
Issue