youngmon/atlassian-qna huggingface dataset:
When I click a Space, it goes to either the space overview or pages list, why not same place?
Asked by Casey Elmore:

When I click a Space sometimes it brings me to the space overview page and sometimes it goes to the pages list. Why isn't it going to the space overview page?


Answers:
author: Stephen Deutsch
body: Hi Casey,

Confluence tries to be "helpful" and remember your place, so the last place you clicked will be the page that you are redirected to. There doesn't seem to be any option to change this functionality as of yet.


author: Thomas Schlegel
body: Hi Casey,

where do you click the space?

comments: author: Casey Elmore
body: I am on the home page and then click spaces, I view the list of all of my spaces and some of them are linking to the default space page, and some of them are going straight to the pages view of the space.

This also happens when I am on a space page and click another space in the side bar.

![pages.png](https://community.atlassian.com/t5/image/serverpage/image-id/5454i01D0618E1C34C5E3/image-dimensions/676x354?v=v2 "pages.png")


author: Sabina Horrocks
body: I'm running into the same problem. I would like when a user clicks on a Space List if it would take them to the Overview page instead of the Pages list.


author: Roy Youngman
body: I couldn't agree more. Someone at Atlassian seems to think they can read minds of users and direct them where they want to go. But it is not working because I never want to go to the "Pages" view and would love it if I could restrict that view so only a specific group can view it. It is **ugly** and not at all a warm welcome to a space. It is also confusing to users who don't know why sometimes they get to the home page and why some other times they don't. It is also rarely useful. I have to know exactly what page I'm looking for and where it is in the hierarchy to get any value out of it. If all my recent activity is on the Home Page, and that's what I want to look at, I have to fumble around to even get to the Home Page at this point. How about it Atlassian? Why can't all navigation into a Space without reference to a specific page take you to the Home Page of that space? What could be simpler and why did you change it? Its been that way in every release before this one? Why give us the ability to customize a home page and then not land users on it? Who made such a blunder of design and why do they still have a job?

Sorry for the rant, but as a guy who has recommended Confluence to clients for 7 years, I am embarrassed! ;-(

... while I'm on a roll: Why is the "Pages" link on the sidebar fixed and not customize-able like in all previous releases? Someone must have a real love-affair with that **ugly** Pages view even though it is not at all customize-able, has little use in a space with several hundred or thousand pages, and could easily be created within a page that is custom created by anyone who wants to show a tree of all the pages. Come on, please, PLEASE stop the insanity and give us back the controls to make your product effective!

Sorry again for the second rant.


Tags: overview

page

space
Confluence System Requirements
Asked by Arch Fiend:

Hi,

We have already installed JIRA on our server and it is up and running. We want to install Confluence and this is the memory information that is being displayed for free -h

![Capture.PNG](/t5/image/serverpage/image-id/5411i156812C70C8A5923/image-size/large?v=v2&px=999 "Capture.PNG")

We have 7 users at the moment. Will the memory be enough for installing Confluence.

Thanks.


Answers:
author: Thomas Schlegel
body: Hi Arch,

you can find the system requirements here:

<https://confluence.atlassian.com/doc/system-requirements-126517514.html>

comments: author: Arch Fiend
body: Hi Thomas,

Thank you for your reply :) , I am sort of new to server handling, and I read the [Server Hardware Requirements Guide](https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html). When I SSHd this morning it displayed \~300M as free in -/+ buffers/cache:. Was wondering whether this'd be enough for Confluence.

Thanks.


author: AnnWorley
body: It is late in Thomas's country so I would like to help.

Confluence 6 and above require at least 2GB of memory (1024 for Confluence and 1024 for Collaborative editing) so I think you will need more on that server before installing Confluence.


author: Arch Fiend
body: Hi Ann,

Thank you for replying. I just wanted to verify this from the Atlassian Community, I'll see what I can do. Thanks again :)


author: Thomas Schlegel
body: Thank you for your help, [@AnnWorley](/t5/user/viewprofilepage/user-id/502040)
PDF Search inside a confluence page exists?!
Asked by LudOwandErlust:

Hello,

from a confluence page,

when I attach a pdf file and open it in any browsers

the document is displayed correctly.

The problem is that there's no search function (or even the popular shortcut command CTRL+F) does not exist.

Thanks already

Cheers  
L


Answers:
author: Thomas Hayde
body: I cannot search a PDF previewed in browser aswell which makes our usecase laborious (tested chrome and firefox). It is quite awkward to find something via confluence search within a pdf \> but then having to preview it \> then download it (or open in new tab) to \> search within the document (again).

vote: <https://jira.atlassian.com/browse/CONFSERVER-40333?_ga=2.148017591.1615391209.1564674789-1700414533.1560851559>


author: James McLean
body: Not working for me on MacOS. Not in either Firefox or Chrome. Any help?

If there were any way to access this functionality besides a keystroke, I could at least confirm whether the feature is missing, or whether I am just having difficulty accessing it.

Just checked: not working in Windows either. Did something change?


author: Menno Manheim
body: Also trying to search while viewing an attached PDF document. Ctrl+F does not work, at least not in Google Chrome, and there is no magnifier class to click on. Having to download is a bit stupid, don't you think?


author: Thomas Schlegel
body: Hi,

which Browser do you use? In Chrome, CTRL+F is working fine with the displayed PDF.

comments: author: LudOwandErlust
body: Hi Thomas,

yep it works to me as well.

I noticed that it was a keyboard's keystroke problem.

Sorry for that!

Thx u

Ludo


author: Thomas Schlegel
body: No problem, you're welcome :-)


Tags: pdf

search
How to generate macro id
Asked by Paz Grimberg:

Hi,

Im working on a script listener that need to auto create a page with unknown number of MultiExerpts Include macros (the listener runs aftar 'lable added' and reads the data from the page related to the event - contains excerpts).

Im having a problem to create the new macros and my assumption is that i need to generate macro id for each.

Waiting for your advise

```
? for(def m=0; m < MultiExcerptNames.size(); m++){
 def Temp = '<p><ac:structured-macro ac:name="multiexcerpt-include" ac:schema-version="1" ac:macro-id="2d136aa1-2a89-4d59-a9d3-407d20467b21"><ac:parameter ac:name="MultiExcerptName">pub_domain_model</ac:parameter><ac:parameter ac:name="PageWithExcerpt"><ac:link><ri:page ri:space-key="TM" ri:content-title="test" /></ac:link></ac:parameter></ac:structured-macro></p></ac:layout-cell><ac:layout-cell><p><br /></p></ac:layout-cell></ac:layout-section></ac:layout>'
 Temp = Temp.replace('ri:content-title="test"', 'ri:content-title="'+MicroServicePage.title.toString()+'"')
 Temp = Temp.replace('2d136aa1-2a89-4d59-a9d3-407d20467b21',(MacroId) new MacroId)
 Temp = Temp.replace('ac:name="MultiExcerptName">pub_domain_model</ac:parameter>', 'ac:name="MultiExcerptName">'+MultiExcerptNames[m].toString()+'</ac:parameter>')
 Temp = Temp.replace('ri:space-key="TM"', 'ri:space-key="'+MicroServiceSpace+'"')
 TechPubPageContent = TechPubPageContent + Temp.toString() 
 }

 def TechPubPage = new Page(title: MicroServicePage.title , bodyAsString: TechPubPageContent ,space: TechPubSpace , parentPage: parentPage) 
 pageManager.saveContentEntity(TechPubPage, DefaultSaveContext.DEFAULT)
 pageManager.saveContentEntity(TechPubPage, DefaultSaveContext.MINOR_EDIT)
```


Answers:
author: Paz Grimberg
body: ignore this comment


Tags: macro

script-listener

scriptrunner
Problems with "edit document" and Word 2016
Asked by Stefan B?ttner:

I can't open .doc documents with the function "edit document" when Word 2016 ist installed on the client. The same document can be opened and changed with Word 2013 without problems. Do I have to change settings in word 2016?


Answers:
author: Shannon S
body: Hi Stefan,

Office 2016 is not yet officially supported in Edit in Office. Have a look here at this feature request:

* [CONFSERVER-38024](https://jira.atlassian.com/browse/CONFSERVER-38024)

Have a look at our [Office Connector Prerequisites](https://confluence.atlassian.com/doc/office-connector-prerequisites-170493096.html) for more information.

I have heard a few users that have been able to get this to work - do you receive an error message when you attempt to open the document?

Kind Regards,  
Shannon

comments: author: Stefan B?ttner
body: Hi Shannon,

the message i receive ist "the file couldn't be opened"

![confluence_edit_dokument.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/5619iA764310DA377E68F/image-size/large?v=v2&px=999 "confluence_edit_dokument.PNG")


author: Shannon S
body: Thank you, Stefan,

You can try the following, suggested from the improvement request:
> In Word or Excel, whichever you're using, go to File\>Options\>Trust Center\>Trust Center Settings\>Protected View, and deselect the 3 boxes you find there.

You could also take the URL of the document from Confluence, and paste it in the Run menu on Windows. This may allow you to edit the file but you'll still need to save it locally and upload since indeed Office 2016 is not supported.

Kind Regards,  
Shannon


author: Matthew Griset
body: Confluence edit of Microsoft documents has been working for months until yesterday... Now, I am having the issue when trying to edit, the circle (image below) just continues to spin without end.

![Confluence_Not_Open_File_circle.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/26929i2EAA4076D9561477/image-size/large?v=v2&px=999 "Confluence_Not_Open_File_circle.JPG")


author: Shannon S
body: Matthew,

You'll want to check your Confluence server logs to see what's going on there. If you're using Confluence Cloud you'll need to [raise a support ticket](https://support.atlassian.com/contact/#/) so we can look at your logs for you.

Shannon
migrating H2 database to postgres
Asked by Karl Sommer:

Hello. I get the dialog to change the confluence database from H2 to another because we are using it in a productive environment now. Searching the internet an trying some hours I gave up and keep the H2 database now. Are there documents how this can be done?

Best regards

Karl Sommer


Answers:
author: Nic Brough -Adaptavist-
body: <https://confluence.atlassian.com/doc/migrating-to-another-database-148867.html> is the first hit on every search engine I've tried.
Set Up the Eclipse IDE for mac
Asked by Gobi:

After configured the maven eclipse plugin in eclipse IDE I ran the "atlas-mvn eclipse:eclipse" and the project build was successfull. But when I try to import the plugin project into eclipse I got the following errors in pom.xml
>
> ```
> Missing artifact com.atlassian.confluence:confluence:jar:5.9.2 pom.xml /CreatelyConfluence line 35 Maven Dependency Problem
> Missing artifact com.atlassian.confluence.plugin:func-test:jar:2.3 pom.xml /CreatelyConfluence line 41 Maven Dependency Problem
> Missing artifact com.atlassian.plugins:atlassian-plugins-api:jar:4.0.4 pom.xml /CreatelyConfluence line 141 Maven Dependency Problem
> Missing artifact com.atlassian.sal:sal-api:jar:3.0.0 pom.xml /CreatelyConfluence line 77 Maven Dependency Problem
> Missing artifact com.atlassian.templaterenderer:atlassian-template-renderer-api:jar:2.0.0 pom.xml /CreatelyConfluence line 83 Maven Dependency Problem
> Missing artifact com.atlassian.upm:atlassian-universal-plugin-manager-plugin:jar:2.19.1 pom.xml /CreatelyConfluence line 134 Maven Dependency Problem
> Missing artifact com.atlassian.upm:licensing-api:jar:2.19.1 pom.xml /CreatelyConfluence line 65 Maven Dependency Problem
> Missing artifact com.atlassian.upm:plugin-license-storage-lib:jar:2.19.1 pom.xml /CreatelyConfluence line 59 Maven Dependency Problem
> Missing artifact com.atlassian.upm:upm-api:jar:2.19.1 pom.xml /CreatelyConfluence line 71 Maven Dependency Problem
> Project build error: Non-resolvable import POM: Failure to find com.atlassian.confluence:confluence-plugins-platform-pom:pom:5.9.2 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced pom.xml /CreatelyConfluence line 18 Maven pom Loading Problem
> Project build error: Unknown packaging: atlassian-plugin pom.xml /CreatelyConfluence line 14 Maven pom Loading Problem
> Project build error: Unresolveable build extension: Plugin com.atlassian.maven.plugins:maven-confluence-plugin:6.1.0 or one of its dependencies could not be resolved: Failure to find com.atlassian.maven.plugins:maven-confluence-plugin:jar:6.1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced pom.xml /CreatelyConfluence line 1 Maven pom Loading Problem
> ```

Can you suggest a way to include these missing jars into the project


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Gobi](/t5/user/viewprofilepage/user-id/681633) ,

please check that link to maven setting.xml file is correct. For further info check the follwoing link <https://stackoverflow.com/questions/22481931/how-to-fix-maven-maven-configuration-and-maven-dependency-problems-in-eclipse>

Fabio


Tags: confluence-app

confluence-development

questions-for-confluence
It takes too long to read create template.
Asked by JongBum Lee:

Dear All.

When I press create button in my confluence, it takes too long to read the template. (More than 15 seconds)

The follow Rest API take about 15 seconds from the network monitoring. Is there any way to improve performance?

/rest/create-dialog/1.0/blueprints/web-items?spaceKey=

Thanks.

Best Regrads.


Answers:
author: ewelinapastuszka
body: Did someone find a solution for this problem?


author: Shannon S
body: Hi JongBum Lee,

You can record a HAR file to find out what exactly is going on in the background to help you to troubleshoot the performance issue. Have a look at [Generating HAR files and analyzing web requests](https://confluence.atlassian.com/kb/generating-har-files-and-analyzing-web-requests-720420612.html). A web tool such as [this online HAR Viewer](http://www.softwareishard.com/har/viewer/) will allow you to determine which specific requests are taking the longest.

Let us know if you have any trouble.

Kind Regards,  
Shannon


Tags: confluence-administration
How to Migrate confluence from ubuntu 12.04 to 16.04
Asked by jobinjames:

Hi,

Our confluence is running on ubuntu 12.04 and we have plan to migrate our server to 16.04. Our database size is appriximately 10GB. What is the best way to do the migration.


Answers:
author: Nic Brough -Adaptavist-
body: Start with <https://confluence.atlassian.com/doc/migrating-confluence-between-servers-184150.html>

You'll be able to skip a lot of it, as you probably aren't going to convert databases or operating system (much)

comments: author: jobinjames
body: Thanks
Confluence editor stops working when setting JVM timezone
Asked by Nguyen Tran:

<https://confluence.atlassian.com/kb/setting-the-timezone-for-the-java-environment-841187402.html>

After I change the JVM timezone using the parameter, the time is now correctly displayed. However, the editor has stopped working and it throws the "The editor is taking too long to load ..." error

Anyone know how to fix this?


Answers:
author: AnnWorley
body: I have a hunch we need to also set the time zone for Synchrony, which controls collaborative editing. The time zone isn't passed to the Synchrony JVM from the Confluence JVM. Please see [Allow JVM args to be passed to Synchrony.](https://jira.atlassian.com/browse/CONFSERVER-45083)

Please try setting the time zone in the \<confluence_home\>/synchrony-args.properties file and restarting Confluence to pick up the change. Note: The \<confluence_home\> directory is the path defined in the following file: \<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties

I look forward to hearing whether the editor works after you set the time zone for Synchrony to match what you set for the Confluence JVM.

comments: author: Nguyen Tran
body: I have been able to make the editor work by enable synchrony-proxy in the nginx setting file and inside the setenv.sh file, plus adding the -Duser.timezone parameter inside setenv.sh as instructed in this [article](https://confluence.atlassian.com/adminjiraserver073/setting-properties-and-options-on-startup-861253969.html).


Tags: synchrony
can i configure a autogenerate number on each page we created in confluence space?
Asked by 3LC Service Desk Support:

How can i configure if we want to have a running number on every page or blog we created in confluence? I.e KB 0001 how to troubleshooting printer offline etc?


Answers:
author: James Dellow
body: See [this past question](https://community.atlassian.com/t5/Answers-Developer-Questions/How-can-I-automatically-create-numbered-pages-with-confluence-e/qaq-p/563318) for a possible solution for Confluece server. However, I'm not aware of an equivalent solution for cloud right now.


Tags: number

questions-for-confluence
Can't put link or tags in a User-macro panel heading
Asked by Shawn Wilson:

My user macro uses this code to insert a panel:

```
<ac:macro ac:name="panel">
??????? <ac:parameter ac:name="titleBGColor">lightyellow</ac:parameter>
??????? <ac:parameter ac:name="borderStyle">solid</ac:parameter>
??????? <ac:parameter ac:name="borderColor">#6699CC</ac:parameter>
??????? <ac:parameter ac:name="borderWidth">1</ac:parameter>
??????? <ac:parameter ac:name="titleColor">#000000</ac:parameter>
?????? <ac:parameter ac:name="title">This is a link to "$!contentTitle" in the $spacetitle.</ac:parameter>
???    <ac:rich-text-body>
????????????? Stuff
       </ac:rich-text-body>
</ac:macro>
```

I'd like the "title" to contain a link to another page, but when I put in a link, it doesn't appear (nor does any of the text after it). The same thing occurses if I try to format the title text with \<em\> or \<strong\> tags.


Answers:
author: Stephen Deutsch
body: Hi Shawn,

The title attribute only accepts text, so you can't include any HTML tags and expect that they will be processed.

If you really need to have a link, what I would recommend is to leave out the title completely and just simulate it with HTML in the rich-text-body.


Tags: user-macro
Confluence - User Macros
Asked by AccountName:AIB:

I have a big block of HTML code within the HTML macro. I would like to know and understand how to take this block of HTML code and turn it into the content of a user macro. Also, I want users to be able to edit the macro content once they include it on a page.

I look forward to your responses.


Answers:
author: Ana Retamal
body: Hi! The macro content is not editable by other user than the admin. You can get inspiration from the examples in [this article](https://confluence.atlassian.com/conf53/examples-of-user-macros-411108916.html) for the conversion, but if you want to have the input capability for the user macro, you'll need to write a plugin for that.

Hope that helps!

Ana
I am using Cloud version of Confluence. Can I recover a deleted attachment ?
Asked by Peter Felice:

I just deleted an attachement and would really like to get it back as I did not realize it deleted all of the previous vesions of the attachement. We are using the attachment macro on the confluence page.


Answers:
author: AnnWorley
body: Your space administrator should be able to retrieve the deleted attachment from Space Tools\> Content Tools\> Trash tab.

comments: author: Peter Felice
body: Thank you Ann that is awesome.
User Activity History
Asked by Michael Peelman:

I'm wondering if there is a way to get more comprehensive user history somewhere. For example, if a manager wants to view a user's activity to gauge productivity. I can go to a user's profile and see maybe 10 things in their most recent activity, but it doesn't seem to be all-inclusive. Is there any way to see a complete list of user activity, or is that not tracked?

We are on a cloud-hosted Confluence instance. I did a search and some plugins and add-ons were recommended, but they seemed like old answers and applied to a self-hosted solution.


Answers:
author: AnnWorley
body: Hi Michael,

User activity is not tracked by default in Confluence but you can use a third party plugin for Cloud, like [Analytics for Confluence Cloud](https://marketplace.atlassian.com/plugins/com.addonengine.analytics/cloud/overview).

I look forward to hearing how you decide to proceed.

Thanks,

Ann
How to link to Space home in User Macro?
Asked by Shawn Wilson:

This macro lets you enter a page name, and prints "This is the \<Page Name\> page in the \<Space Name\> space"

```
## @param PageToInclude:title=Page to Include|type=confluence-content|required=true|desc=To specify a page in a different space, use SPACEKEY:Page Title.

#if ( $paramPageToInclude.indexOf(":") == -1 )
? #set ( $spaceKey = $space.key )
? #set ( $contentTitle = $paramPageToInclude)
#else
? #foreach ( $part in $paramPageToInclude.split(":") )
??? #set ( $spaceKey = $part )
??? #break
? #end
? #foreach ( $part in $paramPageToInclude.split(":") )
??? #set ( $contentTitle = $part )
? #end
#end


<br>
This is the 
<ac:link>
??? <ri:page ri:content-title="$!contentTitle" ri:space-key="$spaceKey"/> $!contentTitle
</ac:link> 
page in the
???? $spaceManager.getSpace($spaceKey).getName()
space.

```

The \<PageName\> line is a link to the page, and it works. The \<SpaceName\> displays the name of the space correctly. But when I try to make the \<SpaceName\> line into a link, like this:

```
<ac:link>
??? <ri:page ri:content-title=$spaceManager.getSpace($spaceKey).getName()> 
</ac:link>
```

...it doesn't show the full name. For instance, it says "Testing" instead of the correct name, "Testing Space", and of course the link it creates is dead.


Answers:
author: Stephen Deutsch
body: Confluence and Velocity don't have a built in way of linking to a page without showing the page name. Therefore, you have to build the link yourself:

```
## @param PageToInclude:title=Page to Include|type=confluence-content|required=true|desc=To specify a page in a different space, use SPACEKEY:Page Title.

#if ( $paramPageToInclude.indexOf(":") == -1 )
  #set ( $spaceKey = $space.key )
  #set ( $contentTitle = $paramPageToInclude)
#else
  #foreach ( $part in $paramPageToInclude.split(":") )
    #set ( $spaceKey = $part )
    #break
  #end
  #foreach ( $part in $paramPageToInclude.split(":") )
    #set ( $contentTitle = $part )
  #end
#end
#set ( $linkSpace = $spaceManager.getSpace($spaceKey) )

<p> </p>
<p> This is the 
   <ac:link>
     <ri:page ri:content-title="$!contentTitle" ri:space-key="$spaceKey"/>
   </ac:link>
 page in the 
   <a href="$linkSpace.homePage.urlPath"> $linkSpace.name </a> 
 space. 
</p>
```

comments: author: Shawn Wilson
body: That works. Thanks!

One question: What's the difference between ".name" (which you used) and ".getname" (which I had used)?


author: Stephen Deutsch
body: Hi Shawn,

It's exactly the same. Velocity has a name-shortening shortcut built in, so if you have a procedure with no parameters (like .getName()) then you can refer to it without the get and make the first capital letter small (.name) and it will refer to the same thing.


Tags: user-macro