youngmon/atlassian-qna huggingface dataset:
Deactivate prefix of nested pages in Space Blueprint
Asked by almost_night:

I'm trying to create a comprehensive space blueprint with several nested pages. Structure looks like this:

```
Home
?Page A
? ? Page A - Child A1
? ? Page A - Child A2
? ? Page A - Child A3
?Page B
? ? Page B - Child B1
? ? Page B - Child B2
? ...
```

Now I want to get rid of the prefix in the title of the child pages ("Page A -", "Page B -"), because I take care of uniqueness by myself, but it seems to be added automatically and I can't find any clue in the documentation on how to deal with it (it's not even worth a mention).

Content-Template example:

```
<content-template key="space-homepage-template" i18n-name-key="confluence.blueprints.space.pages.homepage.name">
    <description key="confluence.blueprints.space.pages.homepage.desc"/>
    <resource name="template" type="download" location="/xml/structure/000-space-home.xml"/>
</content-template>
```

Space Blueprint example:

```
<space-blueprint key="example-space-blueprint" i18n-name-key="confluence.blueprints.space.name" category="examples">
    <content-template ref="space-homepage-template">
        <content-template ref="page-a-template">
            <content-template ref="child-a1-template"/>
            <content-template ref="child-a2-template"/>
            <content-template ref="child-a3-template"/>
        </content-template>
        <content-template ref="page-b-template">
           ?<content-template ref="child-b1-template"/>
            <content-template ref="child-b2-template"/>
        </content-template>
    </content-template>
    ...
</space-blueprint>
```

Can I somehow achieve this using e.g. an attribute in the atlassian-plugin.xml or is there any other way to get rid of these prefixes?

**I don't want to buy your cow for this glass of milk, so please don't spam me with your overloaded templating plugins, thank you.**


Answers:
author: Diego
body: Hello there!

Alright, as I understand you need to remove the root page prefix from the child pages, correct?

Well, this has been done in the past here by the community! You can take a look here:

**[How do I set titles to pages in a space blueprint?](https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-I-set-titles-to-pages-in-a-space-blueprint/qaq-p/481380)**

Their post might be able to help you out. If it does, remember to upvote it, so other Community members can see that the solution has helped more people!

Looking forward yo your reply!

comments: author: almost_night
body: Thank you, that's exactly what I was looking for. Probably used the wrong keywords.


Tags: atl-dev

confluence-server

server

space-blueprint

title
Copy the page title to the header of a PDF export
Asked by Stefan Marko:

Hello everyone,

I need to export a couple of pages in Confluence to PDF to serve as project documentation.

For this I wanted to add the title of the page to the header of the export.

I found (and tried) this CSS code in the PDF stylesheet in order to achieve this:

```
@top-left { 
content: element(runningheader);
} 

...

.pagetitle h1 {
position: running(runningheader);
font-size: 6pt;
} 
```

However, I am facing two problems:

1. This approach does of course not *copy* the title to the header but instead *moves* it, meaning that there is no big document title on the first page any more. (I could probably overcome this by simply adding the page title to the template again via the scriptrunner page info macro.)
2. This is the main problem I have: After inserting this code to the stylesheet my PDF does not contain ++any++ h1 headings any more as they are all moved to the top-left. So only the first h1 per page shows up in the header and not a single h1 is present in the text itself any more.

Does anyone have a solution for this?

Thanks in advance!


Answers:
author: Stefan Marko
body: In case someone else needs this:

I found two possible solutions now:

1) use h1:first-child instead of .pagetitle h1:

```
h1:first-child {
position: running(runningheader);
}
```

This only moves the title to the header, the other h1 headings stay where they should be

2) Create a user macro that displays the page title and use CSS to move that content to the header. For this to work every page you want to export with the title in the header needs to have the specified macro in it of course.

++User macro:++

```
## @noparams
<div class="pageTitleHeader" style="display:none">
    $content.title
</div>
```

++CSS:++

```
.pageTitleHeader{
    display: block !important;
    position: running(runningheader);
}
```

The advantage of this solution is that you will still have the title printed in a large font on the first page and have it in the header at the same time.

Probably not the best way to do it but at least it seems to work.


