youngmon/atlassian-qna huggingface dataset:
How to skip a page in PDF Export Space?
Asked by John McGehee:

I created a user documentation space. It naturally has a dashboard page that is useful when users access the space on line, but meaningless when the space is exported to PDF.

When I export the space to PDF, it is possible to do a custom export and un-tick the dashboard page to get a nice PDF. Still, this is somewhat inconvenient. Further, not exporting the dashboard page seems common enough that it should even be the default.

Is there a way to set a page so it is *always* skipped when exporting a space to PDF?

* Move the dashboard page outside the documentation space?
* Assign a label like "no-print"
* Hide the dashboard page using CSS?


Answers:
author: Bruce Michelsen
body: You could apply a user restriction to pages, then log in as that user to generate the PDF.


author: Nicolas Casel
body: Hi all,

At the moment, users can export to PDF the page they are viewing. However, they cannot export the full wiki or even some pages by "one-click" (as administrators do).

So, is there a way for "standard" users to such a thing? Maybe with a specific macro?  
Thanks in advance,  
Nicolas


author: Steffen Heller
body: > Is there a way to set a page so it is *always* skipped when exporting a space to PDF?

Short answer: No

What you can do, has already been said:

* Do a custom export and choose which page to export or not: more work
* Create a no print macro: this can hide content but still exports the page as a whole
* Try to find a solution with page restriction: not sure if there is a good one


author: Davin Studer
body: Go to Space Tools -\> Content Tools -\> Export. Select PDF. Then click Custom Export and only select the pages that you want to export to PDF (Exclude the dashboard page).


author: Bruce Michelsen
body: You can use show-if and hide-if macros around content in a page to allow or prevent content appearing in a PDF, but you cannot prevent a page from appearing in PDF (except when unmarking a page from a Space PDF Export).


author: John McGehee
body: Yes, I have studied that page. Could you be more specific about where it tells how to skip a page?


author: William Zanchet [Atlassian]
body: Hey John,

Not sure if you have stumbled into this documentation:  
<https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF>

I believe this should answer your questions.  
Cheers,  
WZ


Tags: confluence-administration
Edit RSS Feed
Asked by richardofrugeley:

I recently generated an RSS feed, and can view it in IE.

