youngmon/atlassian-qna huggingface dataset:
How to get rid of the h1 tag around the Confluence logo?
Asked by Kirstin Seidel-Gebert:

Hi all,

we use Confluence to host our official product documentation and recently a SEO agency analyzed our pages.  
They pointed out that from a SEO optimization point of view \<h1\> tags should only be used once per page. What is really bad about Confluence is that the Confluence logo is wrapped in h1.

I tried to remove the tag (or more replace it by a p tag, or so)

* by editing the site layouts via Confluence
* by editing decorator files directly from the file system.

Unfortunately, I did not succeed. I found a setup.vmd that seems to contain this, but editing the file (and restarting Confluence) had no effect. The h1 tags are still in place.

Does anybody have an idea how to change this?

Cheers,  
Kirstin


Answers:
author: David at David Simpson Apps
body: Looking at this code in **decorators/includes/common-header.vm**:

```
<header id="header" role="banner">
 $soyTemplateRendererHelper.getRenderedTemplateHtml("com.atlassian.auiplugin:aui-experimental-soy-templates", "aui.page.header.soy", $templateParameters)
 <br class="clear">
</header>
```

It looks like that is generated in a soy template in an add-on.

Have a look for an add-on with the following key:

```
com.atlassian.auiplugin:aui-experimental-soy-templates
```

comments: author: Kirstin Seidel-Gebert
body: Thanks, David. Unfortunately, I'm not an add-on programer, but perhaps some of my colleagues can have a look at this.


author: Kirstin Seidel-Gebert
body: It wasn't that hard, finally and I could fix it myself.

I found **/opt/atlassian/confluence/confluence/WEB-INF/atlassian-bundled-plugins/auiplugin-5.9.24.jar** , that contains a soy template **page.soy**. There, I replaced the \<h1\> tags in

```
<h1 id="logo" class="aui-header-logo{if $headerLogoImageUrl} aui-header-logo-custom{elseif $logo} aui-header-logo-{$logo}{/if}">                <a href="{($headerLink ? $headerLink : '/')}">                    {if $headerLogoImageUrl}                        <img src="{$headerLogoImageUrl}" alt="{$headerLogoText}" />                    {else}                        <span class="aui-header-logo-device">{($headerLogoText? $headerLogoText : '')}</span>                    {/if}                    {if $headerText}<span class="aui-header-logo-text">{$headerText}</span>{/if}                </a>            </h1>
```

by \<p\> tags and restarted Confluence.

Done.


author: Kirstin Seidel-Gebert
body: Thanks, David, for hinting at this add-on.


Tags: seo
Why won't my filtered table display?
Asked by Katherine Fenech:

I've created a Filtered Table, that has about 14 columns and 217 rows. The table includes merged cells and the first two rows and first column are all frozen panes.

When I hit Update, the table doesn't show, just the filter drop down menus along with the first two rows (the frozen panes).   

What am I doing wrong here?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Katherine,

Are talking about [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on? If so, please, contact [StiltSoft support](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Table%2BFilter%2Band%2BCharts%2Bfor%2BConfluence) to resolve the issue.

comments: author: Katherine Fenech
body: Thanks Andrey
Why confluence change ">" sybol in HTML part of page into "&gt;" and how to avoid it?
Asked by Vladislav Gryn:

Hi all.  
I am trying to add drop down menu in Confluence page but drop down functionality does not work because when I check .css markup of page in Google Chrome developer tools I noticed that instead of "\>" sign there was "\&gt;" group of signs. If I change it back into "\>" in HTML Chrome developer tool my drop down menu work perfectly. Unfortunately when I refresh the page you will get the same error.  
In case of using source editor application you will not be able to see "\&gt;" group of signs.  
How to avoid this difficulty and make my drop down menu work?  
Functionality of the menu is written in .css.  
![Error.jpg](/t5/image/serverpage/image-id/2912i1D5E39B778B9ABF5/image-size/large?v=v2&px=999 "Error.jpg")


Answers:
author: Stephen Deutsch
body: It seems like there is a "bug" in the CSS Macro from Adaptavist (not so much of a bug as a security measure by Atlassian I would assume). Here are some possible workarounds:

* Enable the HTML Macro and include your CSS there instead (inside of \<style\> tags).
* if you are sure that ul will be the only direct children of li:hover, just replace "\> ul" with ":nth-child(n)", which should select all direct children and won't be changed in the macro evaluation process.

comments: author: Vladislav Gryn
body: Hi Stephen. Thank you a lot for your answer!  
I tried to activate using HTML macro, but I could not.

According to documentation I should " Choose the cog icon at top right of the screen --\> then choose Confluence Admin. --\>Select 'Plugins' in the left-hand panel. This will display the installed plugins active for this Confluence installation.  
--\> Click' 'HTML macros', then click 'Enable Plugin'."

Unfortunately there is no such menu. I have found the following menus Choose the cog icon --\>Add-ons --\> In the manager of add-ons I selected All add-ons --\> I tried to find HTML macros but there is no such option.

<br />

When I try to type {HTML} to add there \<style\> and CSS code in document body well it does not works. The code and {HTML} are displayed as a text.

<br />

Could you please tell me how to enable HTML Macro?

Or in cloud version they are disabled?

By the way, additional great thanks for advising me to use :nth-child(n) now my menu work perfectly!))


