@@ -117,7 +117,7 @@ func (f *WechatworkPayload) Push(p *api.PushPayload) (api.Payloader, error) {
117
117
func (f * WechatworkPayload ) Issue (p * api.IssuePayload ) (api.Payloader , error ) {
118
118
text , issueTitle , attachmentText , _ := getIssuesPayloadInfo (p , noneLinkFormatter , true )
119
119
var content string
120
- content += fmt .Sprintf (" ><font color=\" info\" >%s</font>\n >%s \n ><font color=\" warning\" > %s</font>" , text , attachmentText , issueTitle )
120
+ content += fmt .Sprintf (" ><font color=\" info\" >%s</font>\n >%s \n ><font color=\" warning\" > %s</font> \n [%s](%s) " , text , attachmentText , issueTitle , p . Issue . HTMLURL , p . Issue . HTMLURL )
121
121
122
122
return newWechatworkMarkdownPayload (content ), nil
123
123
@@ -127,7 +127,7 @@ func (f *WechatworkPayload) Issue(p *api.IssuePayload) (api.Payloader, error) {
127
127
func (f * WechatworkPayload ) IssueComment (p * api.IssueCommentPayload ) (api.Payloader , error ) {
128
128
text , issueTitle , _ := getIssueCommentPayloadInfo (p , noneLinkFormatter , true )
129
129
var content string
130
- content += fmt .Sprintf (" ><font color=\" info\" >%s</font>\n >%s \n ><font color=\" warning\" >%s</font>" , text , p .Comment .Body , issueTitle )
130
+ content += fmt .Sprintf (" ><font color=\" info\" >%s</font>\n >%s \n ><font color=\" warning\" >%s</font> \n [%s](%s) " , text , p .Comment .Body , issueTitle , p . Comment . HTMLURL , p . Comment . HTMLURL )
131
131
132
132
return newWechatworkMarkdownPayload (content ), nil
133
133
0 commit comments