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

Random GIF or content on "send email"

Hi Community!

 

I'm currently setting up an automation rule that sends out an email to the assignee when an initiative is set to done. This email is to celebrate the achievement!

In order to keep it interesting, I'd like to add something random or unique every time the email gets sent. Like for example a random gif connected to the theme "celebration".
Has anyone done something similar before or knows how to tackle this?

1 answer

1 accepted

Hi Kaj

You could try something similar to what is documented here if you are using jira cloud and automation for Jira

https://confluence.atlassian.com/automation072/send-web-request-action-now-provides-response-data-1056675727.html

 

There would be a couple of steps

1. Set up an account on giphy and create an app so you can get an api key.

2,. Set an automation rule to trigger on transition to done.

2. Use the api key from the app in the send web request automation rule to http://api.giphy.com/v1/gifs/random?tag=celebration&rating=pg-13
sendwebrequest.png

 

3. Use the web request response in the send email action. It would looks something like this.

webhookbody.png

Darryl Lee Community Leader Sep 17, 2021

I love this idea, and I love that somebody came up with an answer already (although I was on my way towards it, I swear!)

Love the creativity!
Thanks @Support Team _Clearvision_ , I will try it out today! 🚀

@Darryl Lee Thank you for the effort. 😉

I got it working! 🎉
Thanks again @Support Team _Clearvision_ !!

Hi Kaj

That's great to hear.

Just FYI and you may already be aware on but on giphy the beta keys are rate limited to a maximum of 42 search requests an hour and 1000 search requests a day. This may or may not impact you depending on how often the automation runs

I saw that.
But currently, this shouldn't be an issue.
Thanks for the heads up!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

138 views 1 2
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