Pages not displayed in Alphabetical View.

hi,

I am creating Spaces and Pages programatically using the api.

Spaces and Pages are getting created.

I am able to view the pages in Tree structure.

However when i try to view the pages in alphabetical view , I get a message

' There are no pages starting with ''. '

Can anybody point out where am i going wrong ?

Thanks in advance.

1 answer

1 accepted

Nikhil,

I think you've hit a bug -> https://jira.atlassian.com/browse/CONF-23269

Check space permissions, it might work if you grant "view" permission to your user or group on that space.

Hope it helps!

Hi Jeison,

Thanks a lot for the timely response.

Yes, your suggestions helped me a lot. I realized that the spaces created programatically didnt have any permissions set and hence the pages were not displayed in the Alphabetical View.

While creating spaces progrmatically, I added the following line.

Space targetDeliverySpace = new Space();
// Setting the space permissions
SpacePermission sp = new SpacePermission(SpacePermission.VIEWSPACE_PERMISSION);
sp.setSpace(targetDeliverySpace);
targetDeliverySpace.addPermission(sp);

and after saving the space using SpaceManager , it worked ! :D

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

975 views 23 13
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