The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Slack formatting does not work either from the `Send Slack` message input field or the `Create Variable` smart value field.
What I did:
1. Created `Lookup Issues` with JQL
2. Created `Create variable` and nested there {{#lookupIssues}} as listed below
3. Created `Send Slack` message and pasted there {{bugIssues}}
All works great but without any formatting like bullet points (*) or newline \n for slack whether it is injected into the Smart value of the variable or the Send slack message field.
Therefore, all issues are just dumped in one message without separation.
Please point me on how to inject at least \n so each item from the `Smart value` of the {{#lookupIssues}} would be listed on a new line of the Slack message.
Side note: The current approach is used to have 2 types of Issues filtered and posted in one Slack message.
Hi @Romans Averins ,
The message created from Automation should follow Slack's markdown formatting - so to include a bullet point and newline in your message, this modification to your smart value should work:
{{#lookupIssues}}• {{issueType.name}} - <{{url}}|{{key}}> - {{summary}} \n{{/}}
Cheers,
Daniel
Hey @Daniel Eads ,
Thank you for the response! This is exactly why the topic is raised as the `\n` is not working in this case.
Tried it in various ways, even {{\n}}, or {{/}} \n, etc. but still slack is not recognizing it in the way it should.
Hence, copy-pasted the suggested solution and it just prints out all in one line with typed \n in between.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Everyone, In this roundup we combine all the jira automation rules to sum up story points across different issue types. We start from the lowest level, summing up story points from sub-tasks t...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.