youngmon/atlassian-qna huggingface dataset:
How do I add my Page Anchor to the Page Tree?
Asked by DJ:

Hi, I have a couple anchors in my Confluence Page.

I want to be able to have these anchors appear in the Page Tree on the left side bar.

Like how Child Pages appear in the side-bar Page Tree.

Is this possible? I can't find a way to do this....

The current work around is creating a child page, and have that redirect to the page anchor. But the constant redirections affects the navigation experience.


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Anchors are not pages, so they can't appear in the page tree.

There's no harm in splitting your pages into smaller ones though, so you can "page tree" it.

If you do that, there's a trick you can use. Let's say you have a page like this:

* Title
  * Some content
  * Anchor 1 - AAA
    * Content 1
  * Anchor 2 - BBB
    * Content 2
  * Anchor 3 - CCC
    * Content 3
  * Some more stuff

Your page tree would just have "Title" in it.

Change this so you have four pages

* Page 1 - AAA
  * Content 1
* Page 2 - BBB
  * Content 2
* Page 3 - CCC
  * Content 3

Nest those three under Title page, and have this page read

* Title
  * {table of content macro}
  * Some content
  * {include: AAA}
  * {include: BBB}
  * {include: CCC}
  * Some more stuff

comments: author: DJ
body: Thank you! Didn't realize there is an include macro...


