...
- Slack connector for JIRA server
- Slack connector for JIRA Cloud
- Slack connector for Bitbucket ServerSlack connector for
- Confluence Server
...
...
Code Block | ||
---|---|---|
| ||
{
"text":"<eventType> in <spaceLink> by <userLink>",
"attachments": [
{
"color": "#205081",
"title": "<contentTitle>",
"title_link": "<contentLink>",
"text": "<contentBody>"
}
]
} |
...
...
<spaceLink>
...
<spaceKey>
<space.key>
...
<contentTitle>
...
<contentLink>
...
<contentBody; format="substring_2">
<contentBody; format="substring_2_4">
...
Use substring function to get string from index 2 to length
Use substring function to get string from index 2 to 4 (if string length <4 , it will get length)
...
<if(isNewPage>New Page <else> updated Page<endif>
<if(isNewBlogpost>New Blogpost <else> updated Blogpost<endif>
<if(isNewComment>New comment <else> updated comment<endif>
...
<userLink>
...
<userName>
...
<eventType>
...