-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Feishu webhook of issue update not linking to full issue url #24368
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
Comments
hi, @xgdgsc . Can you please reproduce and provide a detailed description of the issue? I'm not quite clear on what "issue webhook notifications has no URL" means. It's possible that this issue has already been resolved in the latest version. ![]() |
I see only
when using Feishu webhook. |
@xgdgsc which version of gitea are you using? |
Just downloaded latest release 1.19.3 |
I will fix this later. |
hi @xgdgsc, I have submitted a Pull Request to fix this issue. Since the official documentation states that custom webhook bots do not support hyperlink functionality, simply adding it without making some formatting changes would result in an unappealing output. Therefore, I have modified the formatting of the output. You can also try using a custom bot application. I have previously written one that you can refer to. The repository is located here: webhook2group |
The commit notification message already has the url, which is fine and clickable. So I think just adding the url to the text would be fine? I' ve never used any custom bot before, just used the webhook bot. |
Yeah, my PullRequest will fix this. |
close #24368 ## what my pull request does Since the official documentation states that custom bots do not support hyperlink functionality, simply adding it without making some formatting changes would result in an unappealing output. Therefore, I have modified the formatting of the output. Currently, it is only used for Feishu. --- [docs](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/im-v1/message/create_json#%E8%B6%85%E9%93%BE%E6%8E%A5%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E) <img width="641" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/360e1c81-ab64-4ef6-851e-aa450d6e85a4"> - Issue <img width="423" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/519f6fae-81ab-4ec8-89b8-f6a73ff93783"> - Issue Comment <img width="548" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/749c0d1c-3657-431e-b787-8bf4c23cce83"> - Assign <img width="431" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/066f99e5-eabb-455d-91fb-a8359cc26dc7"> <img width="457" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/c6c10f99-db83-46ef-a775-4c91979fa68f"> - Merge <img width="408" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/e627bf43-5954-45aa-acf6-261ee046802f"> - PullRequest <img width="425" alt="image" src="https://github.com/go-gitea/gitea/assets/75628309/72cfa714-d3fa-4fb9-abdd-e8508d756056">
Feature Description
I hope webhook of issue update include issue url. I find it strange commit webhook has URL while issue webhook notifications has no URL, which I usually would use more frequently,
Screenshots
No response
The text was updated successfully, but these errors were encountered: