youngmon/atlassian-qna huggingface dataset:
I have a few questions about contentId
Asked by Damon Williams:

I am looking to use Confluence to store some content strings for another applicaiton, which will pull in the strings via the getContentById REST API.

What is assigned a contentId? Can it be something smaller than a page? Could I have a series of 10 strings on a page that each had a distinct contentId, such as if I put each one is a different macro? Finally, how do I find the contentId for a piece of content?


Answers:
author: Steven F Behnke
body: Is this Confluence SERVER or Confluence CLOUD?

**What is assigned a contentId**

Any valid contentType. Out of the box, this includes Pages, Blog Posts, Comments, and Attachments.

**Can it be something smaller than a page?**

Well... Comments and Attachments I guess?

**Could I have a series of 10 strings on a page that each had a distinct contentId, such as if I put each one is a different macro?**

Macros are not considered "contentTypes" so no, this is not supported out-of-the-box.

**Finally, how do I find the contentId for a piece of content?**

Use the API:

* The JAVA API includes the PageManager with getPageWithComments(String spaceKey, String pageTitle) method. This will return a Page object with a getContentId() method.
* The REST API includes a /content/ endpoint that allows you to specify a Space and a Page via Path Parameters:

  ```
  /confluence/rest/api/content?title=myPage%20Title&spaceKey=TST
  ```

If you want to, you could extend ContentTypes in both Cloud or Server to add more flexibility for your use-case.

comments: author: Damon Williams
body: Confluence Server. Does that impact your reply at all?


author: Steven F Behnke
body: I think at this point, all that I can say is that the API for adding new content types is different, Atlassian Connect has the ability to add new ContentTypes and of course you can extend it via the JAVA API on Confluence Server.


author: Damon Williams
body: X
Web viewable without confluence account
Asked by Chris T:

I'd like to create a wiki and have all my pages in confluence. Is it possible to allow other people to view my pages without a confluence account? Or would it be better for me to find wiki website to post on?


Answers:
author: Chris T
body: Thanks for your reply. I'll enable the anonymous access.


author: Nic Brough -Adaptavist-
body: Yes, you enable "anonymous access"

And note that it doesn't have to be global - a lot of places have a Confluence with a batch of public spaces and then a whole load more that you have to log in to get to.

Have a look at <https://confluence.atlassian.com/doc/setting-up-public-access-156.html>
Creating a Drop Down Menu for Task Status
Asked by Patrick Boada:

Hi,

I am trying to create a drop down menu to delegate and identify the status of internal projects with key variables.

I haven't had much luck searching through the macros for a easy solution, nor have I found any clean .html to supplement this function.

Has anyone had a similar experience or found a resolution to creating drop down menus on Confluence?

Any help or guidance would be greatly appreciated!

Best,

Patrick Boada


Answers:
author: Stephen Deutsch
body: I wrote a user macro in this question:

<https://community.atlassian.com/t5/Answers-Developer-Questions/Creating-a-dropdown-user-macro/qaq-p/494678>

Maybe it will work for you.


author: Andrey Khaneev _StiltSoft_
body: Hi Patrick,

