I have been using this kind of URL links with previous versions of Confluence:
It seems that the labels parameters are not passed on for the blog post at all anymore.
Is there any way to get this working with Confluence 4.0?
This should still work in Confluence 4.0 with the parameter labelsString, it works at least in our environment. They won't be displayed in the label editor, but they will be added to the page/blogpost after saving.
I'm not sure whether this is a bug or a feature. You can pass multiple labels with labelsString=test1,test2 and then even add a third label (for example: label3) in the editor. Confluence will add all three labels to the page/blogpost. I can think of some use cases where hiding those passed labels would make sense.
Hope this helps
It still works, without any script code. Just use the following url:
Note that the labels are not displayed in the editor during the creation of the blogpost. But they will be visible after saving.
I actually tested that for several minutes before posting my initial reply.
I didn't insert the code through the admin panel.
I use the abovementiond url with corrections to my server url and spacekey, it doesn't show the labels in the labels and it doesn't show them after I publish the post either...
I also tried the user macro to do that that is in the user macro repository or something here on Atlassian website, it also doesn't add the labels.
Yes, sure I can add labels. I even use links on my webpages that create _pages_ in a specified space and with a specified template, that works fine, confirming it's not a browser issue (stripping redirects or whatever).
Are there any other parameters I could test with the createblopost.action to make sure they pass or not?
Now you can use your "labelsString" Parameter. Don't forget to clear your browser cache with Ctrl+R. Testet with my Confluence 4.0.
It looks like the URL method is broken again (Confluence 5.9.3).
Sandro, your solution works perfectly for me (thank you!), but the labels window remains open after clicking the link.
I tried changing ".dialog-button-panel a.button-panel-cancel-link" to a couple of different things, but nothing I tried worked.
Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...
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!
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