Hi everyone!
I need little advice with visual for Slack messages sent with Automation.
1. This is Rule
2. Some detail of Slack message
3. What in Jira issue comment
4. What I receive in Slack channel
I marked line with applied block quote formatting.
I used official source for this: Quotes, inline code blocks, lists
Used smart-value:
>{{issue.comments.last.body.abbreviate(300)}}
My question:
How can I make the entire comment WITH multiline be formatted with block quote with {{issue.comments.last.body.something-here}}???
Thnx in advance!!!
For clarification: I know how to send all needed info with JSON Payload :) I just wonder about solving this specific question. Maybe anyone already faced the same and found solution?
Hi @Roman Pankovski ,
One possibility (if you don't care too much about having text after the comment) is using the '>>>' syntax to tell Slack that everything after that point is part of a quote. For example, if the "issue was returned" message you have could be moved up, this might fit your needs:
*Issue was returned to previous Assignee for review.*
Reasons:
>>>{{issue.comments.last.body.abbreviate(300)}}
Unfortunately there doesn't seem to be a way to tell Slack when a quote like that ends - it just goes until the message is completed. This is a bit of a difference from things like code blocks where the ``` characters can both start and end a code block.
Cheers,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.