youngmon/atlassian-qna huggingface dataset:
Avoid every Confluence page starting on a new PDF page
Asked by Martin_Nitschke:

Hi,

currently our PDF Export is used to send our product documententation to our customers. For this reason our PDF Layout and Stylesheet is adapted to our companies cooperative design.

We are using Confluence 6.12 and we are about to update to version 6.14.1 but during a test on our test system we noticed that the page number of our PDF export has risen threefold because every Confluence page starts on a new PDF page.

Is there any way to avoid this new feature which was added in version 6.13: (<https://confluence.atlassian.com/doc/confluence-6-13-release-notes-959288785.html> "PDF Export improvements -\> Each Confluence page starts on a new PDF page, making your documents easier to read")?

We aint see any advatage of this feature because now we have PDF pages with only one sentence on it for intance.

Thank you in advance


Answers:
author: Diego
body: Hello there Martin!

You sure can disable this by using the following CSS styling:
>
>     .pagetitle {    page-break-before: auto;}

You can change the **PDF Layout** by going: **Cog Icon \> General Configuration \> PDF Stylesheet**.

There, you need to click **edit** and then add the CSS above. This will stop Confluence from creating a new PDF page for each Confluence page.

You can find further information on PDF customization here:

**[Customize Exports to PDF](https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html)**

Let us know your thoughts Martin!

comments: author: Martin_Nitschke
body: Hi Diego,

thank you very much. It worked.

I tryed something with h1 because I thought the page break belongs to the heading but it isn?t.

The class pagetitle with the property page-break-before: auto is the correct one.

Thank you again and best regards


author: Diego
body: Glad to know I was able to help you out!

If you ever need help, come share with us in the Community.


Tags: confluence-server

export

pdf

server
Migrating from jTDS to MS SQL Driver problem
Asked by ICT Support:

Hi,

After updating to the latest version of Confluence I received a 'Confluence had problems starting up' error. I was told we needed to migrate away from jTDS and use the Microsoft SQL Driver instead, so I followed the instructions and made the switch in the confluence.cfg.xml file:

```
 <property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
```

and the url to:

```
 <property name="hibernate.connection.url">jdbc:sqlserver://<MSSQL Server>:1433;instanceName=<Instance Name>;databaseName=<Database Name>;</property>
```

After making these two changes I restarted the server but I'm still getting the 'Confluence had problems starting up' error, it reports 'Database: Database connection failed'. Checking the atlassian.confluence.log file I can only see:

```
com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user 'confluenceuser'
```

The login details haven't changed so I'm not sure what the issue is.

Thanks


Answers:
author: ICT Support
body: I ended up answering my own question, I'd assumed that the URL that had been in the confluence.cfg.xml file had been in there all along from previous versions, as it turned out it was something the Confluence installer had cooked up and it was wrong.

Port 1433 is allocated to another SQL instance on that server, when I removed it and it used a dynamic port that the Confluence SQL instance uses it connected straight away.


Tags: confluence-server

server
Meeting notes in Cloud Confluence always create a new sub-page within the space - new feature?
Asked by Radek Amruz:

Hi,

lately I've noticed that, when I use "Meeting notes template", that the page is created under a new "Meeting Notes" sub-page within the space, instead of being created under the sub-page, where I tried to create it (I've double checked the path within the edit of the page, it seemed to be about to be placed, where I wanted it to be).

Is this a new "feature"?

Thanks,

RA


Answers:
author: Suren Raj
body: Hi Radek,

Our development teams are working on the Confluence editing improvement features. As a result of this, they have rolled out few changes and Meeting Notes are part of it. The change in parent page of any page created using Meeting Notes is the residue of the new editing feature being rolled out.

However, I would like to suggest you a **workaround** for this issue:  
Once the new meeting Notes page is created under **the Meeting Notes index** page, you can manually move it by dragging and dropping to the parent page you wish, with proper permissions.

Cheers

Suren Raj

comments: author: Radek Amruz
body: Hi,

