Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Slack notifcation have some gibberish text in notification

Hello Community, 

Need help please 

We are using JSM Cloud and have an automation rule to notify new issues in slack when created in Jira 

Rule is working fine and it does notify

In slack notifications , we see some gibberish text ..not sure about it 

Can someone please advise

error.JPG

2 answers

1 accepted

4 votes
Answer accepted
Daniel Eads Atlassian Team Jan 05, 2022

Hi @Ashish Saini ,

Jira Automation will include formatting like {color} from the body of a smart value by default. When rendered in an editor that doesn't use that formatting style, such as Slack, the formatting text will then be visible and the formatting won't be applied.

You can use the .text function in a smart value to exclude any formatting and use the text characters alone for the value. For your example above, you would change the Description line to add .text in the smart value:

*Description:* {{issue.description.text}}

And that should do it!

Cheers,
Daniel 

@Daniel Eads : Thank you for the assistance.

I tried and it worked ..Thank you so much

Cheers

Thanks
Ashish

Like Daniel Eads likes this
0 votes
Pramodh M Community Leader Jan 04, 2022

Hi @Ashish Saini 

Use Slack Message Formatting to form a message to properly render the message

https://api.slack.com/reference/surfaces/formatting

Thanks,
Pramodh

@Pramodh M : Thank you for your response 

Here is the formatting i am using

ALERT! <https://domain.atlassian.net/browse/{{issue.key}}|{{issue.key}}>

*Summary:* {{issue.fields.summary}}

*Reporter:* {{issue.fields.reporter.displayName}}

*Description:* {{issue.description}}

Issue only occurs in description ..other fields are fine .

Can you please advise.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

730 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you