youngmon/atlassian-qna huggingface dataset:
Import spaces: issues with user rights
Asked by scerbo:

Hi all,

I need to import a large number of pages on a Conlfuence space.

Our Vendor is supposed to do this import for us as it's in another language, but apparently only the admin is allowed to do this operation.

However it's not safe for us to give an external Vendor the right as admin to perform this operation. And if we do it will take time.

So what are the options here?


Answers:
author: Rodrigo Girardi Adami
body: Hi Scerbo,

you are correct. To be able to import spaces and other backups, you must be an admin and this can cause a security flaw if you need to give this permission to external people.

There's not much to do in this case instead of giving them permission and sign a contract of confidentiality (NDA). I'll leave this question open as other people might have a better idea than mine.

Cheers,

Rodrigo
error message "Database is being updated by another Confluence instance"
Asked by Leroy Llamas:

Has anyone seen this error before? We are running Confluence 5.6 and started receiving this error just now.


Answers:
author: Daniel Wester
body: More than likely there is another instance running. This could be a stuck previous process or another instance using the same database. Check the connections going to the database.


author: Jobin Kuruvilla [Adaptavist]
body: Someone just started a Test instance using the same database?


Tags: confluence-administration
forms in confluence
Asked by Raghavendra Rao Inala:

We have a specific requirement in our project where we create a template and the user fills in data, that data the user enter will be used to create a confluence page and create a issue in jira.

form.png

Every thing is fine but we need to use the User picker in our form.

So is there any user picker kind of thing in confluence to be used.

Any sort of help is appreciated.Thanks in advance.  
[](https://community.atlassian.com/t5/Confluence-questions/forms-in-confluence/qaq-p/182561?attachment-id=8562){#link_118926afc2e081}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/30569/1/form.png){#display_118926afc2e081_0}


Answers:
author: Stephen Deutsch
body: This might be what you're looking for:

<https://developer.atlassian.com/display/CONFDEV/JavaScript+Components>

You can define your input field with particular tags (see "User Autocomplete" section) and it will become a user picker.

comments: author: Raghavendra Rao Inala
body: Thank you very much:)
Using the blog-posts macro, is it possible to define a different set of labels based on user group?
Asked by Andrew Kosiarski:

I have our Confluence instance setup so that when a user logs in, there's a panel that displays the latest blog updates using the blog-posts macro. What I'd like to do is define a different label for several different user groups so that a user in one group sees different updates from a user in another.

I know that the page-include macro will respect the "groups" parameter, but it seems that that is not the case for blog-posts macro.

Anyone have any insight here?


Answers:
author: Davin Studer
body: You sure could. You could create a user macro that checks the user's group and then it will create a blog-posts macro with the correct label. So in essence you wrap the blog-posts macro in a user macro and dynamically change out the label based on the user's group.

**Update:**

Here is an example user macro. Replace the HRGroup, ITGroup and AdminGroup with you group names. Add blocks if you have more groups. For each block put in the correct label. Also, replace the ??? on line 21 with your space's key.

```
## @noparams#set $label = ""#set($userGroups = $userAccessor.getGroupNamesForUserName($action.getAuthenticatedUser().name))#foreach($group in $userGroups)    #if($group == "HRGroup")        #set $label = "hrlabel"    #end    #if($group == "ITGroup")        #set $label = "itlabel"    #end    #if($group == "AdminGroup")        #set $label = "adminlabel"    #end#end#if($label != "")&lt;ac:structured-macro ac:name="blog-posts"&gt;    &lt;ac:parameter ac:name="content"&gt;titles&lt;/ac:parameter&gt;    &lt;ac:parameter ac:name="spaces"&gt;        &lt;ri:space ri:space-key="???"/&gt;    &lt;/ac:parameter&gt;    &lt;ac:parameter ac:name="reverse"&gt;true&lt;/ac:parameter&gt;    &lt;ac:parameter ac:name="sort"&gt;creation&lt;/ac:parameter&gt;    &lt;ac:parameter ac:name="labels"&gt;$label&lt;/ac:parameter&gt;&lt;/ac:structured-macro&gt;#end
```

comments: author: Andrew Kosiarski
body: ...any references/guidance here in setting group parameters like that in a user macro?