I am already doing the "workaround" (where I usually also want to delete the newly created sub-page, as it doesn't make sense to have it). May I ask, when is this issue going to be solved?

Thanks,

RA


author: Natalie Gould
body: Thank you so much for reporting this, Radek.

We also have been unpleasantly surprised by this behavior.

Suren, I can't tell from your answer if this is expected new behavior or it is a bug that the development team will be fixing.

If it is a bug, can you tell us the timeline of when it will be fixed?

If it is a feature, is there already a Jira Issue started for people to report they don't like it?

The work around is something I could do for a short while, but it is very frustrating long-term. We keep meeting notes with the related project, not all mixed together for an entire space.

Thanks!


author: Radek Amruz
body: Hi,

FYI there is also a ticket [https://jira.atlassian.com/browse/CONFCLOUD-65626](https://jira.atlassian.com/browse/CONFCLOUD-65626?)

Atm it looks like, that Atlassian is ignoring the issue.

Regards,

RA


author: Natalie Gould
body: Thank you, Radek. I'm sharing it with my company to vote.

I hadn't even gotten to a project that was sensitive, so it hadn't occurred to me the really terribly privacy implications of this behavior noted in that issue!

Hopefully they will take note of this soon.

Natalie


author: Richard Buonauito
body: this is also an issue with our project. the meeting notes page is created under "archive", and teams have to go and manually move it. a terribly annoying bug, and it's odd because this wasn't an issue about a month ago. not sure what happened. hopefully Atlassian fixes it


author: Dylan Elkhart
body: For those who have Space or Admin permissions I simply copied the template content and created a new template (with a few minor modifications). I've found when I use my version of the template it doesn't create the sub-page. Hope folks find that useful!


Tags: cloud

confluence-cloud

meeting-notes
rewrite to confluence with IIS
Asked by geolab has:

hello  

I have a problem (maybe a question which the answer is given before but not given a solution for us).  

when rewriting with IIS to confluence 6.12.2 version we get a strange bug (see image below).  
![confluence_bad.PNG](/t5/image/serverpage/image-id/45853i12F5303995037751/image-dimensions/477x290?v=v2 "confluence_bad.PNG")  

he has to look like this:  
![confluence_good.PNG](/t5/image/serverpage/image-id/45854i4D251E7A8DBF5526/image-dimensions/478x226?v=v2 "confluence_good.PNG")  

The rewrite in IIS is done as shown below, does anybody know a solution to repair the rewrite.

![rewrite1.PNG](/t5/image/serverpage/image-id/45852i71B5CF478BD0BC50/image-dimensions/315x351?v=v2 "rewrite1.PNG")


Answers:
author: Diego
body: Hello there! Could you clarify some points for us:
> 1. Has this worked **at some point in the past**?
> 2. Is this your **productions instance**?
> 3. What was the **answer provided** in the past for you, regarding this issue?
> 4. Does Confluence work **without the proxy**?
> 5. What **version is your IIS** currently?
> 6. Were you able to check the **documentation on URL Rewrite** for IIS?
> 7. Could you share **more informatio** **n**on the current settings for IIS?
> 8. Could you share more information on **how was IIS setup**?
> 9. Is this proxy also serving **another application**?

Also, could you clarify if your proxy meets the requirements here:

**[Proxying Atlassian server applications with Microsoft Internet Information Services (IIS)](https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-microsoft-internet-information-services-iis-833931378.html)**

You can find the documentation for URL rewrite on the link above.

Let us know!

comments: author: geolab has
body: the answer was solved with your suggestion, thanks!


author: Diego
body: Glad to know our documentation was able to help you out!

If you ever need assistance again, come share with the Community.


Tags: confluence-server

server
Adding a custom button to the system.space.tools-area
Asked by Marcel Hunfeld:

Hello,   
I want to add a custom button to the space tools area using the web-item module to customize my confluence plugin. Therefore I tried to follow [this](https://developer.atlassian.com/server/confluence/writing-a-space-admin-screen/) tutorial, but changed the section to just system.space.tools.

```
    <web-item key="space-admin-quick-link-manager" name="Quick Link Manager in Space Admin" section="system.space.tools" weight="100">        <label key="space.admin.quick.link.manager" />        <link linkId="space-admin-quick-link-manager-id">/plugins/${project.artifactId}/add-link.action?key=$generalUtil.urlEncode($helper.spaceKey)</link>        <conditions type="AND">            <condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.SpacePermissionCondition">                <param name="permission">administer</param>            </condition>                    <condition class="com.atlassian.confluence.plugin.descriptor.web.conditions.SpaceSidebarCondition"/>        </conditions>    </web-item>
```

But unfortunately, my Button won't appear, nor do I get an error or something.   

Has anyone tried something similar in the past?

Thanks for your help in advance!   


Answers:
author: Bill Bailey
body: Some observations:

* Not all menu locations are extensible. I saw a list someplace but cannot find it now.
* Did you try the tutorial as is? Did it work?
* The tutorial says it applies to Confluence 5.x. Not clear if it is applicable to 6.x.


Tags: confluence-server

server
Some users need to
Asked by Ulrika Hofmann:

Hi

Two persons in the Jira Cloude we are working with need to enter there E-mail the first time they trying to enter Confluence. What do I need to do?

___________________________________________

I need to access Confluence to see a specification that XX has uploaded, but when I click on the "Switch To Confluence" option from within Jira, I get presented with a screen that asks me to enter email addresses suggesting to me that it's trying to setup something new. Perhaps my account does not have permission to access it? I've checked with my colleague and he has the same problem.

Thanks,


Answers:
author: Ulrika Hofmann
body: It's for two that it doesn't work.  
I know it works well for at least four people.


author: Eugen Styrz
body: Is the user prompted to log in again in Confluence or what do the user mean with "suggesting that it is tryning to install something new?" If the user has not the permission to see the content he would see a screen to ask for access.

If the user is just prompted to log in again, then this could be e. g. a proxy issue - caused by a connection time out and therefore an automatic log out after x time.

Hope i could give you a direction... to specify the Problem more clearly.

Best Eugen

comments: author: Ulrika Hofmann
body: ![pop.png](https://community.atlassian.com/t5/image/serverpage/image-id/45868i018C3CD8EBF65284/image-size/large?v=v2&px=999 "pop.png")This is the popup he gets


author: Eugen Styrz
body: Are only the 2 users getting this issue or is it the same behavior for all users? Did you check that? If so... just for this users, maybe they schould clear their cache. Strange thing if only 2 users are affected.


Tags: cloud

confluence-cloud
How to add link target with Confluence page editor when Anchor macro is missing?
Asked by Rob Schl?ter:

I want to create a link target in a Confluence page to link directly to a header in the page. The [documentation](https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html) describes that there is **Anchor** macro to define such a target.

When editing the page this macro does not exist. I tried 2 ways to get it:

* typing / (slash) followed by *anchor*
* open the list of macro's with *Insert* - *View more*

Without the **Anchor** macro how can I define a link target in a page?


Answers:
author: Sean Manseau
body: No solution to offer, but I too am dealing with the missing Anchor macro.


author: Jared Brenner
body: Hi Rob,

That's pretty weird that the Anchor macro isn't available. If that header is formatted as a Heading you can always just add a hyperlink formatted as follows:

URL/#PageTitleNoSpaces-HeadingNameNoSpaces

So the anchor URL for a page titled "Team Landing Page" with text "Team Announcements" formatted as a Heading would appear as follows:

URL/#TeamLandingPage-TeamAnnouncements

A user following that link would see their page jump to the top of the Team Announcements Heading.

Good luck!


author: Zak Laughton
body: Hi Rob!

<br />

I'm not familiar with the slash key or "View more" menus related to macros, but there are other ways to find macros. Let us know if you're able to find the macro with either of these methods:

* Type an opening curly brace { and then type "anchor".
* Click the "Insert more content" dropdown in the editor, click **Other macros** , then search "anchor" in the "Select macro" dialog box.  
  ![Screen Shot 2019-02-15 at 10.19.40 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/45888iC6B84BEAEF410E79/image-dimensions/139x75?v=v2 "Screen Shot 2019-02-15 at 10.19.40 AM.png")

I hope this helps!  
--Zak

comments: author: Rob Schl?ter
body: That does not work.

Can it be caused by the new page editor, I remember choosing it when creating the page? But I did not understand it would change the available macros.

edit: Just saw [this comment](https://community.atlassian.com/t5/Confluence-discussions/Try-out-the-new-editing-experience/td-p/1000813#M3613) that the anchor macro is missing from the new editor.

The "Insert more content" is not present, but I see this:

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

It contains the option **... View more** which show the list of macros. But the "anchor" macro is not included there.

Entering { followed by "anchor" puts that text in the document.

I will recreate a page with the "normal" editor to see if that solves the problem.


Tags: cloud

confluence-cloud

macro
How to disable edit permissions in confluence space?
Asked by Tony Montana:

Just <https://confluence.atlassian.com/confkb/child-page-does-not-inherit-page-restrictions-from-parent-page-637960213.html>  

But we need to limit the editing restrictions.


Answers:
author: Dave Bosman [Realdolmen]
body: Hi [@Tony Montana](/t5/user/viewprofilepage/user-id/618001)

Currently this is not possible for the entire tree so you will have to do it manually for each page.

There is feature request for this <https://jira.atlassian.com/browse/CONFSERVER-5095?_ga=2.55239275.1723528854.1550127847-242478790.1537430518>

If you need it, then vote for it. The more votes, the more likely that Atlassian will implement it.

Best Regards

Dave

comments: author: Tony Montana
body: And for that world paid billion dollars every months?

.....


author: Dave Bosman [Realdolmen]
body: Hi [@Tony Montana](/t5/user/viewprofilepage/user-id/618001)

There are a lot of features that you could need/want but not everything is in there and that is a good thing to, because Confluence would become very bulky and hard to manage i guess.

Atlassian constantly improves their tools but they prioritize according to what users need and what is important. Eventually it may or may not be added into Confluence.

But for me it seems that it is good as it is.

For example: You create a page that has a sort of an index with underlying pages and a button to create new pages under that page. It would be normal that you can not edit that page, but you should be able to edit the other underlying pages.

They allow for creating custom plugins (that you can even sell/buy on their marketplace) so you could look into that if you really need that functionality.

Best regards

Dave


author: Tony Montana
body: [@Dave Bosman \[Realdolmen\]](/t5/user/viewprofilepage/user-id/1839428)

This does not affect the Confluence and its complexity. These are basic (!) things.


Tags: confluence-server

server
How include Jira Board in confluence page
Asked by Bamboo:

Jira cloud with Jira software, Jira, Jira Service desk, confluence and BitBucket.

We just added Jira Software for the Kanban Boards.

I want to include Kanban boards from Jira into a confluence page.

I see no gadget to do this.

Some seem to suggest I should see "Agile Wallboard Gadget" - I do not

I can see the Tello board gadget and Trello card gadget, but it does not recognise the Jira board URL

Any help would be great - thanks


Answers:
author: Diego
body: Hello there! Thanks for sharing with the community.

Could you clarify some points for us:
> 1. Has this worked at **some point in the past**?
> 2. Are other users also **unable to insert**the Agile Wallboard?
> 3. What happens if you **type {** and start the macro search for Agile Wallboard?
> 4. Do you have **boards created** in Jira?

You should be able to see Agile Wallboard Gadget in your macro search. After inserting this macro, you can select the desired board.

Further, could you send us screenshots of the results when you search for the Agile Wallboard Gadget? Please, be careful to **not disclose any sensitive information** in those screenshots.

Let us know!


Tags: board

cloud

confluence-cloud

kanban
how to test excel macros in testing, what are steps follows
Asked by kerryjohn:

Anyone can tell me how to test excel macros in testing please tell step by step.


Answers:
author: Shannon S
body: Hello Kerry John,

Can you tell me exactly what you're trying to do? Are you developing an add-on, or do you want to see how the Excel Macros work in Confluence?

Regards,

Shannon


Tags: developer

ms-excel
Is there a Confluence Cloud Rest API to get list of all users?
Asked by Doc Gen:

Hello,

I need to show list of Confluence users in a picker. Is there a way to retrieve list of Confluence Users via Cloud Rest API?

Thanks,

Sheff


Answers:
author: Warren
body: Hi [@Doc Gen](/t5/user/viewprofilepage/user-id/739450)

[This](https://developer.atlassian.com/cloud/confluence/rest/#api-user-get) is the documentation for the API.

For getting all Jira users, I pass in

```
?startAt=0&maxResults=1000&username=%
```

but be aware that username is about to be deprecated

comments: author: Doc Gen
body: Thanks [@Warren](/t5/user/viewprofilepage/user-id/26839)

the issue is the api you mentioned is for Jira. I am looking for same / similar api in confluence.


author: Warren
body: Hi [@Doc Gen](/t5/user/viewprofilepage/user-id/739450)

Sorry, I didn't actually try this, I just assumed that the Confluence API call would behave the same way as the Jira one, which it doesn't :-(

According to [this](https://community.atlassian.com/t5/Confluence-Cloud-questions/Is-there-a-way-to-get-all-users-list-using-Confluence-Cloud-REST/qaq-p/792981), what you need to do is run a group query

```
GET /wiki/rest/api/group
```

then for each group, get it's members with

```
GET /wiki/rest/api/group/{groupName}/member
```

I've tried this and it works, it just seems crazy having to do it this way


author: Doc Gen
body: Hello [@Warren](/t5/user/viewprofilepage/user-id/26839)

Thanks for the quick reply!! I have tried this API in the past. As you mentioned, it gets crazy if the number of groups are too many . I wish they can expose the User Search Rest API in Confluence Cloud as well, similar to what is available in the JIRA Cloud.

It is really annoying to look up users via groups specially when you have to keep refreshing your pool to make sure you have the updated list.

Thanks!!


author: Move Work Forward
body: There is a user search API - <https://developer.atlassian.com/cloud/confluence/rest/#api-api-search-user-get>


Tags: confluence-cloud

rest-api

user
Ensure Confluence Knowledge Base is not indexed by google?
Asked by Shubha_Bala:

Our Confluence Knowledge Base is public but we'd rather it didn't show up in search results for our organization.


Answers:
author: Krisztian Kovacs
body: Hi [@Shubha_Bala](/t5/user/viewprofilepage/user-id/2123490),

is this what you're looking for: <https://community.atlassian.com/t5/Jira-questions/Where-to-put-the-robots-txt-file-on-standalone-confluence-or/qaq-p/141572>

Let me know if that helps.


Tags: cloud

confluence-cloud
Why can't Confluence truly search?
Asked by Eric Tyrrell:

You can search for documents, but once you view a result (PDF, word, page, etc), it doesn't highlight the matches. Even worse the built in PDF and browser search is disabled so there's really no way to find what you're looking for! How are people supposed to find anything if the document is longer than a page?

I thought the 6.14 update might fix this obvious omission but it doesn't seem to. I'm at a loss.


Answers:
author: Diego
body: Hello there Eric!

The highlight feature could be the one mentioned under this **Feature Request:**

**[CONFSERVER-6174 \| Search terms should be highlighted in pages](https://jira.atlassian.com/browse/CONFSERVER-6174)**

The current course of action would be to **vote and watch**the report! Voting increases the report visibility and watching will keep you up to date with everything.

Let us know!
Exporting data from demo version
Asked by Doug Ledbetter:

We had a demo of Confluence where we created some content. That demo expired and we purchased the 10 license starter license.

Now, we would like to export data from the demo version. I got an updated demo license and applied it, but it's not starting up. The screen gives these error messages:

1. Pre-Upgrade recovery file generation failed.  
Please refer to <https://confluence.atlassian.com/x/ropKGQ> for possible solution. (Failed to generate recovery file)

2. Post-Upgrade recovery file generation failed.  
Please refer to <https://confluence.atlassian.com/x/ropKGQ> for possible solution. (Failed to generate recovery file)

3. Unable to start up Confluence. Fatal error during startup sequence: confluence.lifecycle.core:mananagedjobs (Start and stop the Managed Scheduled Jobs) (JDBC exception on Hibernate data access: SQLException for SQL \[n/a\]; SQL state \[HY000\]; error code \[50000\]; could not extract ResultSet; nested exception is org.hibernate.exception.GenericJDBCException: could not extract ResultSet)

I can provide logs if necessary.

Thanks,

-Doug


Answers:
author: Mihai Schwarz
body: hi [@Doug Ledbetter](/t5/user/viewprofilepage/user-id/2725134)- check this link <https://community.atlassian.com/t5/Confluence-questions/Confluence-had-problems-starting-up-after-upgrading-to-6-12-1/qaq-p/936375>

comments: author: Doug Ledbetter
body: That article, if I'm reading it correctly, means I'm out of luck. I didn't manually kick off an upgrade. I just applied an updated demo license and then it automatically tried to perform an upgrade. The pre-upgrade recovery file generation failed.

Other suggestions?

Thanks,

-Doug


author: Mihai Schwarz
body: [@Doug Ledbetter](/t5/user/viewprofilepage/user-id/2725134)try to revert the changes you've made. After you've reverted the changes, make a full backup from Confluence. Configure a new instance and restore it using the XML backup.  

<https://confluence.atlassian.com/doc/manually-backing-up-the-site-152405.html>


Tags: confluence-server

server