Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Freshdesk Case details sent to Microsoft Teams contain HTML code blocks, is there a way to clean?

Community! I need your help to see if there is a way to fix the details of the alerts seen in MS Teams as they are wrapped in HTML code.

Example:

Freshdesk Case: https://URL/Case/9861 Description: <div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size:13px"><div dir="ltr">TEST SEV 1</div></div>

Requester Name:

Queue: NA SLA Response Time : March 4 2021 at 05:13 PM EST

Priority:

P1

Status:

[Acked / open]

Source:

Freshdesk

--

As you can see the description is only 'TEST SEV 1' but it is wrapped in HTML code in Teams. The alert in the OpsGenie looks fine. Did anyone see a way to clean this up?

1 answer

0 votes

Hi Arron,


Adaptive Cards is currently used to display alert content from Opsgenie in MsTeams.  I have investigated this issue extensively and can confirm that Adaptive Cards does not support rendering of HTML (we have a feature request internal ref: HEIMDALL-4713 on the product roadmap expected to be reviewed before the end of Q2 2021)

It does however support markdown but with limitations.

Please note the following markdown is not supported:

Tables
Images
Preformatted text
Blockquotes

The markdown line breaks \r \n and \n\n are not supported, the only supported line break is a hard line break (2 whitespaces at the end of a line.)

Here is an example of text formatted with supported markdown:

Bold text:
**Bold text string**

Italic text:
_Italic text string_

Unsorted list:
- Item1
- Item2
- Item3

Numbered list:
1. Item1
2. Item2
3. Item3

URL with titles:
[This is the URL title](https://example.com)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Opsgenie

Investigate deployment-related incidents with Bamboo and Opsgenie together

Back in April of last year one of the major product announcements from Opsgenie was the launch of the Incident investigation view which created a deep connection between Bitbucket and Opsgenie, empow...

151 views 1 4
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