The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use emojis in content updated via REST API?

Sascha A. Carlin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 31, 2019

I am looking for a way to use emojis such as

(!) 

in content I push to Confluence Cloud via its REST API.

Is that possible? If so, how? 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Stephen Sifers
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 1, 2019

Hello Sascha and welcome to the Community!

You most definitely may insert emojis and emoticons via the REST API. When you’re creating or editing a page you will pass through the emojis as follows via the storage format:

<p><ac:emoticon ac:name="tick" /> ;<ac:emoticon ac:name="warning" /> ;<ac:emoticon ac:name="cross" /> ;<ac:emoticon ac:name="plus" /> ;<ac:emoticon ac:name="minus" /></p>

More on REST API storage format (This is for server, the same syntax will apply to cloud): Confluence Storage Format.

Here is what the actual page will look like:

image.png

I hope this proves helpful and enjoy adding :allthethings: to your content.

Regards,
Stephen Sifers

Sascha A. Carlin
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 6, 2019

Thank you Stephen!

Like Stephen Sifers likes this
Brendan Coughlan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2019

Hi Stephen, I noticed that cloud has more emoticons than server does (e.g. the minus isn't listed on the confluence storage format for confluence server). Would it be possible to list the emoticons available for cloud in the documentation. 

For me especially the light bulb on and off would be very helpful. 

EDIT:
light-on and light-off is used for the emoticons lightbulb on and lightbulb off

TAGS
AUG Leaders

Atlassian Community Events