Tags: confluence-server

server
"Edit Files" export "Inline-Comments"
Asked by PPAG:

Heyho,

short question, the new "Edit File"-App got the function to add "Inline-Comments", is it possible to export them together with the document?

![screenshot20190403-1.jpg](/t5/image/serverpage/image-id/50378i1965DA28B9BD0D0F/image-dimensions/578x30?v=v2 "screenshot20190403-1.jpg")

Regards


Answers:
author: Diego
body: Hello there!

Thanks reaching out. As I understand you would like to export comments with the page itself, correct?

Currently, this is not possible when exporting pages in Confluence. But we do have a report tracking it here:

**[CONFSERVER-38240 \| Ability to print or export Inline Comments](https://jira.atlassian.com/browse/CONFSERVER-38240)**

As of today, we could move towards voting and watching this report. Watching will keep you up to date with everything and voting increases the report visibility.

Looking forward to your reply!

comments: author: PPAG
body: Hello Diego,

thanks for the info! looks like we have another ticket to watch/vote :D

Kind Regards


author: Diego
body: Hey!

Looking forward to seeing your vote there. Thanks for taking part on this.


Tags: confluence-server

server
Pulling audit logs into a SIEM
Asked by Jim Conzemius:

I am looking to pull the audit logs for JIRA, Confluence and BitBucket into our security group. Is there an API that will allow this and how can I can configure it?


Answers:
author: Dario B
body: Hi Jim,

Are you using Server or Cloud? However:

* **Cloud:** <https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-group-Audit-records>
* **Server:** <https://docs.atlassian.com/software/jira/docs/api/REST/8.1.0/#api/2/auditing>

For further details see also:

* <https://community.atlassian.com/t5/Jira-Core-questions/Is-there-a-rest-call-to-look-at-the-audit-logs/qaq-p/252409>
* <https://community.atlassian.com/t5/Jira-questions/JIRA-Audit-via-API/qaq-p/747252>

I hope this helps


Tags: atl-adm

bitbucket

cloud

confluence-cloud

jira
Can confluence in the cloud allow search within other sites?
Asked by Mark Hill:

We are looking to use a Confluence Cloud Intranet, but wish to use the search criteria to look inside other specific and agreed Cloud based knowledge sites rather than just Confluence itself.

Is this possible?


Answers:
author: Diego
body: Hello there!

Mark, currently this is not possible natively for both Confluence Cloud and Confluence Server. There was a feature request for this a long time ago, but it was closed:

**[CONFCLOUD-1436 \| Allow indexing of content outside of Confluence](https://jira.atlassian.com/browse/CONFCLOUD-1436)**

Confluence is not able to index external sources with the native search. However, there is a third-party solution for Confluence Server that seems to be able to do just that:

**[Cache For Confluence](https://bobswift.atlassian.net/wiki/spaces/CACHE/overview)**

[**How to index external content using the CACHE macro**](https://bobswift.atlassian.net/wiki/spaces/CACHE/pages/2949129/How+to+index+external+content+using+the+CACHE+macro)

But again, this is not available for Confluence Cloud and Confluence does not have the ability to index external sources.

Hope this helps!


Tags: confluence-cloud
How can I reuse a portion of a content within a page?
Asked by Anand Rajaraman:

* I have a header \<h1/h2/h3\> and I want to reuse this header within a page
* I have a note within a header in a page and want to reuse this note within other headers in multiple places within that page


Answers:
author: Jared Brenner
body: Hi Anand,

Check out the [Excerpt](https://confluence.atlassian.com/conf612/excerpt-macro-958777740.html) macro. You can only have one Excerpt (which defines the content) per page, but you can have as many Excerpt Include macros (which call the content) as you'd like.

Good luck!
My jira application uses HTTP I need to change it to HTTPS
Asked by Marcus1975:

Hi All,

I currently have a certificate.

I am currently using jira with http and need to enable https for this application.

How is this done?

Thanks,

Marcus


Answers:
author: Petr Van??ek
body: Hi,

you can follow this KB article if you want you reverse proxy (recommended - <https://confluence.atlassian.com/jirakb/integrating-jira-with-nginx-426115340.html>) or directly to Java port (<https://confluence.atlassian.com/adminjiraserver/running-jira-applications-over-ssl-or-https-938847764.html>).


Tags: confluence-server

jira

jira-server

server
In Confluence, hot to mention someone in the task without assigning the task to them.
Asked by Alina Astrakova:

In Confluence, hot to mention someone in the task without assigning the task to them. The task is not assigned to anyone in particular, so i could not put them first in the task text.


Answers:
author: Kathy Hart
body: If you just type their name without the @ sign, their name will show up, but it will not email them or assign the task to them. But the name will just be text. It will not be recognized as a Mention.

comments: author: Alina Astrakova
body: So, is there a way around this? Where I could keep the mention?


author: Petr Van??ek
body: In this way it will be simple text. Purpose of mentions (macro) is usually notify mentioned person(s).


author: Alina Astrakova
body: I want to be able to mention them without assigning the task. Could you please add this functionality?


author: Petr Van??ek
body: I think you are mixing two things - tasks and mentions. If you do not want assign tasks by mention to someone then just don't mention this person. You don't have any option.

Or you can mention someone on first line and on next lines you can start typing tasks without mention. So it's more about your policy for writing Confluence pages.

You can try ask Atlassian Support directly (we are just community members like you) with this idea - but I can tell you you have very very low chance for implementing this - because it's mail purpose of this functionality. As you can see here (<https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-how-do-i-create-a-task> ) first mentioned user is assigned to task and that's what the most of companies want.


author: Alina Astrakova
body: The reason I asked for it is that it is the real case. I was mentioned in the task because it was created based on my feedback (they might need to talk more to me so they need to mention me). Nevertheless I am not the one to be assigned the task. This is why I was asking whether it could be implemented :)


author: Alina Astrakova
body: Thank you for the link, I have already seen it :)


author: Petr Van??ek
body: Then it's more clear reason why you ask for it. :-) Then maybe you can ask then for mentioning someone another as first (so team leader or person who made edit or anyone else who will work on that) and if they mention you as second one than it will be ok for you.

Or another way is making tasks in table with one column with task and in second mention you. If this could not be suitable than you can also use "User Profile" macro.

I think there could be some another workarounds, but still it will must be based on some content rule or policies inside your team or company.


author: Petr Van??ek
body: Hi,

just start typing '@' and Confluence will start hint names when you will continue with first chars.

comments: author: Alina Astrakova
body: It would not solve the problem because then the person mentioned first will get an email notification that they are assigned the test and this is the opposite of what I want :)

i don't want to assign the task to anybody but still be able to mention someone in the task.
how to customize wiki dashboard global layout
Asked by ?????? ????????:

Hello

I need help

In local wiki, I have possinility to customize dashboard, using "setting"-"themes"-"layouts" and next step, I choose "global layout" and change my dashboard

but

in cloud version I have not this menu ("layouts")

could you explain, how I can customize dashboard?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: I am afraid *Layout* option is not available for Cloud [@?????? ????????](/t5/user/viewprofilepage/user-id/2974116) . You can only customize *Color schemes* and*Themes*in Cloud.


author: Sireesha Dugginapeddi [Appfire]
body: Hi [@?????? ????????](/t5/user/viewprofilepage/user-id/2974116) ,

One of the following Atlassian articles might be of help to you -

* [Customizing Confluence Dashboard](https://confluence.atlassian.com/doc/customizing-the-confluence-dashboard-169117112.html)
* [Configuring site home page](https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html)

Thanks!

Sireesha

comments: author: ?????? ????????
body: Hi [@Sireesha Dugginapeddi \[Appfire\]](/t5/user/viewprofilepage/user-id/1260000)

unforunately, I have not this point "layouts"

"

Go to \> General Configuration \> Layouts (under Look and Feel)

"

may be you can explain, why?


Tags: cloud

confluence-cloud
How to add user to confluence using soap rest api (XML-RPC)?
Asked by Kudimov Mikhail:

Hi!

I'am using [XML-RPC](https://developer.atlassian.com/server/confluence/remote-confluence-methods/) to work with my confluence. And now i want to create a new user and rest api contains a method "add user":

    void addUser(String token, User  user, String password)?- add a new user with the given password

And I do not understand, what kind of entity is this "User"?

Could you show me any example how to create user?

Thank you in advance!


Answers:
author: Kudimov Mikhail
body: example:

```
{"jsonrpc" : "2.0", "method" : "addUser", "params" : [{"email":"tututu@mail.com","fullname":"TestUser","name":"user"}, "password"], "id" : null}
```

comments: author: Bipin Nepal
body: [@Kudimov Mikhail](/t5/user/viewprofilepage/user-id/1753109)i couldnt pass the authentication can you please share the script to add user


author: Stephen Sifers
body: Hello ??????,

The SOAP API has been deprecated since Confluence 5.5 and is not longer currently supported. However, there is a REST API which will use JSON instead of XML to complete tasks. Within the REST you are able to interact with Confluence, though the user endpoints are only available via GET calls. If you are using Jira or Crowd you are able to access endpoints via the Crowd API to manipulate users and groups. Here are resources for both Confluence and Crowd REST API.

* [Confluence REST API Documentation](https://docs.atlassian.com/ConfluenceServer/rest/latest)
* [Crowd REST APIs](https://developer.atlassian.com/server/crowd/crowd-rest-apis/)

For the SOAP API deprecation notice, that may be found at [Confluence XML-RPC and SOAP APIs](https://developer.atlassian.com/server/confluence/confluence-xml-rpc-and-soap-apis/)

I hope these resources prove helpful while migrating off the SOAP API.

Regards,  
Stephen Sifers

comments: author: Adrian Moerchen
body: Why is this accepted?

The SOAP API is deprecated since about 4 years now, but there is a reason it is still there: the REST API just isn't nearly complete, looks even abandoned, no progress.

There is no way to create a user via the REST API, so the answer is even misleading.


author: Bipin Nepal
body: [@Stephen Sifers](/t5/user/viewprofilepage/user-id/2145523)can you please give me the script to add users in confluence ?


Tags: atl-adm
Dashboard Space Lookup
Asked by richardofrugeley:

There are three pages listed under My Work on my Confluence Dashboard: Recently Worked On, Recently Visited, Saved for Later. These pages are great and I use them a lot, but only the page titles are shown. Which spaces do these pages belong to? This is crucial for us as an engineering company where each project has its own space. As time goes on, there will be pages of similar title on every project.

It's possible to get a clue by hovering each one and inspecting the URL in the browser's status bar, but it's not very efficient.

How can the page detail indicate the space to which it belongs?


Answers:
author: Kris G _Alacriz_
body: This can partially be achieved by using the macro 'Recently Updated Dashboard' and is documented on <https://confluence.atlassian.com/confkb/how-to-add-recently-updated-dashboard-and-favourite-spaces-tab-in-confluence-5-9-x-and-above-873861076.html>.

This, however, cannot be user specific but is more generic. Hope that helps.

Thanks,  
Kris

comments: author: richardofrugeley
body: As a user, I don't have admin permissions for editing the Confluence Dashboard. I could suggest a solution to the admin but this doesn't seem to be it, judging by the screenshots in the linked documentation.


Tags: confluence-server

dashboard

server
Livesearch Macro - configure to just see results of the current page
Asked by Christoph Ko:

Hi all,

I have a problem with the Livesearch Macro within Confluence.  
Unfortunately the Atlassian Documentation was not very helpful in this case.

I want to add the Livesearch Macro within a new page that describes some Email Templates and stuff. I wanted the Livesearch Macro to such search within this page (and maybe all sub-pages).  
Within the macro settings I have to restrict to a space key.  
I was just able to set the space key of our department - but not of just on the page itself.  
The Atlassian documentation says it would be possible to just search within a page:

*"Specify a space key to limit the search to the given space. Case-sensitive.* *Alternatively, use **`@self`**to restrict the search to the current space."*

I don\`t know how to configure that "@self-thing"... it is not working with @self and it is also not working with [@name](/t5/user/viewprofilepage/user-id/1261295) of the page...

Hope somebody can help me.

Best

Chris

PS: Sorry for the bad english - I\`m not a native speaker at all ;-)


Answers:
author: efg
body: Hi,

I have the same problem Christoph.

Were you able to solve it or did you find any alternative?

Thank you in advance.

Best regards,

Eva


Tags: confluence-server

server
Can you send notification emails to non-watchers?
Asked by Yingdong Zhai:

I'm asked to seek the possibility of sending people notification emails when a page is modified, even if the people are not watching the page. Is it possible to achieve without any apps from the Atlassian marketplace, or with free apps? Thanks


Answers:
author: Dominic Lagger
body: Hi [@Yingdong Zhai](/t5/user/viewprofilepage/user-id/2973139)

In my opinion, this is not possible in an automated way. You can share the page manually, so the people get an email.

Why you can't set them as watchers? If they want a modify update, the watcher option is perfect :)

comments: author: Yingdong Zhai
body: Hi Dominic,

Thanks for replying. The reason is that most of them are not aware that this page exists. If I send emails asking them to watch it, they would probably ignore it. However, sharing the page sounds like a decent idea.

If you know how to manually add people as watchers, could you please show me how to do it? Thanks!


author: Dominic Lagger
body: Set watcher manually can only the admin of the space. If you are an admin of the space, then it is really easy. Just click the watch button of the page and click "manage watchers".

Here is the documentation of [Managing Watchers](https://confluence.atlassian.com/doc/manage-watchers-218271870.html)
want to move confluence pages and its child pages
Asked by venkatarameshba Mattam:

I want to move my confluence page/ space from one instance to another instance.


Answers:
author: Kevin Boots
body: Hi [@venkatarameshba Mattam](/t5/user/viewprofilepage/user-id/2973197) , I think [this article](https://confluence.atlassian.com/confcloud/import-a-confluence-space-724765531.html) should help you out!

Good luck and kind regards,

Kevin


author: venkatarameshba Mattam
body: Hi,

I want to move my entire space from instance to another instance of confluence. Looking forward for any help or guide lines.

Ramesh


Tags: cloud

confluence-cloud
Top used Macro's
Asked by Juan Du Toit:

Good Day

Hope you can help me with some metrics (if it exists)

Is it possible to get a list of the most used macro's in Confluence(out of the box)? I am looking for a to 10 list.

I want to use this for when showing/training or getting newbies excited about using Confluence.


Answers:
author: Aleksandr Zuevich
body: Hi,

There is Macro Usage page in Confluence administration which shows how often each macro is used.

comments: author: Juan Du Toit
body: Hi Aleksandr,

I was hoping to get a list of what Macro's are mostly used across organisations. Does Altlassian have stats on this?


author: Jared Brenner
body: You may find differences between Cloud and Server users. I'm a Server user and I don't like to use Page Layout view, so a lot of my top macros are layout- or organization-related:

* Section
* Column
* Panel
* Table of Contents Zone
* Tabs Container/Tabs Page
* Multiexcerpt/Multiexcerpt Include
* Content Slider
* Expand
* Table Filter
* Page Tree
My published page is not showing up under its parent
Asked by Lexi Bisbee:

I created a new page in my space and published it. But it does not show up anywhere except when I do a search on recent pages. When I open it and look at page information, it shows it under the parent where I wanted it.

I have had no problems with creating pages before.

What am I missing?


Answers:
author: Rambabu Patina _Appfire_
body: Hi [@Lexi Bisbee](/t5/user/viewprofilepage/user-id/2704114) , Welcome to the community.

A good way to see an overview of the space page structure is to go to "Space Tools" -\> "Content Tools" -\> "Reorder Pages". This gives you a nice tree structure view of all pages in your space. Please verify your page where exactly it is located.

Thanks,  
Ram.

comments: author: Binh Tran
body: ok


Tags: cloud

confluence-cloud
How to create dynamic links from table item in a page to table item in another page
Asked by draperm:

We wish to associate (link) our business requirements within one page with specific technical requirements in another page and vice versa (many to many relationship).

How do we do this?


Answers:
author: Aleksandr Zuevich
body: Hi,

Have you tried anchors?

<https://confluence.atlassian.com/conf612/anchors-958777373.html>