author: Nic Brough -Adaptavist-
body: Yeah, that one was near the top of the list of things that made me adopt Confluence as my favourite wiki and authoring solution (Note, I am a "light" author, like most people, I don't need 99.9% of the functions in a word processor or professional documentation system)

Just that ability to say "show me that text as though it's part of this page" is so useful, it can kill off 99.9% of "re-invent the wheel" and "diverge from the approved stuff as it changes" problems.

You might want to look at the excerpt and excerpt-include macros too. My first use of them was to build a "server summary" page that lived over the top of a huge pile of "server detail" pages.


Tags: confluence-server

server
Weird formatting issues when exporting a Confluence page with headers to PDF
Asked by Keelan Sears:

Hey y'all,

I'm having some formatting issues when exporting to PDF, and I don't have these issues when exporting to a Word document. We don't have anything custom with our Confluence formatting that could mess anything up, so I'm kind of surprised that it looks so bad, and I really want to figure out why.

Attached is a screenshot showing the difference between both exports, with the PDF on the left and the DOCX on the right. Any help in understanding this issue would be appreciated!

![MicrosoftTeams-image.png](/t5/image/serverpage/image-id/210484i06F881DF95101506/image-size/large?v=v2&px=999 "MicrosoftTeams-image.png")


Answers:
author: Laura Campbell _Seibert Media_
body: Hi [@Keelan Sears](/t5/user/viewprofilepage/user-id/4762912) welcome to community!

Check out this [documentation page](https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/) for how to customize the formatting for your PDF exports. You'll notice at the bottom of the page it mentions that the headers are demoted with the export, so that might explain why you are seeing the differences between your Word and PDF export.

comments: author: Keelan Sears
body: [@Laura Campbell _Seibert Media_](/t5/user/viewprofilepage/user-id/3327113) Thank you so much for the speedy response! I'll play around with those parameters and see if I can get it to work.


Tags: cloud

confluence-cloud

export

pdf

pdf-export
HTTP PUT in Groovy
Asked by Borja Tortosa:

Good evening,

I have been trying to send a PUT request to the Confluence API using a groovy script, It works fine if I use curl but I am not able to do it with the following code. I always get a 403.

*** ** * ** ***

def putFunction(){  
try {  
def put = new URL("<https://URLREQUESTED.atlassian.net/wiki/rest/api/content/3290431880>").openConnection();  
def auth = "username:token".bytes.encodeBase64()

def message = '\<p\>TEST TEST TEST\</p\>'

put.setRequestMethod("PUT")  
put.setDoOutput(true)  
put.setRequestProperty("Content-Type", "application/json")  
put.setRequestProperty("Authorization", "Basic" + "${auth}")  
put.getOutputStream().write(message.getBytes("UTF-8"));

def putRC = put.getResponseCode();  
println(putRC);  
if (putRC.equals(200)) {  
println(put.getInputStream().getText());  
}

} catch (Exception e) {  
e.printStackTrace()  
}  
}  

*** ** * ** ***

What am I doing wrong here? I've done a get with the same method and it works fine.  
Thanks for your help, best regards.


Answers:
author: aorlov
body: Hi [@Borja Tortosa](/t5/user/viewprofilepage/user-id/5005513) . It's hard to say. What is the error code? What is the error message? Did you provide all necessary parameters for the PUT request?

comments: author: Borja Tortosa
body: I am getting a 403, but I did provide the authorization:  

def auth = "admin@admin:token".bytes.encodeBase64()  
I get no error message, just the code :S, maybe the headers are incomplete??  
I've tried several solutions that worked with curl but not with the custom method.


author: aorlov
body: First thoughts:

1. You don't have a space in the line

```
"Basic" + "${auth}"
```

after "Basic". Should be "Basic " (space before last quote).

Right now you have

```
Basicusername:token
```

Should be

```
Basic username:token
```

2. Are you sure about ?

```
def auth    = "username:token".bytes.encodeBase64()
```

Did you try?

```
def auth    = "username:token"
```


Tags: cloud

confluence-cloud
Drafts showing in sidebar
Asked by Mark Caldwell:

Hi, I am seeing drafts listed in the sidebar, do you have any idea why this is happening and how I can resolve it?

Many thanks, Mark

![Screenshot 2022-08-10 at 15.40.29.png](/t5/image/serverpage/image-id/210462i2279A129900FB917/image-size/large?v=v2&px=999 "Screenshot 2022-08-10 at 15.40.29.png")


Answers:
author: Mikael Sandberg
body: This is expected, and the announcement was made last month about this new feature, see [Introducing Findable Drafts - a better way to start, pause, and resume your work](https://community.atlassian.com/t5/Confluence-articles/Introducing-Findable-Drafts-a-better-way-to-start-pause-and/ba-p/2045347) for all the details.

comments: author: Mark Caldwell
body: Thank you Mikael, shame we can't bulk delete drafts.

Kind regards


author: Summer Hogan
body: I think this is an awesome feature, BTW. I always have had issues finding my drafts.

It was also in the latest Atlassian email.

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


Tags: cloud

confluence-cloud
need licence
Asked by Thulasi Ram K:

How to approach to get details on confluence licensing part


Answers:
author: Daniel Ebers
body: Hi [@Thulasi Ram K](/t5/user/viewprofilepage/user-id/1128112)

a good point to learn more about pricing could also be this page:  
<https://www.atlassian.com/software/confluence/pricing>

Regards,  
Daniel


author: Thulasi Ram K
body: Thanks for the sugetion


author: Kishan Sharma
body: Hi [@Thulasi Ram K](/t5/user/viewprofilepage/user-id/1128112)

Please submit a request at - <https://support.atlassian.com/contact/>   

Select below options and fill in other details, so that support team can help you with the licensing related queries.

* What can we help you with? **Billing, payments, and pricing**
* Select a topic **Product pricing**


Tags: cloud

confluence-cloud
Can user be alerted of updates on a confluence page?
Asked by Simone Blount:

As I make changes to my confluence page, I would like for alerts of the updates to go out to the user. Is this possible?


Answers:
author: Kian Stack Mumo Systems
body: [@Simone Blount](/t5/user/viewprofilepage/user-id/5005485),

Have the user added as a [watcher](https://support.atlassian.com/confluence-cloud/docs/manage-watchers/) to the page! They'll get updates as the page is modified!

comments: author: Simone Blount
body: If I add them to the home page, will this update them only for that page or any page that I modify?


author: Kian Stack Mumo Systems
body: If you add them to the homepage, it will update them on all changes made in that space. If you want them updated for just the specific page, you should add them as a watcher for the specific page.


author: Simone Blount
body: Thank you so much!
Lock headers table in edit mode
Asked by lilly zur:

Hi,

How can I lock the headers of the table in edit mode?

Thanks,

Lilly


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@lilly zur](/t5/user/viewprofilepage/user-id/5005279) ,

If your hosting type is Server/Data Center, you may use our [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app and its [Table Filter](https://docs.stiltsoft.com/display/public/TFAC/Sorting%2C+freezing+and+other+table+viewing+options#Sorting,freezingandothertableviewingoptions-FreezefirstNrows/columns?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macro to freeze several rows in the edit mode as well.

For Confluence Cloud this feature works only in the page view mode due to the Cloud editor limitations.


author: Max Foerster - K15t
body: Hi [@lilly zur](/t5/user/viewprofilepage/user-id/5005279), and welcome to the community! ?

Do you mean to freeze the table header, so it moves with you while scrolling? That should already happen. Or do you want to lock the content? That's not possible by default.

Best, Max
Confluence: how to display and sync other page's certain content in another page
Asked by funny:

Hi all,

Scenario: There are 2 confluence pages. I want to display Page 1's specific image/process/paragraph in Page 2. When this content in Page 1 updates, it is also auto refreshed in Page 2.

What macros that can realize below function? I have tried anchor, but it is displayed as a link\\button in Page 2, instead of the image/process/paragraph itself.

Thanks in advance.

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


Answers:
author: Max Foerster - K15t
body: Hi [@funny](/t5/user/viewprofilepage/user-id/4993335),

Did you come across the **Excerpt** macro yet? You put the content you want to re-use on a different page in the macro and simply include it on the other page using the **Excerpt Include** macro. Read more about it in the documentation: [Excerpt Macro](https://confluence.atlassian.com/conf717/excerpt-macro-1115675840.html)

Best, Max

comments: author: Rilwan Ahmed
body: To display full page, make use of **include page** macro


author: funny
body: [@Max Foerster - K15t](/t5/user/viewprofilepage/user-id/693014) it seems that one page can only insert one Excerpt include?


author: Max Foerster - K15t
body: You can add multiple **Excerpt include** macros to a page. Unfortunately, you can only define one **Excerpt** macro on a page you want to include somewhere else. That's why you can find multiple apps on the Atlassian Marketplace introducing a "Multi Excerpt" feature.


Tags: server
How to bulk delete Confluence attachments
Asked by Adelia Damayanti:

Hi, I need to delete hundreds of attachments on my confluence page. Now I am deleting them one by one and it's very painful and time-consuming. I found this tutorial video on YouTube ([https://www.youtube.com/watch?v=PFZP8cmzm2Y\&t=79s](https://www.youtube.com/watch?v=PFZP8cmzm2Y&t=79s)) that shows there was actually a bulk delete button. However, I could not find it on my confluence. Has the feature been deleted? Thank you


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

No, there's nothing removed from Confluence.

The video is an advert for an app that adds bulk delete to Confluence.


author: Ashley Thomas
body: Hi Adelia,

The YouTube video you linked is showing the capability of a marketplace app called "Page Assistant", which can be found on the marketplace here: [Page Assistant \| Atlassian Marketplace](https://marketplace.atlassian.com/apps/1215094/page-assistant?hosting=datacenter&tab=overview)

This app is only available for the server versions of Confluence.

For Cloud I would suggesting looking at "Attachments Manager for Confluence": [https://marketplace.atlassian.com/apps/1222381/attachments-manager-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1222381/attachments-manager-for-confluence?tab=overview&hosting=cloud)

I do have one warning about attachments manager; we recently used it to remove a lot of 'unused' attachments from our site (with this apps built in function) and unfortunately it deleted a large amount of attachments that we did not want deleted. When it finds the 'unused' attachments it only searches the body of the Confleunce page, and the attachments we had were either linked to other plugins (draw.io) or within the comments.


Tags: cloud

confluence-cloud
Separate Jira subscriptions under same domain
Asked by Shaharyar:

We already have dev team using Jira Standard and Confluence.

We want to onboard business/pmo teams on Jira for advanced roadmaps, which is available in Premium tier, but we don't want to pay premium for devs.

So, we want business users (7-10) using Jira Premium, and the devs (\~20) can keep using their Standard Jira subscription. While confluence can be shared.

Please suggest how do we structure our organization, sites and subscriptions.

Thank you


Answers:
author: Craig Nodwell
body: Hi [@Shaharyar](/t5/user/viewprofilepage/user-id/5005137) welcome to the community. Will the PMO users and the dev users be working on/tracking the same issues?

comments: author: Shaharyar
body: Hi [@Craig Nodwell](/t5/user/viewprofilepage/user-id/3973516) , Thanks.

No, they won't be.


author: Shaharyar
body: Hi [@Craig Nodwell](/t5/user/viewprofilepage/user-id/3973516) , any follow up on that?


Tags: cloud

confluence-cloud

jira
Only few pages migrate when I'm migrate spaces from confluence server to cloud.
Asked by sachin maddagoda:

I tried a test migration from confluence server to confluence cloud free via migration Assistance.

during the migration steps it shows all 3 spaces and I select all to migrate. after the completion I could see that a few pages were missing in one space.

after I noticed on the confluence server those pages are viewing and editing restrictions enabled. I thought that was the problem, but I try to do a test migration again by removing all the users and spaces on cloud instance still same page count showing as before in the first migration.

![spaces for commiunity.PNG](/t5/image/serverpage/image-id/210374iC7E6C18386306F7A/image-size/large?v=v2&px=999 "spaces for commiunity.PNG")


Answers:
author: Gregory Muir
body: I'm having a similar problem. I don't know if there's a bug or I'm missing a checkbox.


Tags: cloud

confluence-cloud
Adding shortcuts not allowed
Asked by Soporte Atl:

Hi,

I was trying to add shortcuts to the left sidebar in Confluence.

I used the '+' button available and added the first one. After that, the '+' is no longer available (or I can't find it), so I'm not able to add more shortcuts.

Could anybody please double check?

Thanks,

M

![Captura.JPG](/t5/image/serverpage/image-id/210375iBB2A7962D6EBBA56/image-size/large?v=v2&px=999 "Captura.JPG")


Answers:
author: John S Davidson
body: Perfect. Thanks Manuel. I was hovering everywhere else and just missed that one.


author: Soporte Atl
body: Hi,

Just noticed that if you hover over the proximities of the **SHORTCUTS** word (to its right) a pencil icon appears.

Clicking on it you access a panel to add new shortcuts.

So issue solved :)

Regards,

M


author: John S Davidson
body: I have this issue now also.


author: Nic Beurskens
body: Having the same issue today!


Tags: cloud

confluence-cloud

shortcut
Draft pages are getting copied and/or created out of nowhere.
Asked by m.sallan:

There seems to be draft pages getting created lately. This occur in 2 different sites I am working on. What is happening?

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


Answers:
author: Summer Hogan
body: In case you are not aware, there is a new feature from Atlassian for easily finding your drafts. This may be a bug you found. If you find no one in your org made these copies, you might want to report this to [https://support.atlassian.com/contact/](https://support.atlassian.com/contact/#/).  
[https://community.atlassian.com/t5/Confluence-articles/Introducing-Findable-Drafts-a-better-way-to-start-pause-and/ba-p/2045347?utm_source=newsletter-email\&utm_medium=email\&utm_campaign=confluence-digest-august-SLA_EML-13436\&jobid=105673753\&subid=1607613723](https://community.atlassian.com/t5/Confluence-articles/Introducing-Findable-Drafts-a-better-way-to-start-pause-and/ba-p/2045347?utm_source=newsletter-email&utm_medium=email&utm_campaign=confluence-digest-august-SLA_EML-13436&jobid=105673753&subid=1607613723)

comments: author: m.sallan
body: Thanks for the reply!!


author: Luc?a M Polis
body: I'm using Confluence Free at the moment, so I'm unable to make a report, but my situation is identical---nothing coming up when I search for drafts, duplicate present in the left-hand page tree.


Tags: cloud

confluence-cloud
Page Restrictions
Asked by Olivia.Cheung:

Hi Confluence team,

How could I share a particular confluence page to a member in another team without allowing that staff to see the other pages in the same confluence space?

Kind regards,

Olivia


Answers:
author: Max Foerster - K15t
body: Hi [@Olivia.Cheung](/t5/user/viewprofilepage/user-id/5004950), and welcome to the community! :)

It's not impossible, but it is very impractical to achieve and maintain. Confluence is not meant for this kind of content siloing within a single space. You will need to give the person permission to access the space. It's like opening your front door. Without that permission, everything else will not be accessible.

From there, you can use page restrictions to only make that page accessible, but page restrictions are inherited. That means they need access to every parent page above that page in the page hierarchy.

There's a workaround that I personally would not recommend for multiple reasons.

What you can do is to create the page "outside" of the page tree. So not underneath the homepage but next to it and then restrict the homepage of the space and automatically every child page.

![Xnip2022-08-10_10-47-04.png](https://community.atlassian.com/t5/image/serverpage/image-id/210388i7A61A9DE215AB694/image-dimensions/357x220?v=v2 "Xnip2022-08-10_10-47-04.png")

As a result, only the unrestricted "new page" is accessible to the user. But like I said, it's only a workaround, and you can consider it bad practice.

* The "new page" will not be visible in the page tree unless you're on the page, as the page tree is displayed from the homepage down.
* So users can only directly access the page through links, the search, etc.
* Locking a whole space with page restrictions is just insane. Honestly, that will be annoying pretty fast. Users will be annoyed as they don't understand what's happening, and you have to maintain the page restrictions and know where you applied them if you start restricting more pages down the road.
* This approach does not scale well if you have multiple pages like that and need to restrict them to different users.

Also, have a look at the existing documentation. It could be helpful. :)

* [What are space permissions?](https://support.atlassian.com/confluence-cloud/docs/what-are-space-permissions/)
* [What are Confluence Cloud permissions and restrictions?](https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/)

Is it only one page you will have to share, or could that become a thing? Maybe we must consider marketplace apps to find a solution for your specific use case.

Best, Max


Tags: cloud

confluence-cloud
Do you have a plan to fix CVE-2021-34429
Asked by guowu Hu:

Our confluence's version 7.13.7, And our security team found a issue which name is **CVE-2021-34429, And We want to know: Do you have a plan to fix CVE-2021-34429**


Answers:
author: Daniel Ebers
body: Hi [@guowu Hu](/t5/user/viewprofilepage/user-id/5004935)

I not able to follow where it comes from the security department assumes CVE-2021-34429 would be affecting your installation - is there more information you could provide to understand that better?

Regards,  
Daniel


author: Fabio Racobaldo _Herzum_
body: Hi [@guowu Hu](/t5/user/viewprofilepage/user-id/5004935) ,

welcome to the Atlassian community!

Confluence 7.13.7 is not impacted by CVE-2021-34429. Based on this [article](https://www.cve.org/CVERecord?id=CVE-2022-26134) I upgraded a customer instance to 7.13.7 and issue has been fixed.

If you go to the Troubleshooting and support tool (on the admin section) you will se that 7.13.7 security check is ok.

Hope this helps,

Fabio

comments: author: guowu Hu
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) , Thanks for your reply, But I has some questions.

1?I check the article what you provide , <https://www.cve.org/CVERecord?id=CVE-2022-26134> , It show CVE-2022-26134? Do you mean you fix CVE-2022-26134 then CVE-2021-34429 will fixed too?

2?You said that confluence 7.13.7 is not impacted by CVE-2021-34429, But our security team scan confluence and got the issue which include CVE-2021-34429, I don't know why. **Our confluence was recently upgraded from 7.13.2 to 7.13.7**, Is the history file left after the upgrade causing the scan result to be abnormal?


Tags: confluence-server

server
How can I export to PDF without error
Asked by Meang Choo, Kim:

I am using Confluence cloud,

I made a page and try export to pdf.

of course file created but contents are not include.

Korean is not include.

I checked my configuration into confluence.

language configuration setted "Korean"

I am try chrome and edge browse and same result.

how can i fix this issue??

------\> I fixed this issue


Answers:
author: Daniel Ebers
body: Hi [@Meang Choo, Kim](/t5/user/viewprofilepage/user-id/5004893)

would you mind sharing how you fixed that issue? Community could learn from it.

Regards,  
Daniel


Tags: cloud

confluence-cloud
Can you change the view of the Calendar on Confluence?
Asked by Emily Muscaro:

Hi there!  
Is there a way to have a team calendar on confluence show event first then who after? Or simply just show me the event instead of names first? Let me know!


Answers:
author: Brant Schroeder
body: [@Emily Muscaro](/t5/user/viewprofilepage/user-id/5002327) Welcome to the Atlassian community

Unfortunately, team calendars is limited in what you can change and configure. You can not configure how calendar objects are displayed.

You can submit an enhancement request here: <https://jira.atlassian.com/secure/Dashboard.jspa> I was not able to find a request for what you are interested in.

You can also learn more about team calendars here: <https://support.atlassian.com/confluence-cloud/docs/use-team-calendars-for-confluence/>

comments: author: Brant Schroeder
body: [@Emily Muscaro](/t5/user/viewprofilepage/user-id/5002327) Can you accept the answer so others can find the correct answer.


Tags: cloud

confluence-cloud