author: Davin Studer
body: Check my edit above.
Automatically update changes in a filepath in Dropbox
Asked by Dillon Lambe:

Hey guys,

So I'm creating a page that documents all of the file paths that we have in Dropbox. However, every week or so a folder in the file path is changed, but all of the filenames are the same. So I have to change 12-01 to 12-15, for instance. I don't want to have to do this manually.

Is there a potential macro or script I can use in order to do this for me? It would be an invaluable tool for us.


Answers:
author: Justin Justin
body: WIth AppFusions' Dropbox in Confluence, you can embed the Dropbox directories in your Confluence page (and navigate up and down them, preview, etc), so if the name of the path or folder changes (or any files), it would also be updated dynamically in the embedded directory. Get an eval here:

<http://www.appfusions.com/display/DRPBXC/Home>

comments: author: Dillon Lambe
body: Hey Justin,Will AppFusion change the directory on its own if I create a new folder. For instance, my initial folder is thisC:\\Documents\\12-1\\Folder2And now that is out of date. Our new project will be in:C:\\Documents\\12-15\\Folder2Will AppFusion change the filepath in Confluence automatically when this happens, or will I need to manually update the filepath each time we make a new project folder? Everything remains the same in the filepath except for the date, which changes to the new project date.


author: Justin Justin
body: Dillon - Let me try to clarify. Renaming files that you've shared a link to with others will break the link. Visitors to the link will receive an error informing them that the link is no longer active. To resume sharing the file, you'll have to give the file its original name or create a new link. At the UX level, the easiest way is just re-inserting the macro in the page. That said, you can embed full Dropbox directory structures into Confluence, and if you renamed a folder in Dropbox, the newly renamed folder would display as appropriate. I hope that was not too confusing. I think the best way to understand this is to try it and see if meets needs. Email info@appfusions.com for free evaluation.
confluence Menus & Tabs empty
Asked by Paul DeSousa:

I am running Standalone confluence 5.6.3 and I noticed that in the administration there is a great feature under look and feel called Menu \& Tabs. One of my favorite things about Atlassian products are how customizable they are, and this was yet another convenient way to customize. Yet when I went into the Menu \& Tabs windows it was completely blank? It simply had "Control which menu items and tabs are enabled or disabled in Confluence, all from one handy screen." and an Expand All \| Collapse All with nothing to expand or collapse?

I am fairly sure it is not a permissions thing as I installed Confluence and am the administrator. Anyone know how to get this to be able to customize Menus \& Tabs?


Answers:
author: Paul DeSousa
body: This is the same for version 5.7.1 and I still have not found any good documentation what this is used for or how I can adjust menus and tabs with this control. To access I go to \* -\> General Configuration -\> LOOK AND FEEL -\> Menus \& Tabs
knowledge base survey translation
Asked by PascalH:

How can I translate Yes/No in french in the Knowledge base survey plugin?


Answers:
author: PascalH
body: Hi Davin, thanks a lot for this tip but it doesn't work for us. We are a french university who must propose french language by default. It should be easy to change thoses two words in the code I guess.


