Are there issues defaulting a label on a new blog in 6.2.1?

David Brown December 9, 2018

I created a button to create a new blog entry in a specific space using the following code:

https://wiki.????????.com/pages/createblogpost.action?spaceKey=MS

This code works fine.  I adjusted the code to default the label using the labelsString.  I also tried labels-String but still got the following error:

The reference to entity "labels-String" must end with the ';' delimiter. (400)

I tried it with both labelsString and labels-String

https://wiki.?????????.com/pages/createblogpost.action?spaceKey=MS&labelsString=ms-ba-success

or

https://wiki.?????????.com/pages/createblogpost.action?spaceKey=MS&labels-String=ms-ba-success

 

Any ideas on why I am getting this error?

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 20, 2018

Hello there David!
I am not really sure on how to replicate this behaviour so we can start looking for a solution.


Could you share with here with the Community how you created this button?

Just take care to not disclose any sensitive information or something that your organization policies does not allow.

Let us know if this was done using a macro, plugin or any other way!

Doug Melvin September 9, 2019

@Diego I was able to replicate something similar by simply pasting the equivalent URL into my page. 

I am currently running Confluence 6.10.0 and while the post is created, using the following URL doesn't append the label (even after saving, no hidden field of labels are included or anything like that):

<base_URL>/pages/createblogpost.action?spaceKey=<KEY>&labelsString=<label>

and the same URL using &labels-String also fails to add the label to the new page

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events