mirror of
https://github.com/kovetskiy/mark.git
synced 2026-04-25 08:42:37 +00:00
add jira ticket template
This commit is contained in:
@@ -130,6 +130,12 @@ func templates(api *confluence.API) (*template.Template, error) {
|
||||
`{{ end }}`,
|
||||
),
|
||||
|
||||
`ac:jira:ticket`: text(
|
||||
`<ac:structured-macro ac:name="jira">`,
|
||||
`<ac:parameter ac:name="key">{{ .Ticket }}</ac:parameter>`,
|
||||
`</ac:structured-macro>`,
|
||||
),
|
||||
|
||||
// TODO(seletskiy): more templates here
|
||||
} {
|
||||
templates, err = templates.New(name).Parse(body)
|
||||
|
||||
Reference in New Issue
Block a user