youngmon/atlassian-qna huggingface dataset:
Pages Button Dissapeared
Asked by Daniel Wilczynski:

There used to be a 'Page' Button on the left side bar. Next to blog and overview.

Clicking it would display the pages for the space.

It disappeared for me. How do I get it back.

![SOPs - Confluence.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/21758i0FE64ED6CE9806E8/image-size/large?v=v2&px=999 "SOPs - Confluence.jpg")


Answers:
author: AnnWorley
body: Hi Daniel,

I am not sure how that button could have disappeared. Here is my Cloud screen shot of the pages button:

![Screen Shot 2018-05-10 at 4.46.09 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/21755i96ED70BD083ED338/image-dimensions/324x383?v=v2 "Screen Shot 2018-05-10 at 4.46.09 PM.png")

Could you post what you see on the front page of a space on your Cloud instance?

Thanks,

Ann

comments: author: AnnWorley
body: Further research revealed that the Pages link was removed and is being added back to Cloud instances in batches, it just hasn't been added back on yours yet. So there is light at the end of the tunnel: [Require Option to have Pages expanded on the Sidebar for the Space view](https://jira.atlassian.com/browse/CONFCLOUD-56841):

**Atlassian Status as of April 24, 2018**  
> Hi all,
>
> Thank you for your continuous patience with this.
>
> We've gradually expanded the rollout of bringing back page tree to sidebar beyond 20% of customers. We're looking to reach 50% in the next 2-3 weeks.
>
> We have a fully dedicated team working on remaining performance issues. Their work will smoothen our path to bringing page tree to the space sidebar for all customers eventually.
>
> We'll provide the next update in the week ending May/11/2018.
>
> Warmly,
>
> Elaine H. \| Confluence Product Manager


Tags: cloud

confluence-cloud
How to Show a Git Log of a File/Folder on the Confluence Wiki?
Asked by Joshua Quesenberry:

Good Afternoon,

Does anyone know of a Confluence Wiki Plugin / Method to show all commits related to a file or folder within a Git repository? I'm currently using plan.io for my repositories, but plan to migrate to GitLab in the future. I'd like to use this as part of a higher-level documentation effort that contains a changelog.

Thanks!

Josh Q


Answers:
author: Joshua Quesenberry
body: Anyone have any ideas? Or is what I'm asking for not possible currently?


Tags: confluence-server

git

server
Macro trying to trigger desired label filter
Asked by Andrew Mills:

Good day all, in our space we have 2 projects. Both projects have a page called Requirements  

X - Requirements  
Y - Requirements  

When ever we want to create a new requirement we build the template add the page and give that page the labels - 'X' or 'Y' and 'requirement'  

Two labels.  

So when we build the macro properties report, we only want to see pages with the labels X or Y + requirements.  

We have the macro, but the label filter is acting as ORs instead of ANDs.   

I expect the pseudo code to be like : Only show pages with the following labels.   
Instead it seems like the language is like: Show me any pages with any of these labels attached to it.  

Is it possible to restrict the filter to only show specific pages that have ALL of the following labels?


Answers:
author: thais
body: Hi, Andrew,

Thank you for detailing the issue.

In order to show only the pages with tags 'requirements' and 'y', for example, please do the following:

1. Double click the Page Properties Report macro.  
2. On the first Label\* box, type the "requirements" label.  
3. Click on 'Add a filter \> choose Label.  
4. Add on this second Label box the other label you want, 'y'.  
5. Click on Preview to check the result.  
6. Click on Insert.

This will make that only the pages with both 'requirements' and 'y' will appear on the results.

Best regards,  
Thais


Tags: macro
Convert Blog Post to Page
Asked by Kathy Landon:

Is there any way to convert an existing Blog post to a Page?


