How do you create a blog post with a label with a button?

Scott Richmond
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 5, 2025

I'm trying to setup a button that creates a blog post with a specific label from a page, so we can have WIP artwork posted with blogs and use blogfeeds.

But I cannot see how this is possible with Smart Buttons or with URL. Is it possible?

 

2 answers

0 votes
Tomislav Tobijas _Koios_
Atlassian Partner
January 6, 2025

Hi @Scott Richmond ,

Smart buttons currently support only template flows which are visible in the right panel once you add this macro to a page. There's an open feature suggestion for connecting existing automation rules to smart buttons: CONFCLOUD-79704: Ability to set Custom Confluence Automation Rules to Smart Buttons 

As for Confluence automation, there's also no action for publishing a blog post (same as the one for pages). Here's a feature suggestion for it: CONFCLOUD-76656: Automation: Publish new post 

As a workaround, you could probably use Send web request action and REST API / Create blog post to create a blog post based on trigger event. 🤔

Cheers,
Tobi

0 votes
Marc - Devoteam
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.
January 6, 2025

Hi @Scott Richmond 

Welcome to the community.

You might be able to do that through an automation rule using the Send Web Request action and using the Confluence REST API for creating blog posts.

https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-blog-post/#api-blogposts-post 

But I don't see options in the API to add a labels as well, so I don't think this is possible.

Suggest an answer

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

Atlassian Community Events