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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,551,931
Community Members
 
Community Events
184
Community Groups

How to send automatic e-mail when file attached?

I want to know how to send automatic e-mail to list of users, when file attached.

Want to use, confluence page as a FW release page, and for this when an editor update(upload) new FW into the page, into file attach box, then in this case, I want to auto generate e-mail to be sent to list of users.

 

1 answer

0 votes
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 28, 2023

Hi @Eric Cho 

You can't do that out of the box. There isn't any automation to use (on a premium plan) to check if someone uploads an attachment. Perhaps Scriptrunner could do that trick for you, but then again I'm not so sure.

Jessie Wang_ScriptRunner_The Adaptavist Group
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Apr 28, 2023

Hi @Eric Cho @Alex Koxaras _Relational_ in ScriptRunner for Confluence we have a feature called Listeners which allows you to create custom automations triggered by Confluence events.

 

In Confluence, there is an attachment created event available to act as trigger, however there is no way to send a notification as Atlassian doesn't provide an API in Confluence cloud to send a notification. So due to the API limitations, the use case you request above is not possible.

 

As a workaround, perhaps you can add the users to the page as watchers so they get notified when it is updated? You can do this by script using the Add Content Watchers API documented here: https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches/#api-wiki-rest-api-user-watch-content-contentid-post

 

Note that the watchers will also get notified of other updates to the page like comments etc.

 

Hope that helps!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events