Answers:
author: Avni Barman
body: Hey [@Kathy Landon](/t5/user/viewprofilepage/user-id/1351394), this feature is now available! Check out this [article](https://community.atlassian.com/t5/Confluence-Cloud-articles/New-Convert-any-page-to-a-blog-in-Confluence/ba-p/1668198) I wrote to learn more about how it works.

Cheers,

Avni Barman

Product Manager, Confluence Cloud

comments: author: goncalo_ferraz
body: She's asking the opposite, Avni.


author: Srikanth Ganipisetty
body: Do you have the article about Existing BLOG Post --\> Page?


author: kennyngkk
body: Hi Kathy,

Before we begin, I would like to welcome you to our community. We hope that you are able to belong to our awesome community.

Currently, Confluence does not have such a feature. :(

It looks like the Developer have marked this feature as not fix.

* <https://jira.atlassian.com/browse/CONFSERVER-16142>

However, we do have third party option that has this feature.

* [https://marketplace.atlassian.com/apps/1213130/blog-tools-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1213130/blog-tools-for-confluence?hosting=server&tab=overview)

If you are feeling adventures. You can modify the SQL below to make it work for you. Do make sure you backup your database before proceeding.
> update CONTENT  
> set CONTENTTYPE = 'PAGE',  
> CHILD_POSITION = null,   
> PARENTID = null,   
> PREVVER = null  
> where CONTENTTYPE = 'BLOGPOST'  
> and SPACEID = 12345678  
> AND CONTENTID NOT IN (1, 2)

comments: author: barronkid
body: Could you please verify the SQL command for converting a particular page  
*++from++* **page** ++*to*++ **blogpost**?

I'm thinking it has to go something like this ...

```
update content 
set contenttype = 'BLOGPOST', 
CHILD_POSITION = ??, 
PARENTID = null, 
PREVVER = null
where CONTENTTYPE = 'BLOGPOST'
and SPACEID = 12345678
AND CONTENTID = ##
```

Just wanting to make certain there isn't any other field that needs to be set when going this direction.

Also, is there a link to a documentation of the database structure I might access without going to examine the db itself?

Thanks for your post!

I look forward to your reply.


Tags: blog

cloud

confluence-cloud

page
How to develop a macro that can contain other arbitrary macros
Asked by Al Johnson:

Hi,

Can anyone give any pointers or code sample on how to render from the execute() method my macro body which can contain other macros?

I've tried:

XhtmlContent.convertMacroDefinitionToView()

MacroDefinition.getTransformedBodyStream()

and they, understandably, just skip over the embedded/nested macros in the body of my macro.

I have the v6.6.3 Confluence source code so any pointers as to what classes to look at would be greatly appreciated.

Thanks,

Al


Answers:
author: Al Johnson
body: ```
Well, it wasn't too bad:



 String convertStorageToView = null;
 String body = "";
 try {
 final AtomicReference<MacroDefinition> atomicMacroDefinition = new AtomicReference<>();
 xhtmlUtils.handleMacroDefinitions(page.getBodyAsString(), conversionContext, new MacroDefinitionHandler()
 {
 public void handle(MacroDefinition macroDefinition)
 {
 if(excerptName.equals(macroDefinition.getParameter("ss-name"))) {
 atomicMacroDefinition.set(macroDefinition);
 }
 }
 });
 MacroDefinition foundMacro = atomicMacroDefinition.get();
 if(foundMacro != null) {
 // Note: foundMacro.getBodyText() returns transformed text, not storage format
 String macroStorageFormatBody = Streamables.writeToString(foundMacro.getStorageBodyStream());
 System.out.println("\n\nTRACE macroStorageFormatBody: " + macroStorageFormatBody + "\n\n");
 convertStorageToView = xhtmlUtils.convertStorageToView(macroStorageFormatBody, conversionContext);
 System.out.println("\n\nxhtmlUtils.convertStorageToView(): " + convertStorageToView + "\n\n");
 body = convertStorageToView;
 } else {
 body = "Specified Single Source Include macro not found";
 }
 } catch (Exception e) {
 e.printStackTrace();
 body = e.getMessage();
 }
 
 System.out.println("TRACE body: " + body);
 contextMap.put("body", body);
 return VelocityUtils.getRenderedTemplate(TEMPLATE, contextMap);






?
```


Tags: atl-adm

developer

macro
Put carousel in Confluence's header?
Asked by shadowrunner:

Basically, the company wants to keep the users informed through Confluence  

We would make a carousel of rotating banner pictures that links to confluence pages with various news and happening on the company

They'd want this to be in the header, basically, it would be visible on any pages on confluence, since the users usually just go to their needed project/pages and ignore everything else  

Any plug-in that would allow us to do this?  

Thanks!


Answers:
author: Jonathan Smith
body: [@shadowrunner](/t5/user/viewprofilepage/user-id/1292192)While demoing other functionality, [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence?hosting=server&tab=overview)was nice. Their add-on includes a carousel.

There are other vendors as well: I would suggest searching the marketplace, install the various options in UAT, and evaluate.

comments: author: shadowrunner
body: We already have a carousel, Responsive Carousel works nicely so far  

The issue is it being needed to be specifically in the header as to be visible everywhere in confluence. Also it needs to be able to be clicked to send you to a meatier page.

Or well, if there's a workaround to make it show everywhere else


author: Jonathan Smith
body: Wouldn't mind a blog post carousel as well; users wouldn't need to vertically scroll.


Tags: confluence-app
can we import templates directly from Adobe Frame Maker or Word?
Asked by Vignesh s:

Currently we are doing authoring using Adobe Frame Maker, Xmart, and Word. Is there a possibility that we can import the templates that are being used in these tools to confluence.


Answers:
author: thais
body: Hi, Vignesh,

At this moment, it's not possible importing these templates to Confluence Cloud.

Please consider hiring a [solution partner](https://www.atlassian.com/partners/search?page=1).

Best regards,  
Thais


Tags: cloud

confluence-cloud
Is there a possibility of creating context sensitive help from confluence?
Asked by Vignesh s:

Currently we are doing authoring using Adobe Frame Maker \& Xmart. Is there a possibility that we can create context sensitive help from confluence. Actually we use to give topic alias id's to the contents to be displayed for the context.


Answers:
author: thais
body: **Hi, Vignesh,**

Welcome to the Atlassian Community!

Here are two suggestions to create a context sensitive help from Confluence:

**1) Labels**   
- Add labels to the pages reflecting the areas their contents.  
- Choose a page to be the index, and add a macro to list the labels accordingly. Some of the macros that can be used:

-- [Content by Label Macro](https://confluence.atlassian.com/confcloud/content-by-label-macro-724765178.html): The Content by Label macro is used to display lists of pages, blog posts or attachments that have particular labels. It's great for collecting related pages together and filtering out content that you don't want to see.

-- [Content Report Table Macro](https://confluence.atlassian.com/confcloud/content-report-table-macro-724765181.html): The Content Report Table macro displays a set of pages and blog posts in tabular format, based on the labels specified in the macro parameters.

-- [Labels List Macro](https://confluence.atlassian.com/confcloud/labels-list-macro-724765224.html): The Labels List macro displays a list of all labels within the current space. Each label in the list links to a page that displays all pages in the current space that contain that label.

<br />

**2) Questions for Confluence**

The [Questions for Confluence](https://www.atlassian.com/software/confluence/questions) works as the Atlassian Community, allowing your users to post questions and find information, and you may organize the questions by topic. (Please note the Questions for Confluence is a paid, with a free trial.)

Best regards,  
Thais

comments: author: Vignesh s
body: Thanks for the reply. I have currently started using confluence for documentation in my project. Am not sure how this works. Do you have a training video on Context sensitive help?

Usually the topic alias id's are mapped along with the UI pages for context sensitive help. Does label macros replace the Topic alias ID's.

Is there a possibility for a meeting?

Thanks in advance,

Vignesh S


author: Vignesh s
body: Just for your reference, here when the user access the XML Transform, he will be able to view the help topic for that activity:

![Sample 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/26677i61C34C66DD609693/image-size/large?v=v2&px=999 "Sample 1.png")

Here when the user tries to access the next tab, he is able to see the respective info:

![sample 2.png](https://community.atlassian.com/t5/image/serverpage/image-id/26678i807ECD1BB0E9692E/image-size/large?v=v2&px=999 "sample 2.png")
I need to know the siszing for Jira, confluence, and Mysql database. Any help?
Asked by Bartolom? Rodillo _consultor_:

For a small Project (50 users) and less than 10.000 tickets . I need to know the sizing for

Jira Server

Confluence Server

Data Base Server (MySql). Can I use the same DB server for Jira and Confluence?

Thank you for your help.

Regards,

Bartolom? Rodillo


Answers:
author: Nic Brough -Adaptavist-
body: Start at <https://confluence.atlassian.com/enterprise/jira-sizing-guide-461504623.html> and <https://confluence.atlassian.com/doc/server-hardware-requirements-guide-30736403.html>

And yes, you can use the same db for the stack. You need different database areas of course, but one server with one service is fine.

comments: author: Bartolom? Rodillo _consultor_
body: Thank you. Then I need separate server for Jira and Confluence, I this right?

Thank you again.

Regards,

Bartolom? Rodillo


author: Nic Brough -Adaptavist-
body: Not necessarily. You just need to make sure that if you use one application server, it is powerful enough to run both at the same time. (Even for a reasonably small system, with few users, I wouldn't try it in less than 6Gb RAM on the server)


Tags: jira

system-requirements
Confluence table row copy and paste commands hijacked by Chrome 66 update?
Asked by Randall Robertson:

Recently updated Chrome to Version 66.0.3359.139 (Official Build) (64-bit). I cannot use Confluence's copy and paste buttons or keyboard shortcuts for table rows anymore (Ctrl+Shift+C and Ctrl+Shift+V). Chrome uses Ctrl+Shift+C to open the dev console instead of letting Confluence use it to copy a row. Is anyone else running into this problem?


Answers:
author: Randall Robertson
body: Can't recreate the problem anymore. I am now on Confluence Server 6.8.2 and Chrome 68.0.3440.106.


author: Jonathan Smith
body: Works for me on 66.0.3359.139 (32-Bit)

comments: author: Jonathan Smith
body: Ohhhhhhh, in view mode, ctrl + shift + C opened developer mode. In edit mode, was able to copy and paste the row.


author: Randall Robertson
body: Thanks [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1254033). This is happening to me in Edit mode and view mode... Are you on Server or Cloud?


author: Jonathan Smith
body: Server 6.6.1


Tags: confluence-server

server
In Confluence, can I copy one Wiki to serve as the base for a new Wiki?
Asked by Ron Boeth:

We have developed a Wiki using Confluence for an internally developed application. We are doing a major reversion of the application. Our goal would be to copy the old Wiki contents into a new Wiki and then update the contents as required. Both the old version and the new version need to be available for the user community. How can I accomplish this?


Answers:
author: Nic Brough -Adaptavist-
body: The question for me is do you want to run two Confluence systems or just one?

If it's two, then you can export the old space(s) and import them on the new one, and then start working on editing the new one.

If it's only one, then it might be a bit more painful. You can still export each space you want to copy, but then you would want to edit the xml to change the space key and re-import it as though it's a new space. Or, on more recent versions, you could copy (including all child pages) top level pages from one space to a new one. Or you could use one of the Apps that enables "space copy"


Tags: confluence-server

server
Question about user management on JIRA for different number of users on Confluence and Bitbucket.
Asked by F?bio Cabrita:

Hello,

I am using the user management on JIRA, where I have on each license for Confluence and jira, 10 seats eachs. Now for example, imagine that I want to add a license with over 50 seats only at Confluence, can I add those users on JIRA and sign them just to use Confluence? and at Bitbucket, would be the same right?

Waiting for an answer,

Regards,

F?bioC.


Answers:
author: Nic Brough -Adaptavist-
body: Not quite. At the most simple level, think of each application as having a group of users that "can use application".

It's quite common to have a group for Jira users, another for Confluence, and another for Bitbucket, although some people simplify when they have the basic case of "everyone in organisation can use" and tell the applications to use a shared group.

So, there is nothing to stop you having:

Jira users group: 10 people

Confluence users group: 50

Bitbucket: 10

Any one person could be in 1, 2 or 3 of the groups in any combination.


Tags: bitbucket

jira
Confluence attachments file storage limit
Asked by HiteshS:

Hello All,

Could any one guide how i can see the default confluence server files storage limit?

Do we have any kind of upgrade option where we can increase the storage limit.

Currently i am using below confluence version:

### Confluence 6.3.3 {#toc-hId-1599618591}


Answers:
author: 5140883
body: Here, 2000+ users and 800G+ attachments ... and don't know the limits

We will expand storage to 3T right now


author: Jonathan Smith
body: [@HiteshS](/t5/user/viewprofilepage/user-id/324881) We are at 2000 users with 80GB opt/attachments directory. Since we host the solution, there really isn't a max number: It all comes down to hardware limitations and pricing of memory. Once we hit 90% capacity, we increase storage and plan for future growth.

[@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) 's link above notes the following:

**Server**

..... for overall storage capacity, it depends on your hardware specifications and [storage configurations](https://confluence.atlassian.com/doc/attachment-storage-configuration-166876.html).


author: HiteshS
body: Thank you Smith.

but i am looking for overall confluence server storage limit. I found one link here which shows that if users are 0-500 then 25 GB will be and if Users are 500+ then 100 GB (combination of JIRA and confluence both).

URL: <https://confluence.atlassian.com/cloudkb/how-to-see-how-much-server-space-is-being-used-691011836.html>

Regards,

Hitesh


author: Jonathan Smith
body: Hi [@HiteshS](/t5/user/viewprofilepage/user-id/324881),

Are you referencing the attachments directory size on the server or an actual file which is larger than 100mb? Opt/attachments is where the bulk of your attachments will live so you will want to allow enough space for future growth.

For files: To change the max attachment size allowed for uploading, follow the link [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100)posted. Here is a direct link to the configuration change page: <https://confluence.atlassian.com/doc/configuring-attachment-size-150040.html>


author: Brant Schroeder
body: Hitesh,

You can find storage limit information here: <https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-cloud-vs-server-storage-capabilities>


Tags: confluence-server

server
Is the page properties report sorting as expected?
Asked by K Cann:

1. In the page properties report, I've defined the column to sort on.
2. The values in that column include letters and numbers, as in the following format: ABCD123-01-01
3. The sort I am getting looks odd:  
   ABCD123-07-16  
   ABCD123-07-20  
   ABCD123-08-09  
   ABCD123-08-13  
   ABCD123-07-03
4. I get the correct sorting order when I click the header, but I need to export to Word and the page reverts to the previous sort.

Does anyone have any ideas?

Thanks!

K


Answers:
author: K Cann
body: I should say that I have multiple values within a table cell, so that might be throwing things off a bit.

I would still expect the page to sort on the first value though, so that ABCD123-07-03 would be first.


Tags: cloud

confluence-cloud
Is there an event listener managing copy page action in Confluence?
Asked by Melek Jebnoun_Vectors_:

Hello,

We are searching for a listener to "copy page" action within Confluence. We found that creating, deleting and moving pages are handled by some listener existing in Atlassian API but we couldn't find a consistent information about copying pages.

Many thanks for any help.


Answers:
author: huvian
body: Hi [@Melek Jebnoun_Vectors_](/t5/user/viewprofilepage/user-id/716685),

We have the generic event handler [PageEventListener](https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/mail/notification/listeners/async/PageEventListener.html) for most PageEvents. Unfortunately, it doesn't seem to handle the PageCopyEvent. What are you trying to do with it?

Vivian

comments: author: Melek Jebnoun_Vectors_
body: Hello [@huvian](/t5/user/viewprofilepage/user-id/179186)

Thanks for your response!

Actually we provide a Page Blueprint add-on and we need to handle action on the blueprint pages like deleting or copying the pages .. As we have information related to each page to change when having those actions.

Thanks


author: huvian
body: Hmm, have you taken a look at the following events?

* [PageCopyEvent](https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/event/events/content/page/PageCopyEvent.html)
* [AbstractCopyPageHierarchyEvent](https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/event/events/content/pagehierarchy/AbstractCopyPageHierarchyEvent.html)
* [CopyPageHierarchyStartEvent](https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/event/events/content/pagehierarchy/CopyPageHierarchyStartEvent.html)
* [CopyPageHierarchyFinishEvent](https://docs.atlassian.com/atlassian-confluence/6.6.0/com/atlassian/confluence/event/events/content/pagehierarchy/CopyPageHierarchyFinishEvent.html)

Listening for one of those events might be a good bet.


Tags: confluence-server

server