-
Notifications
You must be signed in to change notification settings - Fork 131
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
[GH-773] Jira's autolink should support issue links that contain a comment link in the URL (#773) #797
Conversation
jupriano
commented
Aug 19, 2021
- add autolink config for a comment that has a comment link at the end of the posted URL
…k in the URL (mattermost#773) * add autolink config for a comment that has a comment link at the end of the posted URL
Hello @vicky-demansol, 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. Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project. Please help complete the Mattermost contribution license agreement? This is a standard procedure for many open source projects. Please let us know if you have any questions. We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team. |
Hi @vicky-demansol, can you please write unit tests for this so we can see this in action? Are are some example URLs you can use: Jira Cloud: Jira Server: |
Codecov Report
@@ Coverage Diff @@
## master #797 +/- ##
==========================================
- Coverage 35.15% 35.13% -0.03%
==========================================
Files 51 51
Lines 5825 5829 +4
==========================================
Hits 2048 2048
- Misses 3572 3576 +4
Partials 205 205
Continue to review full report at Codecov.
|
/check-cla |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
Hi @vicky-demansol - this has been stale for a while - are you actively working on it? Any ETA for it? Thanks. |
still trying writing unit test at https://github.com/mattermost/mattermost-plugin-autolink/blob/master/server/autolink/lib_jira_test.go but get failed unit test |
unit test example https://gist.github.com/vicky-demansol/01f54856c806fba75624e9afd84d29da write on https://github.com/mattermost/mattermost-plugin-autolink/blob/master/server/autolink/lib_jira_test.go I don't know where exactly I need to write the unit test |
@vicky-demansol You can add it to the test as you did your gist. For future reference, you can commit this sort of code to the PR and request feedback that way |
can I PR without any issue there https://github.com/mattermost/mattermost-plugin-autolink/blob/master/server/autolink |
Hi @vicky-demansol, please mention me so I can get a notification for this discussion 🙂. Feel free to create an issue in the Autolink repository to write the unit test. |
Hi @mickmister i was add the unit test at mattermost-community/mattermost-plugin-autolink#175 |
LGTM ! |
This PR has been automatically labelled "stale" because it hasn't had recent activity. |
@mickmister @jfrerich Gentle reminder to review this PR |
@hanzei This is blocked by mattermost-community/mattermost-plugin-autolink#175 (review) |
This PR has been automatically labelled "stale" because it hasn't had recent activity. /cc @aspleenic |
Will Pick this Up |