youngmon/atlassian-qna huggingface dataset:
Best way to show lastmoddate of pages and child/grandchild pages in a space
Asked by Daniel Smith:

Hey there,  

I've got a user request to generate a table of certain parent and child/grandchild page groupings within a space ordered by last modification date.

They want to be able to see *how recently* particular parts of the space are updated and which are ignored.

Is there an SQL Query that anyone could suggest that would help with this?

My very basic example below does not pull in child pages but hopefully it will be enough to give you a sense of what I am trying to achieve (of course I imagine the solution will be much more complex to account for the child and grandchild pages). :smile:

```
select TITLE, LASTMODDATE from CONTENT Cwhere C.CONTENTTYPE="PAGE" AND C.PARENTID=12345678order by LASTMODDATE DESC;
```

Thanks in advance :smile:


Answers:
author: Matthias Krohn
body: Hi Daniel,

you can use the metadata-report macro for this purpose (see <https://marketplace.atlassian.com/plugins/org.andya.confluence.plugins.metadata>). Below an example configuration:

\<ac:structured-macro ac:name="metadata-report"\>  
\<ac:parameter ac:name="sort"\>Last Time Changed desc\</ac:parameter\>  
\<ac:parameter ac:name="root"\>My Parent Page\</ac:parameter\>  
\<ac:parameter ac:name="pages"\>@descendants\</ac:parameter\>  
\<ac:parameter ac:name="type"\>page\</ac:parameter\>  
\<ac:parameter ac:name="space"\>  
\<ri:space ri:space-key="My Space Key"/\>  
\</ac:parameter\>  
\<ac:parameter ac:name="maxResults"\>250\</ac:parameter\>  
\<ac:parameter ac:name=""\>Parent,Page,Last Time Changed,Last Changed By\</ac:parameter  
\</ac:structured-macro\>

This delivers a table with the following header:

image2015-3-24 10:40:39.png

Regards,  
Matthias

[](https://community.atlassian.com/t5/Confluence-questions/Best-way-to-show-lastmoddate-of-pages-and-child-grandchild-pages/qaq-p/67439?attachment-id=10658){#link_1188bc618c2cb1}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/11426/1/image2015-3-24%2010%3A40%3A39.png){#display_1188bc618c2cb1_0}


Tags: confluence-administration

mysql

sql
Is there a way to display transcluded content in the editor?
Asked by Identity:

Hello.

Is there any way to display transcluded content from other documents while in the editor?

Currently, the Transclusion macro only displays the transcluded content while viewing the page (in read mode) or when previewing the macro result. Is there a way to show that content inline while in the editor?

The objective would be to be able to document the documentation process. For instance, when a user is creating or editing a page, complementing content transcluded from another document, we'd like to show the Notes section inline in the editor, to aid the user on how to create content.

Thanks,

Jo?o


Answers:
author: Anton Kronseder _smartics_
body: Hello Jo?o,  

thank you for evaluating projectdoc!  

Unfortunately the projectdoc macros indeed only render in view mode.  

For documentation purposes we currently (version 1.2+) provide a help link for each section, and from version 1.5.0 on - which will be available soon - the Document Properties Marker Macro (the one that encloses the properties on top of every template) will also provide such a link. Maybe this suits your requirements to support your users in writing documentation?  

Currently the target for those links is configured with a JSON file attached to a page in your wiki.  

Here is the documentation for this feature in the current version (1.4.0) of projectdoc:<https://www.smartics.eu/confluence/display/PDAC1/documentation-json-uri>  

Kind regards,  

Anton


author: Identity
body: Thanks for the reply.

Although not the ultimate solution for supporting users, what you've described is certainly enough.

Regards, Joao.


Tags: macro
Open Link in New Window from Image
Asked by Neil Taylor:

Is it possible to open a link in a new window by clicking on an image versus text?

I've found documentation for opening in a new window from a text link, but is there any way to modify that to work from an image?

<https://docs.servicerocket.com/display/LIN/link-window>


Answers:
author: Guilherme Nedel [Atlassian]
body: Hi Neil, yes there is - it involves a bit of tinkering with Confluence customizations, you can review the [details here](https://confluence.atlassian.com/display/CONFKB/How+to+Force+Links+to+Open+in+a+New+Window).

It uses the following script:

```
&lt;script&gt;jQuery(document).ready(function() {    jQuery(".wiki-content a").attr("target", "_blank");});&lt;/script&gt;
```

You also have to enable the HTML Macro.


Tags: link

new-window
Query comments and answers in cofluence?
Asked by Carlos Quiros:

Is is possible to query the comments given to content and the answers to questions and export the result to an external file like CSV?


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

This may be possible using SQL commands directly into database and exporting the results to a csv file, although I'm not sure which tables you do need to query in this case to retrieve the results.

I'll leave this question open so someone who knows this may help.

Cheers,

Rodrigo


Tags: confluence-administration
Bug in Metadata Plugin is Causing Strange Behaviour on Recently-Updated-Macro
Asked by Jens Kasperek (Bosch GmbH):

We are using the latest version of the Metadata Plugin on our Confluence 5.5.6 instance. Unfortunately, we experience a strange behaviour once this plugin (in particular its module Metadata Extractor) is activated:

* If we rebuild the Confluence search index, afterwards we get problems that the recently-updated-macro is not showing information for some pages which means that the macro does not include all the pages that were modified.
* If we do another index rebuild from scratch, we get a another random result of the search index and the same or other pages are not included by the recently-updated macro.
* We could not identify issues on log with DEBUG on confluence.atlassian.search.lucene that are related to this.

If we disable the plugin or the module 'Metadata Extractor', search index is built properly and we do not have issues with the Recently Updated Macro. We spent much time to find out that exactly this plugin is causing this issue.

Is there anything known about this issue? If we disable the module 'Metadata Extractor', we still can search for data within macros of the Metadata Plugin. Therefore, I would like to know what we will miss if we disable the module on our production system?

Best Regards,

Jens


Answers:
author: Jens Kasperek (Bosch GmbH)
body: Hi Gorka,

Yes. The issue still exists! I just read the release notes and it does not seem that you touched the metadata extractor module. Did you?

Since I reported the issue we are running our Confluence without the metadata module, successfully.

Regards  
Jens

comments: author: Gorka Puente _Appfire_
body: Hi @jens+kasperek,I've created an internal issue to find out where's the problem. I'll keep you updated.Regards,Gorka


author: Gorka Puente _Appfire_
body: Hi @Jens Kasperek (Bosch GmbH),

We just updated the metadata plugin with a bug fix release, could you check if you have the same issues?

Regards,

Gorka


Tags: addon-org.andya.confluence.plugins.metadata

confluence-administration

lucene

recently-updated
Application link to JIRA from Confluence
Asked by Abhianv:

I have created an application link for JIRA in Confluence. When I create an issue out of confluence It sets "Reporter" field as the user configured in the JIRA Application Link. Is there a way so that "Reporter" field could be set as the current logged in confluence user?


Answers:
author: Eduardo Guzman
body: Then what you have to do is:

1. Enter to each server configuration and edit the server.xml inside "conf" folder. This is inside your JIRA_INSTALL folder (don't confuse with JIRA_HOME which is different).
2. In the contextPath add something like "/jira" or "/confluence".
3. Restart both servers
4. Connect to the URL with something like <http://192.168.123.100:8080/jira> \<- as you can see I'm adding the context path you entered.

This problem is because everytime you connect to the port it creates a new token, making you have to re-login everytime you switch apps, while using different context path allows you to have 2 different tokens so you can be log in at both.

comments: author: Abhianv
body: Thank you so much. All issues resolved :)


author: Eduardo Guzman
body: You have to:

1. change the Applications Links to use OAuth.
2. In Confluence's Further Configuration enable the Remote API option.

If the message still appears, try clicking the link (sometimes it shows an "Allow or Deny" connection message).

If that yet doesn't help...are you able to connect to both instances at the same time or everytime you enter Confluence, when you enter to JIRA it asks for you credentials again?

comments: author: Abhianv
body: Thanks for the reply, 1 and 2 are already configured as stated. When I am logged in into JIRA and click on a Confluence link , It always asks for credentials. The same is true for vice versa. I have permissions in the projects as well.


author: Jobin Kuruvilla [Adaptavist]
body: Are you using basic authentication for application links? If you use OAuth, the confluence user can map his id to a valid JIRA user.

comments: author: Abhianv
body: Thanks for the reply. I have disabled basic auth and enabled OAuth. Now in Confluence it says "You do not have permission to access any projects in JIRA". Is there a place where I need to do confluence-jira user mapping? Please advise.


author: Abhianv
body: I am an Administrator in both JIRA and Confluence.


author: Jobin Kuruvilla [Adaptavist]
body: being an admin doesn't grant you permissions in the project, Check your access by logging into JIRA using that id.


Tags: application-link

jira

reporter
What are the procedures to save, backup, restore and duplicate my confluence data? Where can I find the related documentation?
Asked by Udaya L?ost:

Hi,

I would like know how can I backup, restore and duplicate all my documents on Confluence?

Thanks for your help.

Udaya


Answers:
author: Geert Graat
body: Hi,

You can start here: <https://confluence.atlassian.com/display/DOC/Site+Backup+and+Restore>. What do you mean by "duplicate all my documents"?

Regards,

Geert

comments: author: Udaya L?ost
body: Hi Geert,

Thank you a lot.

By "duplicate all my documents" I mean that I would like to apply "redundancy" on my data. Maybe to have the possibility to install twice Confluence on two different servers and having my data duplicate on two instances.

Do you think it's possible?

Regards,

Udaya


author: Geert Graat
body: Hi Udaya,You can have a look at Confluence Data Center, which is a clustered version of Confluence: <https://confluence.atlassian.com/display/ENTERPRISE/Confluence+Data+Center>.Regards,Geert


author: Udaya L?ost
body: Thanks Geert,But I would like to install Confluence on my servers and no on Confluence Datacenters...Regards,Udaya


author: Geert Graat
body: Hi Udaya, that is exactly what Confluence Data Center is for: to run a clustered version of Confluence on your own servers. The hosted solution that Atlassian provides is called Atlassian Cloud.Regards,Geert


author: Udaya L?ost
body: Hi Geert, I don't want to use the Atlassian infrastructures but I would like to have redundancy on my data. How do you think that I can do?Regards, Udaya


author: Davin Studer
body: Udaya the Confluence Data Center version is specifically designed for high availability scenarios. That would be how you would do it if you want redundancy.


Tags: confluence-administration
Recover a deleted space
Asked by Julio Valdez:

Hi,

How do I go about recovering a deleted space/page in Confluence?

Confluence 5.6.5

Thanks in advance.


Answers:
author: J. Caldwell
body: If it is a deleted space, your only solution is to recover from backup. There is no safety net with those and those are permanent changes. You'll need to restore your backup into a test environment, then export that one space that you want to restore and import it back into your production instance.  

If you want to recover a page, that is easy. In that space, go to "Space Admin" -\> "Trash" and click "Restore" on the page you want brought back. The only time this won't work is if the Trash has been purged.


author: AnnWorley
body: J. Caldwell is correct. Here are some related docs:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=180295253>

<https://confluence.atlassian.com/display/DOC/Delete+or+Restore+a+Page>


Tags: confluence-administration
How can I sign up for HipChat when I already have a Cloud account?
Asked by Matt Brown:

When I try to sign up for HipChat, it tells me that there is already an account with my email address. My email address is used for my Crowd account, but the password for that account doesn't work for HipChat.   


Answers:
author: Elisa [Atlassian]
body: Hi Matt,

HipChat and Crowd don't communicate between them yet. This means, that you might have already created a HC account. What happens if you try to reset your password when trying to login (<https://www.hipchat.com/sign_in> - 'Forgot Your Password?') ? Have you tried that? If so, and it still fails, please raise a ticket with HC Support team at [support@hipchat.com](mailto:support@hipchat.com). They will be able to help you out on this matter. :smile:

Hope this helps!

Cheers!


Tags: cloud

confluence-cloud

hipchat
Team Calendars: How do you create a calendar event that user can sign-up for?
Asked by Jeanne Howe:

We want to be able to create events that users can sign up/register to attend. Is this possible in Team Calendars v5.1.7


Answers:
author: Guilherme V.
body: Hey JT,

Currently, you can't sign other users to an event, however, I found two feature request that is related to that, and we suggest voting in it in order to expedite its resolution.

* <https://jira.atlassian.com/browse/TEAMCAL-104>
* <https://jira.atlassian.com/browse/TEAMCAL-295>

Cheers,


author: Jeanne Howe
body: Anyone???? Atlassian???


Tags: confluence-administration

team-calendars-for-confluence
What is the purchasing process for add-ons with community licenses?
Asked by Scott Beeson:

I've seen a couple 3rd party add-ons I'm interested in, but when I go to buy them I get the following message:
> To purchase \<add-on name\> for Confluence for this license please [contact us](https://www.atlassian.com/company/contact).

I'm not ready to buy, I'm just curious what some of these cost, which results in this message. What is the process for buying add-ons for community licenses? Are they discounted?


Answers:
author: Bob Swift (personal)
body: Contact [sales@atlassian.com](mailto:sales@atlassian.com) and they will provide you with free licenses provided they are Atlassian Paid add-ons.


Tags: confluence-administration

confluence-app
Trying to edit a word document through confluence but it won't let me login.
Asked by Rasmus L?fstr?m:

Using Word 2013.

Tried firefox with webdav plugin installed and IE, latest version on both.

Tried multiple users as well but none of us are able to login.


Answers:
author: J. Caldwell
body: This could be a lot of things. You may not have permissions in the space to edit. Have you tried another space that you know you can create/edit pages in?

comments: author: Rasmus L?fstr?m
body: Definitely have permission and have tried in multiple spaces. Have tried different users as well (system admin and normal user) and the same thing happens. Not sure if there's a more efficient way to troubleshoot this.


author: J. Caldwell
body: What version of Confluence? Have you checked the plugins to make sure all modules are enabled? Was it working before, and if so when?There are multiple things I could think of that could be preventing you from getting in.1) domain\\user - Depending on your setup, sometimes you have to leverage domain\\user for the user name.2) Permissions on the attachment directories could be incorrect (although I would expect this to generate overall errors with attachments)3) Plugin conflicts


Tags: cloud

confluence-cloud

ms-office-connector
Removing Page Title from PDF Export
Asked by Joanne Lawler:

Is there a way to remove the page title from my PDF export? I have tried changing several things in the stylesheet but so far have not succeeded.

I am attempting to use confluence for company procedures and want more control over the title of the procedure \& therefore have included it in the body of the page. So I need to remove the page title from the export so that it is not displayed twice.


Answers:
author: Brian
body: Hi Joanne,

In my 5.6.4 instance, I'm able to hide page titles in the PDF export by adding the following CSS to the PDF Stylesheet, located in the Administration console:

```
.pagetitle h1, .pagetitle h2 { display: none; }
```

The first selector removes the title on single page exports, and the title of the home page in space exports. Using the second selector will remove the titles of child pages in space exports. Please try this out to see if it suits your needs.

Cheers,

Brian

comments: author: Fuad Dawabeh
body: Hi Brian.

Your suggestion helps remove the main title, h1 and h2. However, I just want to remove the main titile, not the headings. How can I do this?

Thanks.


author: Aleksandr Oliferuk
body: Hi! In Confluence Server 6.13 this solution doesn't work. You could use this code instead:

```
h1.title-header
{
  display: none;
}
```


author: Arto Juvonen
body: Hi,

The original question had its birthday already, but I had similar problem and wanted to share. I was wondering **how to remove title page from PDF export**.

This is easy to do. Just remove all "PDF Space Export Title Page" definitions in *Space Operations* AND also in Confluence's *General configuration*. Those definitions are located under Look and Feel / PDF Layout -categories in both settings groups, in space specific and in general settings.

Best regards,

Arto

comments: author: Member A -Team IC-
body: my PDF space export title page definitions are empty by default. how can I remove page title from pdf export?

Edit: The solution for applying pdf stylesheet to display:none works!


Tags: cloud

confluence-cloud
how to hide create button in the cloud
Asked by adrien k:

Hi I want to hide the liste od space and the create button on the top bar, how can I do that?

I am using confluence on the cloud.thanks a lot

best regards


Answers:
author: Nic Brough -Adaptavist-
body: To hide the create button, remove the "edit" permission from the users you want to hide it from.

You can't hide the list of spaces, but it will only list the spaces a user can see.


Tags: cloud

confluence-cloud
How do I make the Visibility Add-on Accessible?
Asked by Dan Campbell:

The Visibility Plugin is displayed and enabled in the Manage Add-ons page.

But within a site page if I try to add the macro, when searching it does not find it:

image2015-3-13 10:7:19.png  
[](https://community.atlassian.com/t5/Confluence-questions/How-do-I-make-the-Visibility-Add-on-Accessible/qaq-p/114715?attachment-id=11240){#link_1188be6744924f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/19089/1/image2015-3-13%2010%3A7%3A19.png){#display_1188be6744924f_0}


Answers:
author: Deividi Luvison
body: Hey Dan,

The Visibility Macros are called "Hide if" and "Show If", if you search for those tags I'm pretty sure you will see it :smile:.  
Hope it helps.  
Thanks and Regards,  
David\| The Engineer that like Windows for realsies.


Tags: addon-net.customware.confluence.plugin.visibility

confluence-administration
Remove anonymous space from main page
Asked by Daniel Hilgarth:

I have a space with anonymous access to be able to easily share the pages in this space with people without having to force an account on them.

However, I don't want this space to be visible on the dashboard that is shown to users that are not logged in. Also, the pages in this space shouldn't appear in the activity stream.

How can I achieve this?

If this is not possible, I would also be happy with a solution that would allow me to share pages of a space with external people without having to give the space anonymous access.

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: You can't do this. If you need to restrict view of something to a subset of people, then there is an absolute logical requirement that you can identify that subset of people to differentiate them from the wider audience.

Without that information, all you can do is say "everyone can see it" or "no-one can see it", because you can't form a rule for who should see it.

That's it. You need to decide whether you want to allow anonymous to see all of it, or nothing.

(One ugly workaround - disallow anonymous and then scrape selected bits of it into a system that is visible to anonymous users)

comments: author: Daniel Hilgarth
body: You correctly realized that I don't actually want to have anonymous access. What I want is one off sharing to select people. This could be done via specific URLs that I send only those people I want to share the page with.And in fact, it looks like there is a plugin for this: <https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments> I am just going to use that.


author: Nic Brough -Adaptavist-
body: Yes, that's a good way of doing the "scrape" effectively.


Tags: confluence-administration
Inline comments in Confluence 5.7: internal format / perennity of the feature
Asked by Eric Levac:

The new inline comment feature is pretty interesting but before using it at large, I want to know how / where this information is stored and how /if it can be accessible in other ways. Should we eventually decide to migrate some content elsewhere (not confluence), how would it be possible to use (not loose) those annotations? Current page comments can be exported (export space), but not those in-line comments. Our internal users also want to annotate PDF and other documents to easily point where some changes occured between versions and to document what drove those changes. How can I reassure the users that this information will always be accessible, in a way or another?


Answers:
author: Thomas Kreft
body: We would be interested in such a feature, too. We are using the new annotation feature within PDF files to discuss this between teams, but sometimes we need to discuss this with other people, without access to Confluence. So it would be great to be able to print a PDF including all annotations.


Tags: confluence-administration
comment permissions
Asked by Joe Meyer:

Prior to the new comments update we had simply removed it because of the lack of context that was provided, but the new inline comments look to be far more useful and context sensitive and this is something we would like to adopt for our department's confluence space.

However, we would like to allow only members of the department to comment and view comments while still allowing other users to view the documentation. The need for this is so that while we work to construct better documentation via the feedback loops, we aren't giving our user community noise that they really don't need to be bothered with. Is there a way to accomplish this in confluence? It seems like the "view" permission is all or nothing, was hoping for something a little more granular.


Answers:
author: Nic Brough -Adaptavist-
body: Have a look at the space permissions - "comment" is a separate permission to "edit", so you can have a large group of people view a page, a small group edit, and another group able to comment (and the groups can, of course, overlap)

However, as you fear, the view permission is not granular. You can either see a page and all of its content (including comments) or not.

There are some addons in the marketplace around content authoring and publication workflows (that hide content until it's ready), you might want to have a look around them.


Tags: confluence-administration