author: Stephen Deutsch
body: How are you inserting the CSS into the page? Custom CSS? User Macro? Custom HTML?

comments: author: Vladislav Gryn
body: I used macro "Style" and then added CSS markup.
How can I use curly braces without creating a macro?
Asked by Mark Allison:

I want to use curly braces in some text on a page in confluence, but I can't work out how to stop it automatically creating a macro. I tried double curly braces which created a code block, and also tried backslash and forward slash.


Answers:
author: Stephen Deutsch
body: Hi Mark,

You have two options

1. Copy and paste the curly braces (especially if you are going to put an ending closing brace)
2. After entering the curly brace and the macro menu pops up, press the ESC key and the menu will go away leaving the curly brace there. However, if you put in a closing brace it will still try to convert it to a wiki markup macro, so copy/paste will be your best bet in that case.

comments: author: Matthew Gately
body: Note that simply copying and pasting the entire text including both braces automatically inserts a Wiki markup block


author: cybersam
body: Here is a nice alternative to Stephen Deutsch's answer # 2:

You first enter whatever goes between the curly braces AND the right curly brace -- this causes no problems.  

Then, you insert the left curly brace, which does pop up the dialog -- but you can just ESC out of that.

comments: author: MJD
body: This is absurd. "Preformatted" mode should take precedence and not trigger inserts. Confluence is so difficult to write code in. Atlassian, why do you hate us?


author: Emma Rush [T&D]
body: Have you tried the code block macro? Just add your code in there and nothing gets triggered.


author: Michael Stangeland
body: If you can tolerate the macro while you type, just keep going. After putting the right brace and the macro is complete, hit undo (ctrl-Z) twice.

If you can't tolerate the macro, hit ESC. The macro will still come back to life with the right brace though, but undo (ctrl-z) twice will put it back to normal text.


author: Josh Turnbull
body: This can be controlled by going into your settings (user icon in top right \> settings) and under Your settings \> Editor, select Disable Autoformatting.

This does prevent all rich text autoformatting rather than just curly braces.


author: alexpeterpen
body: My solution is to add two brackets like {{ and }} and then remove the second one.
Confluence labels not recognized as few macros like (Page Properties macro) don't work
Asked by KartikA:

Hello,

I am a confluence Admin for 2 seperate instances. One of the instances works fine where Labels are recognized and the other instance has issues with Page properties macro, Decision Log by doing a littke research I have come to a conclusion that both have Labels common which is important to be recognized for the macro's to work. I am not sure if this is the solution to the issue but that is what I am thinking. So Please help me on how the Labels can be recognized in the new instance.

Thanks

Kartik


Answers:
author: Christoph Sch?tz
body: Hey Kartik, have you tried a Reindex in your instance which doesn't work properly? Are the page properties not working in general or just for a few pages? Have you tried removing the labels from the missing pages and adding it again?

Cheers

Christoph


Tags: administration

macro
Tag users in Confluence who have never logged in?
Asked by Luke Bay:

Is there a way to tag users in Confluence who have never logged in?


