youngmon/atlassian-qna huggingface dataset:
Change limit of expanded children (REST API)
Asked by Gary Sharp:

I am fetching several levels of children through the REST API using the expand functionality, but I am unable to figure out how to change the limit of the number of children returned. It is always 25, even if I raise the limit on the top level. Is this possible? If so what is the syntax?

The call I am making is rest/api/content/search?cql=id=111\&limit=200\&expand=children.page,children.page.children.page


Answers:
author: Robert Massaioli _Atlassian_
body: Firstly, there are a number of questions that are about the REST APIs. Usually, the best location to go to ask these questions are the Developer Community: [https://community.developer.atlassian.com](http://community.developer.atlassian.com/)

As for the problems themselves, it seems that people are trying to iterate the children of a single piece of content using the REST APIs.

If you are:

* Looking for all of the immediate children of a piece of content, then I would recommend using: <https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-child-get>
* If you are looking for all of the ultimate descendants of a single piece of content then I would recommend: <https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-descendant-get>

If you can't successfully make those requests work then I would recommend either raising thread on the Developer Community to seek help OR if you are confident that it is a bug (as per Gabriel's case) it would be a good idea to raise a bug against Confluence Cloud in jira.atlassian.com).

I hope this helps get everybody started in the right direction. Cheers!

comments: author: Tova Pozen
body: Are these APIs existing for server as well?  
Especially the API for fetching all of the ultimate descendants of a single piece of conten?


author: gabrielfreiberg
body: Any help here, [@Robert Massaioli _Atlassian_](/t5/user/viewprofilepage/user-id/781557) ?

I am also trying to use the Content API to get content. Any time you include some expands, the API ignores the Start and Limit parameters.

e.g. content/653690267?start=10\&limit=25\&expand=descendants.page


author: HuguesGauthier
body: I tried this and it works

/rest/api/content/9666655/child/page?limit=200

9666655 is a page with a lot of child.

comments: author: Gary Sharp
body: The issue is when using the expand functionality on the search. Using the child endpoint does not provide the same data.


author: M T
body: Anybody found the answer to this?

Running into the same issue as Gary so I tried to call children directly attached to a page, with the hopes that the API would accept a limit on that call:

/rest/api/content/14778915/child?expand=page.body.view\&limit=250


author: Gary Sharp
body: Good point @Robert Massaioli, updated my question to include the path that I am using.


author: Robert Massaioli _Atlassian_
body: You probably need to provide more details on exactly which REST api you are using and with what arguments?


Tags: cloud

confluence-cloud
Page Properties Report - Multiple Column sort?
Asked by David Miller:

*This question is in reference to Atlassian Documentation: [Page Properties Report Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=186089616)*

Can you sort by more then one column? (e.g. First by ColumnA then by ColumnB?)


Answers:
author: Aleks Yenin (Polontech)
body: Hi,

You can use the table-filter plugin. It's not sorting, but it's filtering:

<https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter>

Using it with table-plus:

<https://marketplace.atlassian.com/plugins/org.swift.confluence.table>


Tags: confluence-administration

page-property
provide an example of use please
Asked by Victor Prasad:

*This question is in reference to Atlassian Documentation: [Excerpt Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=701434993)*

Ask your question here...


Answers:
author: Nic Brough -Adaptavist-
body: You use it when there's some text on one page you want to see in another.

comments: author: Victor Prasad
body: so it is sort of like a pre copy and pasted comment? It is meant to be used across multiple pages.

Would an example be like a footer? Seen on every page?


author: Nic Brough -Adaptavist-
body: No, it displays text from one page on another. So you only have to edit the text once.


author: Victor Prasad
body: Ok, so I put the macro on one page put I some text clicked 'inline'

Published the page - my text shows up.

But How do I present in on another page?

Thanks,


author: Nic Brough -Adaptavist-
body: As it says in the doc, use include-excerpt


author: Victor Prasad
body: ok got it...

edit the page an add the insert... now I got it.

So I am noticing macros rely on other macros to fxn. Getting there little by little.

thanks,


