stable

Clone or download

Read-only

feat: Extract cross-refs from new content of global comment

How to test: - Enable the feature flag: `tuleap config-set feature_flag_allow_pull_requests_comments_edition 1` - Use the API explorer to make a PATCH request to /pull_request_comments/{id} route. - When you write references (such as art #000) in the new content of the comment, cross-references should be extracted and saved: The artifact should now have a reference pointing to the pull request. Part of story #32316 Update comments Change-Id: I8cedf2189faf33d7e75342c3406892483cfd7c0c

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/Comment/PATCHCommentHandler.php +11 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestCommentsResource.php +3 −1 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/Comment/PATCHCommentHandlerTest.php +10 −2 Go to diff View file