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

global template with attachments

mock jira September 1, 2015

Hello,

My scenario is that everytime I create a page out of the global page template there is always a brand new attachment like a Microsoft word template that needs to be filled up.

The atlassian support says that it is a requested feature, https://jira.atlassian.com/browse/CONF-8892 , Is there anyone who have successfully created a work around?

 

Thanks

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Panos
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 2, 2015

Well, using annotated listener you can get an event when a page is created. Then you can figure out if that page suffices your requirements and add an attachment if so.

Event Listener: https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-plugin-module-types/event-listener-module/annotation-based-event-listener-example

For creating attachment on a page, you can see the AttachmentManager api, or add a comment so i provide you code in a comment

TAGS
AUG Leaders

Atlassian Community Events