Tags: excerpt
"Reset" permissions after moving page
Asked by Kimberly Sergent:

*This question is in reference to Atlassian Documentation: [Moving a Page](https://confluence.atlassian.com/pages/viewpage.action?pageId=590259451)*

I moved a page from a more restricted parent page to a less restricted parent page. I want the page to be less restricted now, but after moving it to the new parent it still has the more strict restrictions. I cannot find a way to "reset" the permission.


Answers:
author: Kay Brown
body: Hi Kimberly,

If the restrictions are at the page level, from the Tools menu, select Restrictions. You can change the Edit and View permissons there.

Regards,

Kay


Tags: move

page
Is this page completely useless? .../plugins/servlet/upm
Asked by Warren Goldman:

I have tried to update add ons and the all fail with

An error was encountered while updating the UPM. See the logs for more details.

Wonder where the logs are? That might be nice to know.


Answers:
author: Nic Brough -Adaptavist-
body: Logs are usually in the log directory in confluence-home, assuming you've not relocated them. Check the system-information page for where that might be on your system.


Tags: confluence-administration
Who to be contacted to create a new space in confluence?
Asked by Pardha Kancharlapalli:

*This question is in reference to Atlassian Documentation: [Managing Confluence Users](https://confluence.atlassian.com/pages/viewpage.action?pageId=701435433)*

How to create a new space in confluence? The "Spaces" -\> "Create new space" option is not available for me. Our team would like to create a new space for knowledge base.


Answers:
author: Nic Brough -Adaptavist-
body: Your administrators can do it.

As well as anyone who has the "create new space" global permission. You'll need your administrators to grant you that permission if you need it.


Tags: confluence-administration

user-management
NullPointerException when copying a Space using Copy Space Add-on
Asked by beecom AG:

We are trying to make a copy of one of the existing spaces, using Copy Space Add-on.

However, we are getting the following error:

```
Page Not FoundThe page you were trying to reach could not be found. This could be because:?         The page does not exist.?         The page exists, but you do not have permission to view it.
```

In the application logs, we can see there is a NullPointerException.

We recently updated to version 5.8.18. Before, this action could be done without problems

Is this a known problem? Is there a way to solve this problem?


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I had the same situation, just add that into app

```
if (labelManager == null || copy == null) {
return;
}
```

<https://bitbucket.org/gonchik/confluence-copy-space-plugin-atlassian/commits/9b4b97a508bdc3302e10d2813fec4a5ffe6dc7e0>

comments: author: Klaus H?barth
body: [@Gonchik Tsymzhitov](/t5/user/viewprofilepage/user-id/726117) any chance that you publish the app somewhere?


author: Heiko Feisel
body: I have the same question. Do you published this fixed vesion anywhere?  
Im not able to compile java code.


author: TechTime Initiative Group
body: Have compiled this on my computer straight from Gonchik's code.

I will upload to Google drive when I get home.

Please send a reminder for me to do it if I forget to ammanueladdis@gmail.com


author: EPS Software Engineering AG
body: Hi,

Have a look at our Add-on. You can copy spaces or you can create new spaces based on templates.

**[Marketplace link: Space Tree Creator](https://marketplace.atlassian.com/plugins/eps.focuspro.SpaceTreeCreator/server/overview)**

Regards,  
Stephan


author: Diogo Guerra
body: We also have the same problem. Any updates here?


Tags: addon-com.atlassian.confluence.plugin.copyspace

confluence-administration

copy

space
Text indentation and alignment lost when exporting to PDF
Asked by Catherine Z:

Hi,

When I use the Editor toolbar icons to indent or align my text, it does not show in the exported PDF. Is there something else that I should be doing to keep this formatting?

Thanks.


Answers:
author: Catherine Z
body: Hi Steven,

Thanks for your reply. I'm using the Confluence Server. Also, I'm using Scroll PDF Exporter to export into the PDF output.

Thanks.


author: Steven F Behnke
body: Can you tell us if you use the Confluence Server or Atlassian Confluence Cloud product?
I can't promote a custom global template in a space
Asked by Nic Perry:

*This question is in reference to Atlassian Documentation: [Blueprints](https://confluence.atlassian.com/pages/viewpage.action?pageId=323982376)*

I have options to promote the standard blueprints, and maybe I could create a template in the space and promote it, but there are no promote options next to the global templates in the space.

Sorry Nic Brough, wouldn't let me comment for some reason... That isn't what promoting is for, promoting it means that when someone clicks to add a new page it shows up at the top, before the "show more" button. It works fine for all the global blueprints, and the documentation says it works for templates too, but it doesn't seem to be working, at least not where I expect it.


Answers:
author: Mikael Witt
body: I have the same problem and can see other questions regarding this in the forum, but no answers as far as I can see?


author: Nic Brough -Adaptavist-
body: Where would you promote a global template to? It's already global.

comments: author: Nic Brough -Adaptavist-
body: Ack, sorry, I was looking at a function provided by an add-on.

You're right, that promotion should be working to push the template up the list. I'm not sure why it doesn't - are there any errors in the logs when you try to promote?


author: Nic Perry
body: There isn't even a promote button on the page where blueprints can be promoted, only an edit button that takes me to the global template settings.


Tags: blueprint

confluence-administration
I applied page restrictions to a group but now each group member has to request to be granted access. Is that correct? I don't want to have to grant access to each person?
Asked by Suzi Westmoreland:


Answers:
author: Suzi Westmoreland
body: Cody, thanks for the quick reply. The parent page actually has no restrictions; it's open to everyone.I did read about inherited permissions and I did check the parent page. Any other suggestions?

Thanks so much,

Suzi

comments: author: 105349
body: Hmmmmmmmm.... What sort of permissions do you have to the Space itself? Do you have administration access to the Space?


author: 105349
body: Oh, another thing to check is to make sure that the group you're trying to restrict has access to the Space as well. Space permissions override everything else, so if the group doesn't have any access to the Space, the restrictions you're setting won't have any effect.


author: 105349
body: Hi Suzi!

Yeah, that's definitely not right. And just to double-check, you've given that group Viewing *and* Edit restrictions on that specific page? Hopefully it's as easy as that. :smile:

But, my gut tells me that you're running into an inherited permissions issue. Basically, there's a parent page to the page that you've set restrictions on that has tighter access restrictions, which are cascading down and (essentially) overwriting the restrictions you're setting on the group.

(You can read more about inherited restrictions, among other things, [here](https://confluence.atlassian.com/doc/page-restrictions-139414.html).)

The first step I'd take is see if there are any parent pages that have restrictions set, and if so, make sure the group you're trying to add restrictions to are also included in those parent pages.

Good luck!
Does Atlassian support wireframes?
Asked by Chris Tanczyn:

Does Confluence or any other functionality in the Atlassian suite support wireframes? On a side note, is HipChat included in your subscription?


Answers:
author: Phill Fox
body: Check out the Balsamiq plugin for wireframing available for both JIRA and Confluence.

Alternatively you can use Gliffy for some wireframing.

HipChat pricing is described here - <https://www.hipchat.com/pricing>

comments: author: Chris Tanczyn
body: Hey, Phil

Thanks for the information! I'm wondering if HipChat could be integrated into Confluence as a chat service for both internal and external end-users or would that not be feasible? Thanks!
Clover integration with Jira, Confluence, and Crucible?
Asked by Richard Pierce:

I am investigating adding Clover to our development toolkit. We currently use Jira, Confluence, and Crucible and those 3 integrate well together. I have found very little information on whether/how Clover integrates with those 3. I did see there is a Clover widget for Jira, but it is only available if we use Bamboo (and we are sticking with Jenkins). Are there any other integration points between Clover and the other Atlassian products?


Answers:
author: Grzegorz Lewandowski
body: As you said Clover is pretty nicely integrated with Bamboo and as an result of that integration you're able to see Clover gadget on JIRA dashboards. There's Clover plugin for Jenkins, however it's not officially supported, [see](https://confluence.atlassian.com/display/CLOVER/Jenkins+Clover+Plugin). And you could use `iframe` macro in Confluence to embed Clover report like [here](https://confluence.atlassian.com/display/CLOVER/Basic+Clover+Confluence+Integration).

Best regards,

Grzegorz Lewandowski

comments: author: Richard Pierce
body: Thanks!


Tags: clover

fisheye-crucible

jira

questions-for-confluence
confluence internal directory - nested groups
Asked by Marc Minten _EVS_:

How can I activate "nested groups" for the Confluence Internal Directory ?

I have Confluence configured with an Internal Directory and an external (LDAP) one. I am logged in through the LDAP external directory. But I do not see an "Edit" button next to the Internal Directory in order to activate nested groups (as I do in Jira). Do I miss something ?


Answers:
author: Martin Ottesen
body: As far as I know Confluence does not currently support "nested groups" in its internal directory.  
A ticket has been raised on Atlassians system please vote up.

<https://jira.atlassian.com/browse/CONF-37451>


author: Davin Studer
body: You cannot edit LDAP settings in Confluence if you are logged in with an LDAP account. You will need to log in with the local admin account or another local account that has the system administrator privilege.


Tags: confluence-administration
Enabling Confluence password administration for users with centralised user management in Crowd
Asked by Sam Tunnicliffe:

Hi all,

The issue: users in Confluence, JIRA, etc do not have the option to change their passwords.

I have centralised user management in Crowd Server which I believe has removed the option for users to change their own passwords. I would like to re-enable this.

Having read <https://answers.atlassian.com/questions/306822> and [Disabling the Built-In User Management](https://confluence.atlassian.com/conf57/disabling-the-built-in-user-management-701435479.html) the issue may be that I may have: enabled *External user management* , however the checkbox for this in *Confluence Administration\>Security Configuration* is unticked so I don't believe so. I also cannot find the users directory mentioned in the above issue (\<confluence_install\>\\confluence\\users\\) so I can't try fiddling with the changemypassword.vm file.

Another possibility is that I've disallowed Confluence/JIRA from making changes to the Crowd directory that stores the passwords, but by going to the application permissions in Crowd it seems that all permissions are enabled.

Hope you can help,

Sam

Confluence 5.7.1, JIRA Software 6.3.15, Crowd 2.8.3


Answers:
author: Nic Brough -Adaptavist-
body: Check the directory settings (admin -\> user directories) - is the Crowd link read only, or read-write? It needs to be read/write if you want to be able to let users change settings in Confluence.

comments: author: Sam Tunnicliffe
body: Perfect solution, cheers Nic.


Tags: confluence-administration

crowd

crowd-administration

user-management
increase user licence count
Asked by Nick Barratt:

Hi, We current have a 25 user licence for confluence/gliffy/scroll pdf/graphviz, and need to add more users.

If we need another 10 users, can we buy a 10 user pack, or do we need to increase it to the 50 user tier ?

Regards

Nick


Answers:
author: Ross Lindell _Information Officer Pte Ltd_
body: You definitely need to move to 50 User Tier, and all the Add-ons (Gliffy et al) need to match (e.g. 50 User Tier). Next is 100 Users, and so on.

I think the general rule if you have remaining support, e.g. 2 or 3 year remaining, upgrade math is:

\[new license cost\] - ( \[current license cost\] / 2 )


author: Vickey Lepcha
body: I do not think there is any such provision to make such additions - You can probably move over to the next license count of 500.


Tags: confluence-administration
how to show data with charts? And this data from confluence page's content.
Asked by jackial:

*This question is in reference to Atlassian Documentation: [JIRA Issues Macro](https://confluence.atlassian.com/pages/viewpage.action?pageId=139380)*

Hello. I have a question about confluence. I will describe a requirement and then explain my question.

Requirement: I have 300 companies' data, and one company's data in one page. Such as company A has location, information and so on. This data was written on Confluence page. The company's location can be any city, such as Beijing, Shanghai.

Question: I want to show how many companies in Beijing? How many companies in Shanghai? Like those questions how to show with charts? Thanks.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello,

You can use the following workflow:

* Add page properties macro on your pages with data you have
* On another page add Page Properties Report macro - you'll get a table with all your companies
* Wrap Page Properties Report macro with Pivot Table macro ([Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on), chose a "Location" column in Raw Labels parameter. You'll get a pivot table with count of each location.
* Wrap Pivot Table macro with Chart from Table macro to visualize your data.


Tags: confluence-administration

jira
How to export Confluence space without attachments
Asked by Hisamitsu Koga:

I want to export Confluence space without attachments. Is there any way to perform this easy / smoothly?


Answers:
author: Stephen Deutsch
body: According to the Full XML export option in Confluence Cloud:

Generates a XML file for each page in this space, including those not visible to you, and excluding blogs, comments, and attachments.

So I would assume that this means that attachments are not exported.


author: CSA Genome
body: I also want to do this, but I'd like a PDF Space Export, without attachments. I have a "large" space that has many GB of attachments. When I try to do a PDF export with confluence-cli (3.8), Confluence aborts with a StuckThreadDetectionValve warning.


author: Robert Ortner
body: Use the Copy Space plugin - here you find a option to copy a space without attachments and in the next step use the regular space export to xml - should work.

image2016-4-13 9:3:1.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-to-export-Confluence-space-without-attachments/qaq-p/278132?attachment-id=1532){#link_1190ca4f1590fe}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/47097/1/image2016-4-13%209%3A3%3A1.png){#display_1190ca4f1590fe_0}


Tags: cloud

confluence-cloud
download or drag and drop attachments to chosen place? how?
Asked by Trevor Hughes:

I am guessing that drag and drop of attachments is not supported as it creates a .webloc file. True?

right clicking and downloading linked file gets you a .html file.

How can i get an attachment to my chosen folder or drag it into an email?


Answers:
author: Milo Test
body: If you view the attachments using either an Attachments macro on the page or selecting ??? -\> Attachments, you should be able to click on an attachment and save it locally wherever you like.

comments: author: Trevor Hughes
body: Clicking on the attachment brings up a preview window and a download button. clicking that downloads the file to my download directory. there is no way to choose a download location.

dragging a file to a folder creates a .webloc file in the folder


author: Milo Test
body: Indeed it will download to your default directory, but you can then move it wherever you want.

Alternatively, you can change the default download location in at least some, and probably all, browsers.


Tags: cloud

confluence-cloud
Securing page content from being copied to clipboard
Asked by D3UC:

Hi there  
Is there any way to stop users from copying content from confluence?  
For example, copying the whole page to clip board and pasting it somewhere else  
We're trying to avoid having our content copied off , or at least make it more difficult  

thanks  

MD


Answers:
author: Milo Test
body: See if this is good enough; it might not work with all browsers or for all time, or stop someone who is really intent and clever enough to copy the text:

1. Add the CSS Stylesheet macro
2. Add code to the body of the macro:

   ```
   .noselect {  -webkit-touch-callout: none; /* iOS Safari */  -webkit-user-select: none;   /* Chrome/Safari/Opera */  -khtml-user-select: none;    /* Konqueror */  -moz-user-select: none;      /* Firefox */  -ms-user-select: none;       /* IE/Edge */  user-select: none;           /* non-prefixed version, currently                                  not supported by any browser */}
   ```

3. Add a div macro
4. Set the class: noselect
5. Put \*everything\* you don't want copyable in the body of the div macro


author: Nic Brough -Adaptavist-
body: No. It's browser based, so there's always a way to copy the data on the page.

comments: author: D3UC
body: Hi Nic,

Thanks for the quick response. Can you help me one step further?  
My partners think this is possible because out wordpress based web page has protection set up where text and images cannot be copied off.   

How would you answer them?  

Thanks in advance  

MD


author: Nic Brough -Adaptavist-
body: It's probably a set of "user select" settings in the css or some javascript hackery.   

The reason I say "there's always a way" is that a browser can easily be told to ignore pieces of css and javascript. You can make it harder, but it's still a doddle to bypass with a quick google search and a standard browser.


author: D3UC
body: Thank you for the explanation :smile:


Tags: cloud

confluence-cloud