You can try [Handy Status](https://docs.stiltsoft.com/display/HMFC/How+to+use+Handy+Status+macro#HowtouseHandyStatusmacro-Changingstatus) macro ([Handy Macros](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.handy.macros/server/overview) add-on) for this purpose.


author: Stiltsoft Support
body: Hi [@Patrick Boada](/t5/user/viewprofilepage/user-id/1136631) ,

You can enhance your task management in Confluence with our [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=server&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=creating_a_dropdown) app. It has many useful functions to enrich Confluence formatting and management. Fir example, you could like its Handy Status and Handy Tasks functionality. The first one is great for custom sets with dropdown options. The second one boosts your task management with native Confluence task lists. Please, see the screenshot below:

![Handy Status and Tasks.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/188011i552923210E54FE2C/image-size/large?v=v2&px=999 "Handy Status and Tasks.jpg")


Tags: macro

select-list
None of the site administrators have email addresses
Asked by Susan Ostreicher:

I opened the Contact Site Administrators page in Confluence Cloud to confirm what users will see:

<https://mysite.atlassian.net/wiki/contactadministrators.action>

On that page, it says:

"None of the site administrators have email addresses set so cannot be contacted via this method."

I'm confused by this, because I'm the site administrator and I have an email address associated with my account. Do I need to enter the same address somewhere else?


Answers:
author: AnnWorley
body: As you said, it is a confusing message because you are a site administrator and have an email address. A more accurate error would be:

"None of the members of the confluence-administrators group have email addresses set so cannot be contacted via this method."

I created this suggestion ticket a while back to make the contact form configurable:

[As an administrator I would like to configure the Contact Administrators Form recipients](https://jira.atlassian.com/browse/CONFCLOUD-43652)

Please vote for it so it will get more attention from the development team. You may also emphasize your use case with a comment on the ticket.

comments: author: Susan Ostreicher
body: Thank you, Ann. This is good to know, but I'm still a little confused. I couldn't find a confluence-administrators group, so I tried to create it. When I did, the group description said "Reserved for use by Atlassian Support to perform system maintenance tasks", and it didn't get added to my list of groups. Is this expected behavior for Cloud?


author: AnnWorley
body: Yes, that's the expected behavior. Some Cloud instances have a confluence-administrators group built in, but it's reserved. Some do not have that group, so the same error is thrown. You basically can't use the contact form to send an email to your admins in Cloud. The form works in the server version where the system administrator permission is not restricted. As mentioned in [Restricted functions in Confluence Cloud](https://confluence.atlassian.com/confcloud/restricted-functions-in-confluence-cloud-734070955.html): "The Confluence 'System Administrator' global permission is not available in Confluence Cloud."

The contact form is unfortunately bound to the restricted permissions because members of confluence-administrators have System Administrator permissions. We have a request open to make the contact form a separate function: [Separate the administrator priveleges from contact Administrator list](https://jira.atlassian.com/browse/CONFCLOUD-1421)


author: Susan Ostreicher
body: Got it. Thanks for the clear explanation.


Tags: confluence-administration

confluence-cloud
Permissions based comment control
Asked by Hugh Paterson:

Greetings,

I am wondering if there is a plugin out there for limiting the capability to add and view comments to a certain group of people. We want the general population to use the Q\&A features, we want editors to use the page based comments.

We are useing a selfhosted version of conflunce wiki.


Answers:
author: AnnWorley
body: Without any extra plugins I think you can achieve your aim.

You may remove the ability to comment from the confluence-users group and then add a group that you do want to comment to the space permissions, and add the comment permissions for that group, something like this:

![Screen Shot 2017-06-15 at 4.42.53 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2218i6166410EA81E9EF2/image-dimensions/644x363?v=v2 "Screen Shot 2017-06-15 at 4.42.53 PM.png")


Tags: app

comment

permission
Permissions based Comment control
Asked by Hugh Paterson:

Greetings,

I am wondering if there is a plugin out there for limiting the capability to add and view comments to a certain group of people. We want the general population to use the Q\&A features, we want editors to use the page based comments.

We are useing a selfhosted version of conflunce wiki.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Hugh Paterson](/t5/user/viewprofilepage/user-id/1136602) ,

unfortunately you can't manage who can view comments. Currently a user with page view permission can automatically see all page comments. There is an old request for that feature <https://jira.atlassian.com/browse/CONFSERVER-24939>

Fabio


Tags: app

comment

permission
enable macro per space
Asked by Hugh Paterson:

Is there a plugin which will allow me to enable a macro per space?

I want to enable the HTML macro for some users, or in some spaces. (Either would solve my problem.) We have deemed it a security risk to enable the HTML macro for all users. We are wondering what tools exist for limiting accessibility to certain macros.

We are using self-hosted Confluence.


Answers:
author: AnnWorley
body: This plugin will allow you to lock down the macros by user, I don't see how to restrict to certain spaces:

[Macro Security for Confluence](https://marketplace.atlassian.com/plugins/org.swift.confluence.macrosecurity/server/overview)


Tags: app

macro

space
How to attach documents as children of a page
Asked by Desmond Davies:

I'm trying to build a database for my work using confluence, part of which is uploading many files as children pages of another page. Currently I am creating individual new children, naming them the same thing as the file name, then attaching the file.

Is there a way to do this more quickly?


Answers:
author: AnnWorley
body: Do they have to be child pages? If so, I can't think of a faster method. However, if displaying the attachments on the parent page is sufficient, you could use the[Attachments Macro](https://confluence.atlassian.com/doc/attachments-macro-97911315.html).

comments: author: Desmond Davies
body: unfortunatly they do need to be children (thats how my supervisor wants it). I will just do it manualy then

thanks


author: Stephen Deutsch
body: You might be able to speed this up by using a command-line tool like [Confluence CLI](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/cloud/overview) or [ConfluencePS](https://github.com/brianbunke/ConfluencePS)


Tags: attachment

pdf
space template not showing in dropdown?
Asked by sn:

hi all,

confluence 5.10 server.

i read the documentation and created a new global blueprint for a space. but when i try to create a space , this newly added one doesn't show in the list.

am i missing something? i want to know if this is possible without any add-ons?

thanks !


Answers:
author: AnnWorley
body: placeholder, please ignore


author: AnnWorley
body: In step one of [Write a simple Confluence Space Blueprint](https://developer.atlassian.com/confdev/confluence-plugin-guide/confluence-blueprints/space-blueprints/write-a-simple-confluence-space-blueprint) you edited the src/main/resources/atlassian-plugin.xml. The info box mentions "the section='system.create.space.dialog/content' attribute is what makes the dialog available in the create space popup."

If you did not restart your instance after changing the file, Confluence will not have picked up the changes to the web-item for the create space dialog that you added to the file. Could that be the issue?

It is possible to have a custom Space blueprint without any add-ons. :)

comments: author: sn
body: ann- i think im not clear. i did not write a plugin to add blueprint. the document you are referring is writing a plugin. i do not know how to do that and i dont have SDK.

i just tried adding a global blueprint.
Best way to save confluence content when stopping subscription ?
Asked by Nicolas CANTEAU:

We are stopping our project and the Atlassian subscription.

Do you know what is the best way to keep our content ?

I have done exports in the past of all pages, but is there a more efficient way ?

thanks folks


Answers:
author: AnnWorley
body: As Nic pointed out there is the full XML site backup, which can be imported into another instance, there are page exports, and I think he forgot to mention the space exports you can do to either HTML or XML.![Screen Shot 2017-06-15 at 10.26.58 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2211iC6F08AF5F61674F5/image-dimensions/672x318?v=v2 "Screen Shot 2017-06-15 at 10.26.58 AM.png")

comments: author: Nic Brough -Adaptavist-
body: Yes, sorry, I was assuming "page exports" were being done with mass space exports. I should have stated that properly!


author: Nic Brough -Adaptavist-
body: There's the full xml backup which will contain everything and can be used to import into another Confluence if you want to go that way, but otherwise, the page exports are the only other option.
confluence.rpc.auth.TokenAuthenticationInvocationHandler
Asked by Francis Vittini:

Hi Everyone!,

I was reviewing my confluence.log file and found several entries on it that drew my attention.

The below line was repeated multiple times on the log. Like in 1 second maybe 20 times, some of them with the same user and other with another user.

INFO \[http-nio-8090-exec-2\] \[confluence.rpc.auth.TokenAuthenticationInvocationHandler\] invokeAuthenticatedMethod Executing remote API method \[ getPage \] as user \[ s5989069 \]

Is this some kind of automatic action a confluence user is doing to access Confluence?

I searched this on the web and couldn't find anything. If this is some kind of automatic way a user is trying to use to access confluence, i'd like to know if this can be restricted/avoided. I would not want to have a user flooding my confluence instance with access requests.

Have anyone seen this before, or can explain what is this method?

Thanks.


Answers:
author: AnnWorley
body: It looks like the remote API is being used. To disable it, go to Confluence Administration\>Further Configuration as shown:

![Screen_Shot_2017-06-15_at_2.08.51_PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2215i9318F4E5353E13C8/image-dimensions/757x401?v=v2 "Screen_Shot_2017-06-15_at_2.08.51_PM.png")

comments: author: Francis Vittini
body: Thank you!!


Tags: rpc

token
Confluence user group within a user group?
Asked by Terry Lynch:

How can I add a user group to a user group?? I find it baffling that this isn't a possibility - right now it's only letting me add a user to a group.

It's fine to add users to groups but then I want superset groups of different groups. Otherwise it becomes a complete mess trying to micro-manage individual users.

As an example, imagine I have three different types of users: typeA, typeB and typeC. I add 10 users to typeA group, 5 users to typeB group and 6 users to typeC group.

Now, certain spaces/pages I might want to give access to typeA and typeC users and certain types of spaces/pages I might want to give access to typeB and typeC users. I understand that I can individually permission typeA and typeC groups for the one space and typeB and typeC for the other space but this doesn't scale well when I have many many groups and permutations!! I want to be able to create supergroup1 containing typeA and typeC groups and then supergroup2 containing typeB and typeC groups - this way I just have to permission the supergroups.


Answers:
author: Nic Brough -Adaptavist-
body: You don't. Confluence doesn't have nested groups.

It can understand the nested groups provided by some directories, but it flattens them out.

comments: author: Terry Lynch
body: Ok, thanks for the reponse.

It's a reasonable request though right?? And so easy to implement I imagine


author: Nic Brough -Adaptavist-
body: It's not unreasonable, but from the code I've been wandering through, it's not easy. Especially as just accepting external directories doing it already clobbers performance.


Tags: group

user-management
Highlight the found anchor
Asked by Nanda Kops-Assendelft:

I created an anchor. When I use the link, the focus is set to approximatly the right position. But what I would like is that the concerning text is highlighted, or bold, or whatever. So the user knows exaclty where the anchor is.


Answers:
author: Thomas Schlegel
body: Hi Nanda,

anchors are invisible, that's their nature.

If you would like to show the position of an anchor, you have to add something else (a text or an image) directly before or after the anchor.

comments: author: Nanda Kops-Assendelft
body: Oke, that's clear. But when an user clicks on ++x++and navigates to the position of the anchor, is possible to show him the exact place somehow?


author: aba_ amb_ alex_bakic
body: Anchor name is not necessarily readable text, which usually is "duplicated". But to create a link to an anchor, we need the exact anchor name.
How to show the Space Tools menu for specific group in Confluence
Asked by Sebastien REBIERE:

Hi,

I find this line for filter by user but I don't know to do for filter by group:

\<script\>  
AJS.toInit(function(){  
if (AJS.params.remoteUser == ''){  
AJS.$("#space-tools-menu-trigger").hide();  
}  
});  
\</script\>

Thanks


Answers:
author: Sebastien REBIERE
body: Thanks for your response but it's the permissions in space but for my problem it's in the top menu generate in the Menu 'Custom HTML' in the balise "HEAD"

Thanks


author: AnnWorley
body: If the group does not have admin or export permissions for the space the Space Tools menu will not appear.
In a (template) meeting report I am not able to choose every user as an attendee using "@"
Asked by Danny Rempkens:

In user adminstration and space administration there are users with exact the same role and authorization. One of them can be added to the attendence list, the other one not.


Answers:
author: AnnWorley
body: Does the user not appear on the dropdown when you at mention them or can you somehow not add them after they are found on the list. If the latter, is there an error message?

If some users are not showing up in the dropdown it may be time to [reindex](https://confluence.atlassian.com/display/DOC/Content+Index+Administration) or [reindex from scratch](https://confluence.atlassian.com/display/CONFKB/How+to+Rebuild+the+Content+Indexes+From+Scratch+on+Confluence+Server).

comments: author: Danny Rempkens
body: Thanks for the answer. I am using Confluence in the cloud, are admin and do not have these reindex options in my menu.


Tags: index

meeting-notes
i have a documnet uploaded to confluenec page and i have 5 people who have access to it.
Asked by Yogeshwar Lanka:

i have a documnet uploaded to confluenec page and i have 5 people who have access to it. can the documnet be opened at same time by everyone and update info and saved sametime?


Answers:
author: Yogeshwar Lanka
body: thanks Jonas for our response.

but when we did that it wasnt saving all the inputs from users, do you advise of any settings to make or should it be updated usually.

Also, is there an option to track changes made (from any macros or any). thanks in advance.

comments: author: Jonas Poisson (ITECOR)
body: If you press "save" then your inputs will be saved and a new version from the document will be created.

If you do not press "save" then the changes will remain saved only in user's draft files


author: Jonas Poisson (ITECOR)
body: Of course. It will create a new version each time somebody saves the page and there will be a warning message saying that somebody else is currently editing the page.

comments: author: Yogeshwar Lanka
body: thanks Jonos for response.

we dont seem to get any such warning message and not all inputs are recorded form users.

any suggestions?
How can I include a title page when I export a page to PDF?
Asked by Yogesh Bhardwaj:

I am including this html snippet in Title Page section of the PDF Layout screen:

\<div class="fsTitlePage"\>  
\<img src="/download/attachments/590719/titlepage.png" /\>  
\<div class="fsTitle"\>Planning for Confluence 4.0\</div\>  
\</div\>

I had updated PDF CSS stylesheet. The PDF export does not display the title page. I expected there will be a title page with the image and the title. Please help.


Answers:
author: AnnWorley
body: I tested your html on my instance and it worked - without the image of course since I don't have a .png on that path.

The stylesheet doesn't apply when you export from the page, rather when you export from Space Tools. You can choose custom export and then select the page you need

comments: author: Yogesh Bhardwaj
body: Thanks Ann! I am getting expected results now.


Tags: export

pdf

title
User macro to show who has recently seen your page...
Asked by Martin James:

We can query the Confluence database to show who has landed on a page with the following query:

```
SELECT CONTENT_ID,TITLE,SPACENAME,LAST_VIEW_DATE,user_name,display_nameFROM AO_92296B_AORECENTLY_VIEWED LEFT JOIN user_mapping ON AO_92296B_AORECENTLY_VIEWED.USER_KEY = user_mapping.user_keyLEFT JOIN cwd_user ON user_mapping.lower_username = cwd_user.lower_user_nameLEFT JOIN CONTENT ON AO_92296B_AORECENTLY_VIEWED.CONTENT_ID = CONTENT.CONTENTIDLEFT JOIN SPACES ON AO_92296B_AORECENTLY_VIEWED.SPACE_KEY = SPACES.SPACEKEYLIMIT 100000;
```

This shows results based on unqie views over a 3 months period.

Is there any way we can achieve the same result by creating a User Macro?

I want to be able to use the Macro paramater field to search for a page which shows who has seen that page.


Answers:
author: AnnWorley
body: Have you considered a third party add-on like [Viewtracker](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker/server/overview)?


Tags: confluence-administration

confluence-app
Ability to pin some entries in page properties
Asked by ??????? ??????:

Is there a possible way to pin/keep certain entries at the top of the generated table?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@??????? ??????](/t5/user/viewprofilepage/user-id/1136294) ,

what do you mean with "generated table"?

Fabio

comments: author: Eugene Maslov
body: I meant, to keep the first row fixated during scrolling of the long table. I think, it was kinda 5 years ago.


author: Fabio Racobaldo _Herzum_
body: Btw, you can't do that using builitin features. There's a third part app with this capability

[https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview)

<https://docs.stiltsoft.com/display/public/TFAC/Sorting%2C+freezing+and+other+table+viewing+options>

Fabio


author: Katerina Kovriga {Stiltsoft}
body: Hi [@Eugene Maslov](/t5/user/viewprofilepage/user-id/5038045) ,

Indeed our Table Filter and Charts for Confluence app and its Table Filter macro that was kindly mentioned by [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) allow you to freeze N first rows and/or columns.

Maybe you'll be interested in a live demo from our team - please book a suitable time-slot [here](https://calendly.com/tablefilter/live-demo?month=2022-09), we'll be happy to demonstrate plenty of handy use cases.


Tags: filter

freeze

property

table

table-filter

table-filter-and-charts
Hipchat intergration
Asked by Deep Test account:

Can someone help me understand how to have the hipchat integration on confluence Tabs on the left.


Answers:
author: AnnWorley
body: I am not sure where you want to see the tabs but I have a hunch that the instructions are somewhere in this article - please review it and let us know any questions:

[Use HipChat and Confluence together](https://confluence.atlassian.com/doc/use-hipchat-and-confluence-together-678561679.html)