Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,363,846
Community Members
 
Community Events
168
Community Groups

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

3 votes
Answer 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!)

Like Prasanna Kumar V likes this

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

Atlassian Community Events