Default label for blog posts?

Is it possible to set a default label for blog posts in a particular space? We are concerned that our users will contribute to the blog but not remember to add the correct label (which helps us render the updates on other pages).

4 answers

1 accepted

You might have found this by now, but in case you haven't, here is a user macro that should do the trick:

https://confluence.atlassian.com/display/DISC/Automatically+label+news+post

JM

3 votes
David Simpson Community Champion Jun 21, 2011

It sounds like you'd want a custom plugin that uses an EventListener to listen for BlogPostCreateEvents and automatically adds the relevent labels. This plugin would allow you to specify default labels on a per space basis

Thanks for the advice!

You can use the add-label macro in a page template. That would be easy!

That's true, but I don't think you can suggest page templates for blog posts. At least, I can't figure out how to set a template for a blog entry. If you have suggestions around that, the add-label macro would be a good solution.

Hi,

Just a follow up question whether you found a solution for this problem or not? Apparently there are no means of creating blog post global templates?

Best regards,

Jussi

and almost six years later...

The add-on "Templates for Blog Posts", by bitvoodoo, works for creating blog posts templates and assigning each one or several labels.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,010 views 22 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you