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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked for me as well, thanks.
It was working just fine all along and then it started to send emails with that {color} included all over in email.
This solution fixed the issue.
Thanks Daniel.
Cheers
Brijesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use Slack Message Formatting to form a message to properly render the message
https://api.slack.com/reference/surfaces/formatting
Thanks,
Pramodh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.