youngmon/atlassian-qna huggingface dataset:
Popular Content macro issue with timeframe parameter value of 1d
Asked by linde-engineering-uk:

Dear all,

we are running Confluence 5.9 (server, not cloud) and recently stumbled about a strange issue of the Popular Content macro:

The desired timeframe of the Popular Content macro should be one day, so we provided the parameter value "1d". Then we were wondering about the high results after some tests we found out that the macro seemed to fallback to the default parameter value of one week ("1w"). Values such as "2d" and "3d" are working as expected but not "1d". We finally found the workaround to specify the desired timeframe as "1.0d".

At this point I would like to know if you ever ran in this issue too??

If yes, a general bug is very likely and should be raised to Atlassian...

Thank you in advance,  
Uwe


Answers:
author: AnnWorley
body: I found an existing bug report for the behavior you are experiencing. Thanks so much for the workaround, I added it to the bug report:

[Popular macros returns same results for 1d and 1w](https://jira.atlassian.com/browse/CONFSERVER-45320)
Is it possible to change the title "page hierarchy" of the sidebar into "content"?
Asked by Fiyyaz Tahir:

Hi everbody,

I am using Confluence and I am trying to the change the title "page hierarchy" of the sidebar into "content". I would be really nice, if you could help me. Thanks

Best regards

Fiyyaz


Answers:
author: AnnWorley
body: On my test instance the page hierarchy is called Page Tree. I was able to replace it with "Content":

![Screen Shot 2017-06-27 at 2.10.56 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2547iD75C4C476EA97587/image-dimensions/326x405?v=v2 "Screen Shot 2017-06-27 at 2.10.56 PM.png")

To achieve this, I added the following to Confluence Admin\>Custom HTML "at the end of the head":

```
<style type="text/css">h5.page-tree {display:none;}</style>
```

Then I went to Space Tools\>Configure Sidebar and typed "Content" into the first of the three fields.

I look forward to hearing whether this works for you.

comments: author: Fiyyaz Tahir
body: Hi Ann,

thanks for your answer, but I have still a problem.

Now I added the code at the end of the head in Custom HTML and there is no title "page-tree" visible on the sidebar, but there is not fields (in Configure Sidebar) where I can type "Content" as title instead of "page-tree".


author: AnnWorley
body: I am so sorry I steered you wrong. The field where you type "Content" is under Space Tools\>Look and Feel\>Sidebar, header and footer:

![Screen Shot 2017-06-28 at 10.15.12 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2590i3A396A0C778423EA/image-dimensions/713x407?v=v2 "Screen Shot 2017-06-28 at 10.15.12 AM.png")


author: Fiyyaz Tahir
body: Now it works. Thanks a lot.

Best regards

Fiyyaz


author: AnnWorley
body: Thanks for following up so the next person will know it worked. Have a great day!


Tags: side-bar
Space Permission : Need not want permissions to be combined for same user in different groups
Asked by hermoine:

We can see that Space permissions are additive. If a user is granted permission as an individual or as a member of one or more groups, confluence will combine these permissions together. But we need the user to possess separate permission access. For Ex: If User 1 belongs to Group 1 and has export permission but not print permission and if the same User 1 belongs to Group 2 as well and has print permission but not export permission, then currently we are getting both the permissions assigned to User 1, which means when he logs in as User of Group 1 , he has print permission which should not because print permission should be tagged to User 1 only when he logs in as Group 2 user.

Please give your suggestions on this.


Answers:
author: Thomas Schlegel
body: Hi Anitha,

you can't login as a group user. You login as user who has one or more groups and automatically get these permissions.

If you want a user to have different permission profiles, you have to add this user twice with a different username and different user groups.
How to use User-friendly URLs if my Confuence is not in English
Asked by Andy:

Hello!

I have a Confluence installation with Russian language.

So, I have russian name for spaces and articles.

All my articles have following urls:

[http://kb.\*\*\*/pages/viewpage.action?pageId=29163873](http://kb.***/pages/viewpage.action?pageId=29163873)

If I have english name for article, then I see pleasant URL with space code and article title.

How can I have such beautiful urls in case I'm not using Confluence in English language?


Answers:
author: Thomas Schlegel
body: Hi Andy,

I think, you can't. We also have these URLs when using German Special Characters in page titles.

If a page title has a non-english-character, the URL will be automatically changed to the "pageID"-URL.

comments: author: Andy
body: I was looking for some confluence plug-in to manage User-Friendly URLs, but have found no ones yet.


Tags: url
How to migrate confluence(6.2) user account from internal directory to OpenLDAP directory?
Asked by QING YANG:

Hi, I have a confluence server with several hundred users in internal user directory. Now I want to authenticate user on openldap. I found a guide to migrate user in Jira:  
<https://confluence.atlassian.com/adminjiraserver073/migrating-users-between-user-directories-861253207.html?_ga=2.160639609.594572857.1497833364-1015594078.1496485156#MigratingUsersbetweenUserDirectories-Usingthe%27Migrateusersfromonedirectorytoanother%27functionality>

Is there a similar way in confluence?

thanks.


Answers:
author: AnnWorley
body: Confluence does not have the built in ability to migrate users between user directories the way JIRA does. Please vote on this suggestion ticket: [Make it possible to move users between directories](https://jira.atlassian.com/browse/CONFSERVER-25630)

In the meantime, if you can upload a file to OpenLDAP, you can use the [User Management Util - Bulk User Upload](https://marketplace.atlassian.com/plugins/com.artemistech.confluence.plugins.bulkuserupload/server/overview) to export the users to a .csv file. The plugin says it is incompatible on Confluence 6.2.x but you can still install it by downloading the .jar file from the Marketplace link and then using the *Upload* button in Confluence Admin\>Add-ons to install it. I tried it on a test instance to make sure it functions on Confluence 6.2.2.

comments: author: QING YANG
body: Thank you!


Tags: directory

ldap

migration
How to register for TaskCreatedEvents in Confluence?
Asked by poppitz81:

Hi,  

I want to write a simple plugin which notices when a Confluence task was created. Any suggestions how to achieve this?  

Thanks,  
Thomas


Answers:
author: Hasnae
body: One solution would be to write an event listener in your plugin as follow :

\`\`\`

```
import com.atlassian.confluence.plugins.tasklist.event.ConfluenceTaskV2CreateEvent;
import com.atlassian.confluence.plugins.tasklist.event.ConfluenceTaskV2RemoveEvent;
import com.atlassian.confluence.plugins.tasklist.event.ConfluenceTaskV2UpdateEvent;
import com.atlassian.event.api.EventListener;
import com.atlassian.event.api.EventPublisher;
import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class TasksListener implements InitializingBean, DisposableBean {

    private final EventPublisher eventPublisher;

    @Autowired
    public TasksListener(final @ComponentImport EventPublisher eventPublisher) {
        this.eventPublisher = eventPublisher;
    }

    @Override
    public final void afterPropertiesSet() throws Exception {
        eventPublisher.register(this);
    }

    @Override
    public final void destroy() throws Exception {
        eventPublisher.unregister(this);
    }

    @EventListener
    public void taskCreated(final ConfluenceTaskV2CreateEvent taskCreatedEvent) {

    }

    @EventListener
    public void taskUpdated(final ConfluenceTaskV2UpdateEvent taskUpdatedEvent) {

    }

    @EventListener
    public void taskRemoved(final ConfluenceTaskV2RemoveEvent taskRemovedEvent) {

    }
}
```

\`\`\`

comments: author: poppitz81
body: Thank you very much. That's exactly what I was looking for.


Tags: app
Predefined Labels with User Macro
Asked by James Lee:

I am building a Knowledge Base, and I would like to setup a predefined list of Labels for my team to choose, either a pull-down menu selection or a table format in my template.

The reason is those label names are associated to my company products name, and I do not want my team to make typo mistakes. Hence I need them to follow a standard style guide of how all product labels should look like.

At the end of the day, when we do a search on labels, so we can find all specific products that label correctly.

I reach thru the Confluence 6.0 complete guide, and there aren't a direct macro to achieve it, does that means I need to write User Macro?

Any advice is appreciated.

Thanks!


Answers:
author: Marlon Palha
body: Hi James,

Perhaps this plugin might be useful - <https://marketplace.atlassian.com/plugins/com.intenso.confluence.labelscage.labels-cage/server/overview>?

Thanks

Marlon

comments: author: James Lee
body: Thanks Marlon, this is really awesome!


Tags: label
diagrams/images not exporting to pdf in Confluence
Asked by Chris Mitchell:

Confluence 6.05:

When exporting a confluence page with images, more often than not the images are left off the pdf version -- in one instance, some of the images were included. Has anyone else seen this problem and found a solution? It seems to me that if Atlassian is going to include an export feature, they would do more to support it.

Chris


Answers:
author: AnnWorley
body: Are the images in tables, as in [Embedded images placed inside of a table are not displaying properly when page is exported to PDF](https://jira.atlassian.com/browse/CONFSERVER-34385) ?

That was fixed in Confluence 6.1.1.

comments: author: Chris Mitchell
body: No, thanks for the response Ann. They are not within tables.
Can tasks have labels?
Asked by megan moody:

Is there a way to have a task page that displays all open tasks for specified users, but only if the task as a particular label? Or maybe is on a page with a specific label?


Answers:
author: Regis MASSICARD
body: Same here, would like to see whether / how it is possible to add tags or labels to tasks and then be able to generate reports based on those tags...

comments: author: megan moody
body: I didn't find a way to add labels to tasks, but I found I could add labels to pages, then create a page with all tasks on pages with those labels. That worked for my use case.


Tags: label

task
Why is move page not working?
Asked by Robert Cohen:

I am attempting to move a page from one space to another.

When I click '...' -\> Move on the page, the screen flickers gray then then nothing happens. No move page dialog comes up.

I am the administrator on both spaces (as well as all of confluence) and I even gave my user full permissions on the pages original space.

I feel like this is a bug. No error comes up.

Please advise how I may correct this. Thanks


Answers:
author: AnnWorley
body: Please let me know when this started, was there a recent upgrade or change to a reverse proxy that is in front of Confluence?

Please check the *\<confluence_home\>/logs/atlassian-confluence.log* for errors. (The *\<confluence_home\>* directory is the path defined in the following file: *\<confluence_install\>/confluence/WEB-INF/classes/confluence-init.properties.)*Search for the title of the page or your user name to help find the relevant errors. Another strategy is to reproduce the issue and immediately check the bottom of the log.

Please let me know what version of Confluence you are using and what browser. I did find some bugs about moving pages, but they are all old and fixed in early versions.

comments: author: Robert Cohen
body: I just fixed it by upgrading confluence from 6.1 to most current version. Now the dialog displays correctly.

Thank you for your answer, however.


author: AnnWorley
body: Happy to hear that you fixed it! Have a great weekend.


author: Varsha Muzumdar
body: Hi, Robert,

Is this issue a bug under confluence 6.1.4?
How to scrape the pages requiring login?
Asked by Kamalanathan S G:

I am trying to crawl through the wiki pages but the authentication required is not allowing me to get the form field names or anything. I was wondering if there is a better way to do this. Thanks!


Answers:
author: Aron Gombas _Midori_
body: If the web interface wants you to authenticate (to login), as that page does not allow anonymous access, then your web scraper also needs to authenticate (as that is essentially doing the same thing: getting an HTTP response about that Confluence page).

I suggest you follow the Confluence REST API way, but even in that case: you need to authenticate.
Show more.. on a page with blogs
Asked by Dmitry Ree:

I have a page with 6 sections, in each section there are blogs associated with a certain tag. As I expect more and more blogs, I would like to display on the main page the latest one per section with the "Show more" option. Is it possible?


Answers:
author: Dmitry Ree
body: Hi Thomas, I would like to have something similar to show more in the Recently updated macro when you can click to expand and see the rest. The main difference compared to recently updated is that I would like to display the content of blogs not titles only. I use one space and labels to group blogs.


author: Thomas Schlegel
body: Hi Dmitry,

yes of course. For each blog, put a Blog Posts macro on the page. Configure it, so that it shows only 1 blog from one space.

Under each blog post macro, put a link to the page

http://\<your-confluence-url\>/pages/viewrecentblogposts.action?key=\<space-key\>

and name it "more..."


Tags: blog
PDF customization not available in Confluence Cloud?
Asked by Simone Baracchi:

Hi,

I'm following this guide to customize PDF export: <https://confluence.atlassian.com/confcloud/customize-exports-to-pdf-724764825.html?_ga=2.151414649.1544979805.1497538744-1078906966.1466674810#CustomizeExportstoPDF-CustomizingthePDFStylesheet>  

However the menu options mentioned in that guide do not exist in my UI. For example the guide states:

1. Choose the**cog icon** ![](https://confluence.atlassian.com/confcloud/files/724764571/724764572/1/1427771553126/Cog.png), then choose **General Configuration** under Confluence Administration
2. Choose**PDF Layout**.

but there is no "PDF Layout" option under General Configuration.

The same applies for the space level layout:

1. Go to the space and choose **Space tools** \> **Look and Feel** from the bottom of the sidebar You'll need [Space Admin permission](https://confluence.atlassian.com/confcloud/space-permissions-overview-724764760.html) to do this.
2. Choose **PDF Layout**.

There is no such option under "Look and feel".

Is this feature available for Confluence Cloud?  
I'd like to customize the exporting adding a title page, a summary generated from the table of contents, and so on.

Regards,  
Simone


Answers:
author: Davin Studer
body: It should be available. Are you a space admin?

comments: author: Simone Baracchi
body: Hello, thanks for your input. I seem to be a space admin, I created it and in Space tools -\> Permissions I see "admin" next to my name:  
![Cattura.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/2246iE51351337B6AEAEB/image-size/large?v=v2&px=999 "Cattura.PNG")

I can also see my name in the admins list via Space Tools -\> Overview -\> Space Details -\> Administrators.  

However when I click Space Tools -\> Look and Feel there is no "PDF Layout" option. This is what I see:  

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

Thanks!  
Simone


Tags: layout

pdf

stylesheet
can we add a table as a part of the template in COnfluence
Asked by sn:

hi,

Confluence 5.10 server user.

can i add a table in apage template and have it show based on user input.

if uiser doesnt use the table then it should show only the text on the page and not the tablle.

is it possible ?

thanks!


Answers:
author: Steffi Frank
body: What I suggest. in your template put your table in an expand or info macro. If a user does not need a table it is just one click to remove it.

I think this not too much to ask...


author: Andrey Khaneev _StiltSoft_
body: Hi Shilpini,

Possibly, you can apply some filters to the table using [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/server/overview) macro.

Can you give more details on "user input" and "table"?


author: Thomas Schlegel
body: Hi Shilpini,

no, I don't know of any conditional parts of a Confluence page template.

If the user leaves the table empty, it is still there.
How can everybody edit draw.io attachement in confluence?
Asked by Florian Schmidt:

After someone added a draw.io diagram to confluence only the creator and admins can edit it. The others get the message:

```
Access DeniedInsufficient access rights to edit this Draw.io diagram.
```

How can we solve this problem?


Answers:
author: David Benson _draw_io_
body: There are permissions to allow users to edit their attachments or anyone's attachments. You have the second disabled, that needs to be enabled.

comments: author: Florian Schmidt
body: Where do i find this permission?


author: David Benson _draw_io_
body: Should be under Space tools -\> Permissions. <https://confluence.atlassian.com/doc/space-permissions-overview-139521.html>


author: Florian Schmidt
body: Thank you. But when i understand it right, i can only make sure he has the right to edit another diagram, when he has the right to delete it.


author: David Benson _draw_io_
body: I would need to check on an exact Confluence version, which version are you using?


Tags: draw.io
Excel sheet display with all its worksheet
Asked by Rajesh Kumar Singh:

Hi,

I have to integrate office doc with confluence. My requirment is to display excelsheet with all of its worksheet ( not just one worksheet). Is there any macro/plugin available to achive this ?

Thanks,

Rajesh


Answers:
author: Davin Studer
body: The Excel macro should give you the edit link just like Word documents.

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


author: Rajesh Kumar Singh
body: When I am using excel macro I am able to convert them into pages. But is there way I can allow the content to edit ?

Just like we can edit section when attaching word doc as page. Can we do similarly with excel ( excel converted as webpage).


author: Rajesh Kumar Singh
body: Thanks , this is helpful.


author: Davin Studer
body: You can put the excel macro on the page more than once. Each macro would show a different sheet. Also, if you have any add-ons that provide tabs you could create tabs and put each excel macro on its own tab. Below are some add-ons that give you tabs.

[Spectrum Formatting Macros](https://marketplace.atlassian.com/plugins/fr.spectrumgroupe.confluence.plugins.formatting.macros/server/overview) (free)

[Navitabs Addon](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.navitabs/server/overview) (paid)

[Responsive tabs](https://marketplace.atlassian.com/plugins/de.kupper.it.atlassian.confluence.tabs/server/overview) (paid)

[Composition](https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.composition/server/overview) (paid)


Tags: ms-excel
Multiple JIRA charts on Confluence Page
Asked by Phill Tadman:

How can I add multiple JIRA charts to a Confluence Page?

As soon as I add the second chart, the first is deleted.


Answers:
author: Phill Tadman
body: Ah!

Its actually the insertion process that deletes page content.

If you copy and paste an existing chart and then edit it, all is well.


author: Miles
body: I don't know if that would work, but did you try inserting them in a table cells?

comments: author: Phill Tadman
body: Hi Miles, thanks for the reply.

Yes, I've tried putting them in cells in a page layout.

Interestingly, the page layout is also deleted when you add the second chart.


Tags: chart

jira
Cannot Copy / Paste Evaluation Licence (Confluence Server) Key !
Asked by El?im Duran:

Hi,

I have get an evaluation licence for Confluence Server, for the trial setup of it, by clicking "[Get an evaluation license](https://my.atlassian.com/license/evaluation?product=Confluence&licensefieldname=confLicenseString&version=6.2.2&build=7201&sid=BCOF-NMJ1-FMS8-IPVS&callback=http://localhost:8091/setup/setuplicense.action&ref=prod)" link.

I have generated the licence but cannot copy / paste any textual licence on the field which wants the licence text from me ! Because there is actually no textual form of the licence key !

Can anyone please give me an urgent help ??

Thanks,

El?im


Answers:
author: Thomas Schlegel
body: He Elcim,

you can always see and load your licenses on that page:

<http://my.atlassian.com>

comments: author: El?im Duran
body: No I cant see or copy any licence text on that page... There is only a list of licences, nothing happens when I click on them.

I have tried on Chrome, IE 11 and Firefox but none of them give any response.


author: Thomas Schlegel
body: click on the right-arrow:

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

and you will see your license.


author: El?im Duran
body: Yes I understand :) But it doesn't work...


author: El?im Duran
body: Ok, I've solved it. The problem was websense credentials running for our office PCs :) I can expand the licence item and copy the text when I disable websense.

Thanks for urgent response.


author: Thomas Schlegel
body: you're welcome - great that you found the solution
Get My Comercial Confluence License
Asked by Kukuh Argaditya:

Hello,

I have a problem to get my old license, I think it will be found in "Atlassian\\Confluence\\licenses" directory but its empty. I need this license for migrating the database from internal to external.

Really appreciate your help.

Thank you


Answers:
author: Thomas Schlegel
body: Hi Kukuh,

you can view your licences at

<https://my.atlassian.com>

comments: author: Kukuh Argaditya
body: I got it.

Thank you Thomas,


author: Thomas Schlegel
body: you're welcome :-)


Tags: licence
redirect homehomepage
Asked by socr wq:

sys: Confluence 6.2.1

how to set spacepage to become a homepage

ex: original homepage <http://www.123.com>

spacepage <http://www.123.com/pages/viewpage.action?pageId=3143344>

I try to edit server.xml , web,xml that all can't work


Answers:
author: Nic Brough -Adaptavist-
body: If you're happy for everyone to get the same home page, go to Admin -\> Further configuration and choose a space in the "site homepage" box.

This will make the default landing home page be the home page for the space selected


author: Thomas Schlegel
body: Hi,

we use the plugin "Custom Dashboards for Confluence" for that.

It works great, you can define different homepages for different group of people and define an ordinary Confluence page as the main Confluence home page. On this page, you are free to put anything you want.


Tags: developer