Answers:
author: AnnWorley
body: If the user is in the People Directory and you at-mention them, they should get an email, whether they ever logged in or not.

comments: author: Luke Bay
body: I see the user listed in the user directory but the at-mention is not working. The at-mention works in jira but not in confluence.


author: Stephen Deutsch
body: You might want to (at least temporarily) install the recently released [Keysight Admin Tools for Confluence](https://marketplace.atlassian.com/plugins/com.keysight.confluence-support/server/overview) plugin (it's free). It seems from the screenshots that it has a section to show never logged in users.

comments: author: Luke Bay
body: Thanks for the tip! you answered my question but I asked the wrong question. I now realize my original question is a vague. What I would like to know is if there is a way to tag user in comments using @userwhoneverloggedin. I have a bunch of users that have accounts through AD but have never logged in. Is there a way to tag those users in comments?

Thanks,  
Luke
API access is broken
Asked by Mhoule:

Our development team has been experiencing the following issue this past week.

We have a script that uses the API to do certain things that is no longer working.The error comes through as a locked account, but looking into it further led us to seeing xmlrpclib being deprecated. Here's the error: xmlrpclib.Fault: \<Fault 0: "java.lang.Exception: com.atlassian.confluence.rpc.AuthenticationFailedException: Attempt to log in user 'devemail' failed. The maximum number of failed login attempts has been reached. Please log into the web application through the web interface to reset the number of failed login attempts."\>

We were able to login to the web frontend with this account successfully without issue.

Has anyone else experienced this issue?


Answers:
author: Steven F Behnke
body: Look up the account in the **Users** admin menu option, does it say it's locked out? How many failed attempts?

comments: author: Mhoule
body: Disregard found the issue.

<https://developer.atlassian.com/jiradev/latest-updates/preparing-for-jira-7-0/jira-7-0-api-changes#JIRA7.0-APIchanges-soapxmlrpc> <https://developer.atlassian.com/jiradev/latest-updates/soap-and-xml-rpc-api-deprecation-notice>
Is there a way to export a Confluence Page and Page Activity together?
Asked by Anju:

I want to automatically export the Page Activity of a page when I export the page into either pdf/word. Is there an option that attaches the Page Activity at the end of the page export? Or can I export both the Page Activity and Page at once (doesn't matter if it's in the same document)?


Answers:
author: Shannon S
body: Hello Anju,

Can you let us know which page activity you're referring to? Are you interested in the page history, or the [Space Activity](https://confluence.atlassian.com/doc/view-space-activity-2818381.html)?

When exporting a page as PDF/Word document, it's not possible to include the page history. When exporting the entire space to XML, only then is that content included.

Let us know if you have any questions.

Kind Regards,

Shannon

comments: author: Anju
body: Hi Shannon,

Page Activity as in the activity on a certain document/page. For example, when the page was created, updated, approved/rejected, commented, and state changed.

I can export the Page Activity to CSV but I was just wondering if there was a way to automatically export it with the page.

Thank you,

Anju


author: Anju
body: I actually found a solution to this. I just added the Page Activity macro to the end of the template, which worked for my requirements!
Make site home page Confluence instead of Service Desk portal (Cloud version)
Asked by Susan Ostreicher:

We are using Confluence and JIRA Service Desk. When users log in, they are directed to the Service Desk portal, but I would like to direct them to the Confluence space home page instead. Is this possible?


Answers:
author: Susan Ostreicher
body: Nevermind; this question was answered in a [different post.](https://community.atlassian.com/t5/Confluence-questions/How-to-direct-users-to-home-page-on-Confluence-instead-of/qaq-p/612892?posted=613074#U613074)


author: Susan Ostreicher
body: Following up on this. Does anyone know of a way to set the overall site home page to Confluence instead of the JSD customer portal? Thanks!


author: Nic Brough -Adaptavist-
body: When they log into Confluence or JIRA? And are they customers or full JIRA/Confluence users?

comments: author: Susan Ostreicher
body: Thanks for the response, Nic. These are internal users, not customers. We have Cloud licenses only for Confluence and JIRA Service Desk, and these users don't have access to JIRA Service Desk (meaning they're not agents).

When they go to "ourcompany.atlassian.net", they're automatically redirected to "ourcompany.atlassian.net/servicedesk/customer/portal/1". I'm wondering if they can be directed to "ourcompany.atlassian.net/wiki" instead.


Tags: confluence-cloud

jira-service-desk
Making a Page Title wrap into multiple lines?
Asked by Casey Maynard:

I would like to be able to have my page titles wrap

Line 1 \>\>\> App Name - Version 1.0.0

Line 2 \>\>\> Product Launch Checklist


Answers:
author: Shannon S
body: Hello Casey,

The title in Confluence will only wrap once it reaches the end of the browser window.

For your usage case, I would recommend that you [create separate pages](https://confluence.atlassian.com/doc/create-and-edit-pages-139476.html). For example, create a parent page called *App Name - Version 1.0.0* that would be the primary page for this release version, and then create a child page called *Product Launch Checklist* where you would include the checklist. This way, you will be able to see it organized in the page tree according to your requirements above.

Let us know if you have any questions.

Kind Regards,

Shannon

comments: author: Zach Johnson
body: That solution only works in limited situations. What's needed is a way to wrap page titles. I'm faced right now with a long title that runs underneath the content page.
How to customize modify JIRA blueprints in confluence?
Asked by abhishekanne:

Hello

I need to modify JIra Status Report blueprint.

Add more page properties like Open task ,closed task count etc.

Also I want to add table of list of open tasks.

So I want to edit current template but, how to add do as there is varibale like ![$jiraIssuesCount](https://atlas.accelerite.com/plugins/servlet/confluence/placeholder/template-variable?name=jiraIssuesCount) i need something like jira open task count .


Answers:
author: Vero Rivas
body: Hi [@abhishekanne](/t5/user/viewprofilepage/user-id/1140019)

Look at this post, maybe can help you

<https://confluence.atlassian.com/doc/blueprints-323982376.html>

Cheers
Upgrade Confluence from 5.8 to 6.2 'Recently Viewed' and 'Recently updated' links very slow - SSL?
Asked by Joanne:

We recently upgraded to 6.2.3 and found that 'Recently Viewed' and 'Recently Updated' links on the new sidebar take nearly 10 minutes to load? This is not acceptable for our users but seems it may have something to do with how we setup our SSL where our loadbalancer does the SSL offloading... Has anyone else experience this? We can see an error in our log but not sure if related ERROR \[AtlassianEvent::CustomizableThreadFactory-1\] \[renderer.internal.http.HttpClientFetcher\] f  
etch Unable to perform a request to: <https://xxxxxx.xxx.com/rest/gadgets/1.0/g/messagebundle/en_GB/gadget.c>  
ommon%2Cgadget.confluence  
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.  
provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target


Answers:
author: Shannon S
body: Hello Joanne,

In order to correct the SSL error you're experiencing, have a look at this article:

- [Unable to Connect to SSL Services due to PKIX Path Building Failed](https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html)

I cannot say for sure if that is what is causing your performance issues, but please give that a try and let us know how it goes and we can proceed from there.

Let us know if you have any questions!

Kind Regards,

Shannon

comments: author: Joanne
body: Thanks Shannon, we were able to resolve the issue in the log by ensuring we had the certificate in the JDK truststore as we had it in the incorrect place. However, we still are having issues with these links taking a long time to load even with increased JVM - we are looking at how our loadbalancer is setup.
Can I create an automation in Confluence that would create the same document/template daily?
Asked by Sophie Alter:

I need a document/template to be created on a dilay basis for the team to complete every morning, is that feasible or do I need to create it manually?


Answers:
author: Stephen Deutsch
body: You could do something using scriptrunner, but I think your best bet is not to use a plugin or something similar, but rather use the REST API. This will require that you schedule something to run on a particular computer (it could be yours, or it could be the one running the Confluence software). You would need to install Curl on that computer and schedule something like he following command to run once a day:

```
curl -u <username>:<password> -X POST -H 'Content-Type: application/json' -d'{"type":"page","title":"<new_page_title> %date%", "ancestors":[{"id":<parent_page_id>}], "space":{"key":"<space_key>"},"body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}' https://<your_confluence_base_url>/confluence/rest/api/content/
```

You would have to copy the storage format of the page that you want to create into the command and fill in all the blanks (everything like \<this\>), and then you would have to adjust the date generator depending on which computer system you are using (%date% is for the windows command line). You could insert this into a .bat file or run it directly from windows scheduler for example.

It's a bit complicated, but it's currently the easiest way to do what you are asking for that I am aware of.
How can I include linked pages in page tree search?
Asked by Phil Walker:

Hi,

I find the Page Tree Search macro is a very powerful feature for restricting a keyword search to a specific sub-tree of pages, because it allows me to eliminate pages in any parent tree from the search. I want to eliminate pages from outside the sub-tree because they may contain information that is irrelevant or possibly inaccurate. I would like to extend the page tree search capability to any pages that I add as links to the pages in the sub-tree. Is this possible? I have tested this out and linked pages do not seem to be included in the search index. Thank you.


Answers:
author: Anthony Wise
body: Hi Phil I'm interested in doing the same thing with page tree search can you tell me how you set it up as i find the information from confluence hasn't been very helpfull for me?
Recently joined one organisation can you please guide me for server side?
Asked by raghu:

Hi Everyone,

I dont have good knowlege on server side can you guide me in jira server maintainence in linux?We have 22 instance for jira ,4 confulence,2 bambo,2 fisheye..can any one give me guidence for server maintainence ......our job is server maintienece never server down..if server down with in 5 mins we need to up..thats my SLA..can any one guide me in linux side..

At Present i need to know the what type of errors in genral in jira linux invironment..

Regards,

Raghavendra..


Answers:
author: Nic Brough -Adaptavist-
body: That's a question that runs to answers involving entire libraries worth of documentation. Get yourself on some Linux courses first, and then have a look at the Atlassian training options. It's not a subject someone can just start on, you need to absorb the knowledge of the OS, and the applications, and the best place to get that is supporting your existing admins and learning what they do.

comments: author: raghu
body: Thank you....


author: raghu
body: Hi Nic,

How to add a user to a Jira project using Rest API?

How to add a user with Specific user role using Rest API?

How to add a user to a Confulence Space?
CamStudio playback flicker whilst using the Confluence Edit Mode...
Asked by Martin James:

I'm using CamStudio to record my screen to create video tutorials for our users. When I play back the clip it works perfectly fine whilst browsing and using the search engine. As soon as I go into edit mode the playback starts to flicker.

I've gone onto google and tried using all kinds of suggestions but nothing has worked. I'm wondering if there is a script that is causing the software to glitch.

Could anyone provide any suggestions?

Whilst looking at the playback either the screen starts flickering with a black screen or the system starts to look weird.


Answers:
author: Martin James
body: Just fixed it. Using a different codec to record the screen :)


author: Martin James
body: Just fixed it. I'm using a different CODEC to record the screen.
503 errors on confluence.atlassian.com
Asked by Maarten Becker:

From this weekend i get this 503 error every time i request a page inside confluence.atlassian.com.  
Community, support and jira are working, but a random grab of pages on confluence are not.

<http://status.atlassian.com> is showing all good, which you know is not the case for confluence.

I've tried from different locations and mobile/desktop etc.

<https://confluence.atlassian.com/jirakb/how-to-jira-change-the-time-format-to-24-hours-734234435.html>

<https://confluence.atlassian.com/jira064/logging-work-on-an-issue-720416377.html>


Answers:
author: Jeremy M
body: Dear Maarten,

Agreed! I hope Atlassian will fix this ASAP.. I myself also need the documentation :-).

Afraid that we as users cannot do anything else about this other than submit a ticket to Atlassian Support for a status.

Friendly Regards,

Jeremy


author: Maarten Becker
body: The problem here is that you also cannot view the pages in cache in case you need to dig into information.

You have to cross your fingers to see if outside confluence something was posted.

Good luck guys in solving this.


author: Jeremy M
body: Dear Maarten,

You are not the only one! Colleagues of mine and I myself have been experiencing issues there aswell. I have contacted Atlassian about it and it seems to be just a temporary bug. I can imagine that they might be having server problems or migrating something.

In my expierence this will be resolved within a day. I just wanted to let you know you are not the only person expierencing these issues and that Atlassian has indeed set their eye on resolving the problem.

Friendly Regards,

Jeremy Mooiman