author: Davin Studer
body: If you get the [InProduct Translation for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.translations.confluence.inproduct) add-on you can do this. Swicth on translation mode by going to you profile picture and click on Switch on Translations. Then hover over the yes (don't click) till the "Translate this" button shows up. Then click the translate button and make your translation. Do the same for the no button as well.

Voil?! C'est bien, non?

image2014-11-21 15:39:25.png  
[](https://community.atlassian.com/t5/Confluence-questions/knowledge-base-survey-translation/qaq-p/310066?attachment-id=4379){#link_118927d99d178f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/52374/1/image2014-11-21%2015%3A39%3A25.png){#display_118927d99d178f_0}  
[](https://community.atlassian.com/t5/Confluence-questions/knowledge-base-survey-translation/qaq-p/310066?attachment-id=4380){#link_118927d99d178f_0}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/52374/2/image2014-11-21%2015%3A38%3A24.png){#display_118927d99d178f_2}

comments: author: Davin Studer
body: Did this work for you?


Tags: confluence-administration
Is there in Confluence the possibily to program a reminder or an alarm to remind to user to update a document every month for example? Thanks
Asked by Udaya L?ost:


Answers:
author: Katie Maynard
body: Hi Udaya,

We have the same need. We are looking into the Archiving Plugin for Confluence. We are testing it out in our Dev environment. You can set the review doc reminder on your labeling structure as well as other options. I suggest taking a look at that plugin.

Hope this helps. Katie

comments: author: Midori
body: Yes, Archiving Plugin does exactly this. Here is the link: <https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving>
Confluence don't work from other computer
Asked by Jiri Pisk:

Hi All,

I have problem with confluence. I install confluence on Red Hat 6 from tar archive and if i try connect to confluence from localhost is all OK. But if i try connect from other computer, then browser say "The connection to the server was reset while the page was loading".

Firewall is disable and SElinux too. I configure for testing confluence on port 80, because this is allow port between server and other computer.

For test if port is OK i try start Apache (off course not with confluence at the same time) and all is working correctly.

Thanks for Answer.

Jiri Pisk


Answers:
author: Rodrigo Girardi Adami
body: Hi Jiri,

It seems that the network is playing some role here. Are you able to telnet the IP of confluence server and the port 80 and check if other computers can reach the URL?

If they are not reachable, then you are facing some network blocking rule in the environment.

I suggest to check if they are reachable between other servers.

Cheers,

Rodrigo


author: Jiri Pisk
body: SQL server 2012


author: Davin Studer
body: What db are you using?


Tags: confluence-administration
Where are localised the Confluence's datacenters?
Asked by Udaya L?ost:

I would like to know where are the confluence's datacenters and what are the guarantees of confluence regarding security for the cloud and the commercial license


Answers:
author: Nic Brough -Adaptavist-
body: See <https://www.atlassian.com/hosted/security>

comments: author: Udaya L?ost
body: Thanks a lot


Tags: cloud

confluence-cloud
Conference Feature Timeline
Asked by Dave Stewart:

Hi,

When I was at the conference in San Jose, there were some new features demonstrated concerning Confluence and attachments. Are these available yet, if not when can we expect them? I'm also interested in the collaboration piece described where changes could be tracked similarly to Word.

Thank you.


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Confluence 5.7 now has the ability to attach a file multiple times are store each file as a different version:

image2015-2-11 13:57:3.png

Check out the release notes here:

<https://confluence.atlassian.com/display/DOC/Confluence+Release+Notes>  
[](https://community.atlassian.com/t5/Confluence-questions/Conference-Feature-Timeline/qaq-p/308789?attachment-id=12472){#link_11892830234a29}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/52134/1/image2015-2-11%2013%3A57%3A3.png){#display_11892830234a29_0}


Tags: questions-for-confluence

roadmap
Force upgrade of templates
Asked by Frode Skjerli:

We are upgrading a server from Confluence 3.5.5 to 5.x going thru 5.0.3 to convert pages and page-templates.

We experience that some of the content are not fully converted (unmigrated). These pages are adjusted to the best of our knowledge and we make a new run with the relevant upgrade tasks here

Confluence Address/admin/force-upgrade.action

It seems to be working ok for regular pages but the **pageTemplateWikiToXhtmlMigrationUpgradeTask** seems to be doing nothing and the logs states that there are 0 candidates for upgrade.

Is there a way to make sure that the command actually handles the modified page-templates and make a new conversion attempt?

Thanks for any help!


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Frode, assuming here you are using the [Migration to Wiki Markup to XHTML.. page](https://confluence.atlassian.com/display/DOC/Migration+from+Wiki+Markup+to+XHTML-Based+Storage+Format#MigrationfromWikiMarkuptoXHTML-BasedStorageFormat-Watchingthemigrationlogsduringtheupgrade) as guidance, search the logs for *WikiToXhtmlMigrationThread* after triggering the force migration. Also make sure that any macros that are in the page that are not bundled are removed, backing up the content in a separate text document.

As a follow up to the actions above, please post an image of your current templates that are not being migrated should the issue persist.

Hope this can help.


Tags: confluence-administration
I'm an administrator and I can't see the spaces created by my teammates...what could cause this problem?
Asked by David Van Hartskamp:

hello, we just started with confluence. I'm the administrator and the only spaces I can see are the spaces I have created myself. I can't see the spaces created by my teammates. My teammates can see all the spaces. What could cause this problem?


Answers:
author: Peter Bengov
body: Maybe the default space permissions don't have all admins there as default. Go to` /admin/permissions/viewdefaultspacepermissions.action` (Cog \> Admin \> Space Permissions) and see what are the settings. After that, make sure you are indeed part of the groups set on **Default Space Permissions**.

comments: author: David Van Hartskamp
body: Thanks! You solved my problem! :-)


author: Peter Bengov
body: Great. Happy to help


author: Mike Ly x9050
body: Hi Peter,I am on the trial version and my account can no see anyone's spaces. I am the main administrator that setup the whole thing. I also do not have space permission in my settings. I granted access to all my groups and I still don't have access to view all spaces documents created by my group.


author: Gustavo Moura
body: When I try to get to that address I get the following error.

You do not have permission to access /admin/permissions/viewdefaultspacepermissions.action. To access this page, please log in as a user with sufficient permissions.

I currently have the most administrative privileges


author: Katie Maynard
body: Hi David, Are you a Confluence Admin or a Space Admin in Confluence?


Tags: cloud

confluence-cloud
How do I change a Content from Page to Meeting notes/How to article?
Asked by Callista Chuah:

I started a Page using the 'Blank Page' template. Is it possible to change to a different content type eg. 'Meeting notes' or 'How to article'?


Answers:
author: Rodrigo Girardi Adami
body: Hi callista,

I believe there's no way to accomplish that. Confluence have created the page with the blueprint and from what I could search, there's no bundled functionality to change a page to use another blueprint after it was created.

I've created this improvement to you: <https://jira.atlassian.com/browse/CONF-35712>

I suggest to vote and comment there to increase popularity.

As a workaround, you could create the new page using the template you want and just copy and paste the contents of the old page to the new one.

Cheers,

Rodrigo


author: Davin Studer
body: Really once the blueprint page is created for these the way it is distinguished as one of those pages is by the label on the page. So, if you just give it the correct label then it should be picked up the blueprint index page.


author: nossrepasil
body: Hello, Davin

Thanks for this tip. But could you please let us know that label to put. :smile:

In our Confluence we have many How to explanations but they have been created as blank pages. Hence, they don't turn up in the list of How to articles. Do I understand you correctly that by putting a specific label on the page, it will turn up in the list of How To:s?

So what is this magic label to get even the blank pages in the list?

Thanks,

Lisa

Hello again, I have found the answer, I think. In our Confluence at least, labelling a page "kb-how-to-article" makes it appear in the list of How to articles.

comments: author: Steven Bell
body: All that was needed was to place the label \`kb-how-to-article\` on the page to have it be listed in the How-to article list.


Tags: cloud

confluence-cloud
Including date macros / velocity variables in templates in cloud confluence
Asked by Andrew Headrick:

I am trying to create multiple types of meeting notes templates in cloud confluence. It would be great if I could clone templates but that does not seem to be possible. When I look at the Meeting Notes template there is a "$currentDateLozenge" variable which renders the current date and widget to change it. I have tried to put that into a template I create but it never works.

Any pointers?

Thanks


Answers:
author: Andrew Headrick
body: I think in order to add a date widget you need to have access to the velocity template which you don't get in the cloud product. You need a dedicated install for that. I'm not sure about that as I can't find it documented anywhere and can't find an answer here. From my observations, Atlassian Answers seems to be where questions go to die.


author: Shayne Muelling
body: bump - this is still not working


author: Christian de Bellefeuille
body: Hi there!  

See this:   

["$currentDate" \& "$currentUser"](https://community.atlassian.com/t5/Confluence-questions/quot-currentDate-quot-quot-currentUser-quot/qaq-p/358321)

comments: author: Christian de Bellefeuille
body: they are explaining variable. And this variable seems to be usable within the TITLE of the note. I've not tried it myself, but i would seriously doubt that it work. Variables begin with @, but auto-filled variables usually start with a $.


author: Magnus Lid?n
body: Is there really no answer to this yet?  
Tried to make my own user macro but that only gives the current date, so if I want to change manually I don't get the calendar ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


author: Seth Schommer
body: I had this working a couple weeks ago, but I just tried it again and now it's not. I think I needed to enter a specific character or key combination after entering the date, but now I don't recall what it was.

comments: author: Seth Schommer
body: It looks like typing "//", without the quotes, brings up a date selection widget, but I still can't figure out how to get the current date in automatically when a new page is created from a template that includes "$currentDateLozenge".


author: qingpei wang
body: is there anyway to do the same thing by dedicated install confluence?

I want to do the same things as @[Andrew Headrick](https://answers.atlassian.com/questions/users?username=andrew33) wanted


author: Holger Offermanns
body: I just wanted to do the exact same thing. it doesn't work for me as well. Could someone explain what i am doing wrong, or is it just not working?

Cheers


Tags: cloud

confluence-cloud
How to get list of the used macros?
Asked by Tony Montana:

Hi peoples! Please, tell me analogue these plugins for Confluence 4 and above

<https://marketplace.atlassian.com/plugins/com.comalatech.macrostats>

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.macro-usage>


Answers:
author: jing_hwa_cheok
body: Hi Viktar,

This topic has been previously discussed in here <https://answers.atlassian.com/questions/155280/scan-confluence-instance-for-macro-usage> .

<br />

Hope you find it useful!   

Regards,

Jing Hwa


Tags: confluence-administration

list
For Confluence Cloud, how do I find the total number of pages?
Asked by Jason Day:

We are using the on demand solution for Confluence, and I would like to have some basic statistics about our instance:

* total number of users
* number of spaces
* total number of pages
* "active" users
* etc.


Answers:
author: K. Yamamoto
body: Hi Jason,

[Confluence Cloud REST API](https://docs.atlassian.com/confluence/REST/latest/#space-spaces) would work for you.

For example, you can retrieve some stats as below.

```
A_USER="admin"A_PASSWD="__YOUR_PASSWORD_HERE__"INSTANCE_HOST="__YOUR_SUBDOMAIN_HERE__.atlassian.net"# Total number of pagescurl -sGLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/search" --data-urlencode 'cql=type IN (blogpost, page)' --data-urlencode 'limit=0' | jq '.totalSize'?# Total number of userscurl -sLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/group/confluence-users/member?limit=1000" | jq '.size'?# Number of spaces (Assumed to be less than 1000)curl -sLu ${A_USER}:${A_PASSWD} "https://${INSTANCE_HOST}/wiki/rest/api/space?limit=1000" | jq '.size'
```

Note: See <https://stedolan.github.io/jq/> to know what is `jq` (it's totally optional to query the REST API).

<br />

Cheers!

comments: author: liteyear
body: Note using a password is now deprecated. The fix is simple - just replace A_PASSWD with a token. See <https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/>


author: Mauro Badii
body: Hi Jason,

Number of users information can be gathered from the User Management section. Application Access will show how many users are activated for the instance and the time of last login will help you determine which ones haven't been active.

Number of Spaces can be estimated from the Space directory but there is no statistics enabled for Cloud administrators at the moment. Number of Pages (content) is also restricted to System Administrators at the moment.

We could create a Feature Request at jira.atlassian.com asking for this statistics to be added to an admin section. Please let us know how you use this information so we can provide some context and if more people are in the same situation, it can be worked addressed.

For the moment, feel free to request that information to the OnDemand Team at support.atlassian.com that will be happy to provide it to you. :smile:

Cheers!

comments: author: Andreas
body: I would definitely vote on a feature request regarding statistics in ondemand admin :)


author: Hariprasad Narnavaram
body: i'm using Confluence Cloud annual subscription and If i have to increase the number of users in between. Is it possible ??


Tags: cloud

confluence-cloud

report
How i can restore a deleted spa?e in confluence ?
Asked by xattab:

How i can restore a deleted spase in confluence. I have a standart confluence backup


Answers:
author: Steve Gerstner [bridgingIT]
body: 1. Create a new instance of the same confluence version
2. Restore your backup in this new instance
3. Export your deleted space from the new instance
4. Import your space-backup via the restore feature in your original confluence instance.
5. Rebuild the index

Regards

Steve


Tags: confluence-administration