Where do I go to change the settings? I remember one to include the page content or not, and I want to turn it off.


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Richard, you can create a new feed changing settings, using the help icon on the top right of your screen - and selecting the *Feed Builder* . You can use [this doc](https://confluence.atlassian.com/display/DOC/Using+the+RSS+Feed+Builder) for reference.


Tags: rss
It is possible to make search by root causes or potencial error?
Asked by Rodrigo Segovia:

We need to develop a Knowledge data base that includes lessons learned , and what im trying to do know is to for example make a search by for example a root cause or potential error ?:

Potential error

Hood does not open or close

cause

Hydraulic lines kinked.

Thanks for your attention.


Answers:
author: Stephen Deutsch
body: Depending on how your data is stored, you might set up a table in the page like this:

--------------------------------------------------------------

\| Type \| Reason \|

-------------------------------------------------------------

\| Potential Error \| Hood doesn't open/close \|

-------------------------------------------------------------

Then, since Confluence ignores whitespace in your search, you could just search for "Potential Error Hood doesn't open/close" (in quotes, so you search for the exact value).

The only problem with this approach is that you cannot use and, not, and or in your text, since Confluence uses those as reserved words and does not index them.

Another option would be to put the information in the page properties macro: <https://confluence.atlassian.com/display/DOC/Page+Properties+Macro>

and put the report into a page: <https://confluence.atlassian.com/display/DOC/Page+Properties+Report+Macro>

and then you could sort the report table by potential error/root cause.

comments: author: Davin Studer
body: I would second the page properties and page properties report approach.
How to get overview of tasks on a confluence site / project?
Asked by Hannes Binder:

Hi all,

can't find an easy way to get an overviews about tasks of a confluence site / project. We took tasks in meeting-notes with datepicker - now we want check overdued tasks.

thanks for your help.

kind regards

hb


Answers:
author: Davin Studer
body: The task report macro is for this very purpose.

<https://confluence.atlassian.com/display/DOC/Task+Report+Macro>


author: Hannes Binder
body: Thanks. That's what I need.

regards.

comments: author: Steven F Behnke
body: Mark Davin's answer as correct ! :)
Advanced Tables for Confluence On demand don't work
Asked by Philippe Botella:

on the administration panel, yhis information is displayed :  

Error: This add-on could not be loaded. It has one or more errors that prevent it from being enabled. {#toc-hId-1900381663}
===========================================================================================================================

What can i do ?  


Answers:
author: Mauro Badii
body: Hi Philippe,

Please file a support request at https://support.atlassian.com to get assistance. There is a problem at the moment with the Advanced Tables Macro tracked at <https://jira.atlassian.com/browse/CONF-37270>

Cheers


Tags: cloud

confluence-cloud
Multi-part table
Asked by adambadura:

I have a long table. I decided to divide it on multiple `<tbody>` parts. But I noticed it causes many issues.

First I wanted to add possibility to expand/collapse those parts of the table. But apparently `<ac:structured-macro>` cannot wrap only `<tbody>` (and thus be inside of a `<table>`).

Then I tried Table Plus Macro. This would also provide me benefit of controlling which columns sort, showing initial sort and adding auto-numbering. But it seems to be incapable of dealing with multiple `<tbody>` as well.

I have considered just making separate tables. But then I would not be able to align column widths in all the tables without explicitly setting them. (I don't want to set any particular size as I want them to adapt to content.)

Also since I have multiple `<tbody>` parts each of them starts with a header-row. The row contains only one column (spanned across entire table) with a header for the following part. And this prevents column sorting in ordinary tables (in fact any spanning seems to do so). And Table Plus Macro seems to be unable to treat such row differently (not sort it, not auto-number it). The first one can be included in heading and thus avoid problems but any others (inside the table) remain.

Any advice how to deal with such tables?


Answers:
author: Steffen Heller
body: I agree, more control for long tables would be nice.

My ideal would be tables with support for multiple \<tbody\>. Each \<tbody\> should allow precise control over column widths and make it easy to define where and when to sort and where and when to force or allow page breaks. colspan and rowspan should not interfere with any of that. Page breaks should come with an option for repeated headers plus customisable info text before the break. All table elements (\<thead\>, \<tbody\>, \<tfoot\>, \<tr\>, \<td\>) should be easily addressable with CSS and support nth-child(odd)and nth-child(even) for flexible colouring or other adaptions.


Tags: table

table-plus
Merging user names in Confluence and JIRA
Asked by Raju Adluru:

I need some help in merging user names by running SQL scripts or by other means

Our Confluence ver 5.6.5, MS SQL 2012. JIRA ver 6.3.12

here is our scenario, we are using Crowd Authentication with AD accounts.

we have Confluence internal users with this format - rt-john-smith, same for JIRA also

we have Crowd internal users with same format as above - rt-john-smith

we want to move to AD accounts authentication with this format - jsmith

how can i merge above Conf internal and Crowd internal users accounts with AD accounts, so that all user history/actions are saved with new user id.

we are disabling Crowd and Confluence internal users, but users are complaining that their history is not showing up.

in above scenario - user email is same, user first name and last name also not changing, only user name needs to be changed.

Appreciate your help any ideas or workaround for this.

thanks

Raj


Answers:
author: Nick Neumann
body: We have a similar scenario. The only difference is, that we also want to be able to merge internal users form JIRA with our AD-Users in Crowd. Did you ever find a solution for this?


Tags: confluence-administration
confluence copy page tree did not copy comments
Asked by Paul DeSousa:

Hi all,

Does anyone know how to get copy page tree to also copy the comments or if there is another solution out there that does?

Thanks in advance,

Robert


Answers:
author: Rodrigo Girardi Adami
body: Hi Robert,

As far as I know, this is a limitation of the plugin. You may want to check with the [plugin vendor](https://marketplace.atlassian.com/plugins/com.nurago.confluence.plugins.treecopy) if this can be opened as a feature request.

I'll leave this case opened so others can participate and contribute as well.

Cheers,

Rodrigo

comments: author: Paul DeSousa
body: Thanks Rodrigo, I already have asked the vendor. Since I had access to the best forum, I decided to check here as well since I have not heard back. :-)Cheers,Robert


Tags: confluence-app

copy

page-tree
How do you include Excerpt to include titles into a table of contents macro?
Asked by Marcia Cote:

I've used Excerpt to Include within a space and want the title of those sections to display in the Table of Contents macro. How can I do this?


Answers:
author: Marcia Cote
body: I have found a work around. Thank you!


author: Kirstin Seidel-Gebert
body: I don't know, if I got your question right, Marcia.I have a page in a Confluence Space. This page contains headings and, additionally, includes an excerpt that again contains headings.If I put a toc on this page, it will contain all headings: the ones of the original page and the ones of the included content. No need to make some special configurations.


author: Marcia Cote
body: Didn't even realize I had Jira tagged. Thank you!


author: Kirstin Seidel-Gebert
body: You labeled this question with "jira-usage". Isn't it a Confluence-related question?

Cheers,  
Kirstin


Tags: content
We moved from self hosted to Atlassian hosted Confuence and I can't figure out how to update things using the REST api
Asked by Pat Corwin:

I'm using python + requests, have read <https://docs.atlassian.com/atlassian-confluence/REST/latest/> and <https://developer.atlassian.com/confdev/confluence-rest-api/confluence-rest-api-examples> but can't get it working.

I am new to REST but have been doing python for years so maybe there is something easy I'm missing. When locally hosted, the provided python example worked simply substituting our domain. Now I've substituted for the new domain but just get 404s back. This is extremely frustrating.


Answers:
author: Joe Clark
body: Hi @Pat Corwin,

Make sure you've got the REST API URLs correct - They will be of the form "**https://\<yourdomain\>.atlassian.net/wiki/rest/api/latest/\<method\>**"

People often forget the "/wiki" part when using the APIs in the Atlassian Cloud.

Cheers,  
Joe.

comments: author: Pat Corwin
body: Thanks, "/wiki/" was totally it. It might be helpful to note that in either of the pages I linked to in the question. I didn't even notice that change and it appears others don't either.


author: cgauterio
body: Hi Pat,

Please make sure your domain is set to [https://instance.atlassian.net/wiki](https://instance.atlassian.net/wiki.) and not just <https://instance.atlassian.net.>

If that doesn't help, please clarify a little on what error you are receiving, and which call you are using.

I hope this helps.

Cheers,

Clarissa.


author: rsperafico
body: Hello Pat,

Thank you for your question.

As @Joe Clark \[Atlassian\] has mentioned, there are things to be considered, most likely the URL used and the context path (wiki).

Please, find below an example in Python to the [/rest/api/content](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e691) \[[GET](https://docs.atlassian.com/atlassian-confluence/REST/latest/#d3e694)\]:

```
# ===============# get content# ===============import requestsimport json# [CONFLUENCE-BASE-URL], i.e.: https://&lt;yourdomain&gt;.atlassian.net/wikiurl = '[CONFLUENCE-BASE-URL]/rest/api/content'headers = {'Content-Type': 'application/json'}# get content page# [USERNAME], i.e.: myuser# [PASSWORD], i.e.: passABCr = requests.get(url, auth=('[USERNAME]', '[PASSWORD]'), headers=headers)print(r.status_code)print(r.text)#print(r.content)
```

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

---

Kind regards,  
Rafael P. Sperafico  
Atlassian Support


Tags: cloud

confluence-cloud
"Recent questions" macro does not show Space questions
Asked by Andrei [errno]:

re: Confluence Questions

is it by design? or am I missing smth?

In "Recent questions" with tag "xyz" I can see all questions tagged with "xyz", which have been opened at my.confluence.com/questions. yet if a Q was opened in [my.confluence.com](http://my.confluence.com)/display/MYSPACE/questions/all - it does not show up in recent questions macro-generated list.

other info:

* using the same tag
* space does not have any "view" restrictions, so wide open

thanks


Answers:
author: Bruno Raymundo
body: Hi!

You can definitely see recent questions in your spaces, but first you have to make sure that Confluence Questions is properly integrated with your spaces. The steps to do so are explained in detail in the following article:

[Integrate questions with your spaces](https://confluence.atlassian.com/questions/integrate-questions-with-your-spaces-407724495.html)

Can you please take a look? I believe you'll be able to achieve the correct functionality. :wink:

Cheers,

Bruno


Tags: questions-for-confluence

recently-updated
Sync Confluence between Atlassian Cloud instances
Asked by daniel:

We are working with a digital agency which is a licensee of the Atlasssian Cloud--Confluence and Jira. Our organization, would also like to license Confluence and possibly also JIRA. If we have Confluence or Atlasssian Cloud, is there a way to sync data between the instances?

For privacy reasons, they would prefer us not to have direct access to their instance. And for ease of exchange of data, we would eventually like to sync the documentation, requirements and test cases that we would develop with in Confluence with their JIRA once we are in the maintenance phase. But it would also be convenient to sync between the two Confluence instances as well.

I appreciate any insight you all might have.


Answers:
author: Bob Swift (personal)
body: Publishing to another site is easier than synchronizing. [Confluence Command Line Interface (CLI)](https://bobswift.atlassian.net/wiki/display/CSOAP) could help with that. Specifically, [copyPage](https://bobswift.atlassian.net/wiki/display/CSOAP/Reference#Reference-copyPage) and similar actions that copy to a target server.

comments: author: Mark Thomas
body: Hi Bob, this sounds interesting does the CLI interface allow, to be done daily ? or on a schedule. We use the cloud version.


author: Bob Swift (personal)
body: They are just commands, so you can put them in your favorite job scheduler. Or better yet, Bamboo is a great way to schedule automation.


author: ChristopherChilds
body: A little late to the party. But do we need to install the CLi tool in both Source and Destination? or only in the source location?


author: Takafumi Ohtake -Ricksoft-
body: (Please note that I'm one of the folks behind Ricksoft that is the vendor of Space Sync for Confluence, there may be other solutions out there.)

Hi,

There are other apps to resolve your problem currently.  
Space Sync for Confluence is one of them.  
You can have the same data in multiple Confluence Cloud instances.  
It doesn't need user accounts in another instance.

[Space Sync apps](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=sync%20space%20page)

If you don't want to use apps, sending exported pages or spaces might be a solution to share data with partners.  
<https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html>


Tags: cloud

confluence-cloud

jira-cloud
Converting spaces to pages
Asked by Rethabile Morena:

Good day,

Pleas advise how do we go about converting a space into a page?

Regards

Rethabile M


Answers:
author: Nic Brough -Adaptavist-
body: I think we need a bit of context on that question. A space can have thousands of pages, so "converting" it into a single page probably isn't useful. Could you explain roughly why you think you want to do this?

comments: author: Rethabile Morena
body: Good day Nic,

Well we have onboarded a different department onto our instance of Confluence, as it had seemed pointless for them to get more licences whereas we have enough to accommodate them too.

A decision was made to have them work under 'Space B' and chuck everything under there (makes it easier to navigate/manage).

Currently, everything is captured as spaces, and we would like to convert those into pages and store them under 'Space B'. Hope im making better sense.

Regards

Rethabile M


author: Nic Brough -Adaptavist-
body: I'm afraid I understand that even less. Let me paraphrase what you just said back, so it's clear why I don't understand:You've got a new department who will use Confluence. You created "space B" for them to work in, and they've been happily adding things. Now you want to tidy it up, and store their work in "Space B". That sounds like there is nothing to do, but I don't understand "everything is captured as spaces".As I've typed that, I think I might have got a little more clear, but I'm not sure. Maybe you want their work to be under space B, but you've let them create loads of spaces instead, and now you want to consolidate it into space B? If that's the case, converting to a single page still doesn't make much sense - why not just move all the top level pages into space B?


author: TomC
body: I would just add my concurrence to Nic's response based on the understanding of your intended effort. If you move top level pages from other spaces into space B, then it sounds like it would solve your issue. Following Nic's advice would move anything underneath the top-level pages in those other pages as well, thus retaining any hierarchy that existed - so in a sense you have sub-spaces in space B that previously were the top-level pages and the pages underneath them.Are these other spaces you want to move into Space B in the same instance of Confluence?If that's what you are looking to do, then it's a nice, tidy solution.In other words:\>Home of Space B \>Top-level pages from other spaces moved as children under the home \>Each of these children have the pages that currently exist in separate spaces (their children/granchildren, etc.) now all located in this space (B)What I don't understand is


Tags: confluence-administration
It is possible to reset page version to 1?
Asked by Nick Donofrio:

I've gone numerous draft revisions of a page, but now our team wants to officially approve the final version and have it indicated as v1. Is this possible?


Answers:
author: Ethan Foulkes
body: Hi Nick,

You could also consider making a copy of it which would then be version 1. If you wanted to save the history of how you got there you could then make the original page with all versions a child page underneath it and perhaps restrict it down to yourself so others don't get confused. At the very least the copy method and deleting the original page could be much quicker if you have a lot of versions.

<br />

Best regards,  
Ethan

comments: author: UPWT
body: Good suggestion, hadn't thought of that.


author: Nick Donofrio
body: Ok, I think I found a way to do it. All you have to do is go to Tools \> Page History and then delete all the prior versions. The remaining version will be tagged as v1.

However, it might be helpful to save earlier versions as "drafts" so you don't lose the traceability. But once the page is approved it could switch from being a draft to being a version, e.g., v1.

-Nick


author: Paula Silveira
body: Hi Nick,

Please refer to [Restore a previous version](https://confluence.atlassian.com/display/DOC/Page+History+and+Page+Comparison+Views#PageHistoryandPageComparisonViews-Restoreapreviousversion) for further information.

Thanks and regards,  
Paula Silveira

comments: author: Nick Donofrio
body: Hi Paula,

I don't want to restore an older version. Let me explain further... If I have worked on a page and made numerous version over the course of several weeks with my team, but now I want to freeze the version, have the requisite stakeholders approve it... can I reset the version to be v1? I don't care about saving the old drafts (versions).

Thanks,

-NIck


author: Nick Donofrio
body: Thanks, Ethan! Very clever solution. I like it and I'll give a try.

Regards,

-Nick

comments: author: Ethan Foulkes
body: There's always a work around ;-)Please up vote the answer!


author: Nick Donofrio
body: Happy to oblige.
Custom fonts - PDF generation
Asked by Daniel Sadjadian:

Hi there,

I am working on the HTML and CSS files which style the PDF generation on my confluence wiki blog site thing.

I am using a custom font in my CSS code. I tried the code with a basic HTML and CSS file on my local machine and it works fine. However, when Confluence completes the PDF generation, it doesn't use or recognise the custom font. It just defaults to using Times New Roman or something like that.

How can I use custom fonts for the PDF generation in Confluence. Is there somewhere I can upload my custom fonts to confluence?

Thanks, Dan.


Answers:
author: Steffen Heller
body: Hi Daniel,

I have seen that you already discovered that thread at[Changing font-family in PDF export (OnDemand)](https://answers.atlassian.com/questions/259287/changing-font-family-in-pdf-export-ondemand)

There, I described how I upload a font file. Did you try that? Didn't it work?

comments: author: Daniel Sadjadian
body: Steffen Heller Thanks for your reply. i tried what you said but it did not work at all. Maybe I am not finding the right font name?


Tags: blog

custom-field

font

pdf-export

upload