youngmon/atlassian-qna huggingface dataset:
Editing page labels in bulk
Asked by Kevin Singley:

Is there any way to edit page labels in bulk? I would like to delete and/or replace a label on a bunch (hundreds) of pages.

Thanks in advance...


Answers:
author: Brant Schroeder
body: Kevin,

This is not possible via delivered functionality. Since you are on server you can check out Stephen Deutch's Label Management Tool user macro.

<https://bitbucket.org/stephendeutsch/confluence-user-macros/src/dc9180ae95e0292cba2b457c0215f071d39330c9/label%20management%20tool/?at=master>

You can also take a look at the free app [Power Scripts for Confluence](https://marketplace.atlassian.com/apps/1219507/power-scripts-for-confluence?hosting=server&tab=overview) to help automate Confluence administration, one of the features is bulk label admin. Here's the script:

<https://confluence.cprime.io/display/CTR/Replace+a+label+with+a+different+one>


Tags: confluence-server

server
How can I use one of the Templates in a space I've already created?
Asked by E.R. Soares:

Hello!

I'm very new to Confluence and I went ahead and created a space, leaving the *Overview* page blank without using any template, as I was unclear as to which one and how best to use the templates. I also figured I would be able to go back and add a template to the Overview page later when I got more comfortable with the platform, and by then any evolutions of the space would also let me have a better idea of what the Overview page should contain and look like. I went ahead and spent time on the pages populating the space, and by time I mean a lot of time and effort. I ***do not*** want to lose those pages.

So, now I want to create the Overview page for the space, and I want to utilize one of the premade templates.**It seems like you can only select a template at inception and not insert one later on, is that true?**

**To be clear: Is it the case that templates can ++only++ be selected and used on an Overview or any subsequent pages at the beginning of the space/page making process, and ++cannot++ be added after the fact.** **The only way to include a template for a space/page would be to start all over and choosing a template from the get go. Yes or no?**

I cannot find any clear indication either way from googling this question and forums, and its confounded me to no end. I feel like I must be missing something.

Thank you so much in advanced, I appreciate the time taken to answering my longwinded question.

Emily


Answers:
author: Nic Brough -Adaptavist-
body: Correct, templates are used as a starting point.

You create a page with one and that's it, the template does nothing else. If you change a template, new pages you create with it will have the new shape, but it can't affect old ones, it has no link to them and no way to know how to apply the change.

Templates really are what they are named after - a pattern used to get something started, not change its shape later.


Tags: cloud

confluence-cloud
Page Tree setting default view - Confluence 7.4.5
Asked by Maura S:

Hello, I am attempting to fix/update my team's Page Tree view in Confluence. I've googled this a million times and have done everything I can think of such of Move, Reorder and configure Side Bar, but nothing is working for what I need.

Currently, when a user logs in, our team page's side bar navigation does not have the primary parent pages underneath the Page Tree view. I need to change this so that when a user logs in, they will see my parent pages in this view (these are just examples, of course, per data security):

\>Team Fantastic

\>Documents for support team

Currently what happens is when a user first logs in to the team space, they are presented with the primary team space's child pages underneath the Page Tree, but since I have two additional parent pages, this is not the view I want.

Can anyone kindly help me figure out how to change this 'default' view in my Page Tree?

Thank you!


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Looks like do you want to adjust automatically the sidebar, but better to write own addon to expose the page tree for the spaces or found in markeplace.atlassian.com

comments: author: Maura S
body: Thanks for the response! I was able to reorder the pages....it was 'user-error' ?


Tags: cloud

confluence-cloud
Create from template button background color issue
Asked by Jonathan Smith:

In the past I was able to post the following CSS in the global stylesheet to make the background of the button white but since 7.7.3 the button continues to be transparent.

`/*changes the transparent create from template button to have white background*/`

`#main-content a.create-from-template-button {``background-color``:` `#f2f2f2``;``}`

Any CSS help would be appreciated.


Answers:
author: Kim Wallace
body: I am having a similar issue with a user macro that creates a Jira - the background is being wiped out completely. I'm currently seeing 7 overrides to **Input** when I inspect the page. When I follow the line link to the issue, I see the statement, but there is nothing explicit in my CSS macro within Confluence. Ideas?


author: Brant Schroeder
body: Jonathan,

#main-content a.create-from-template-button {background-color: #f2f2f2;} is actually a very light grey. Using the hex value of #ffffff will make it white. #main-content a.create-from-template-button {background-color: #ffffff;}

comments: author: Jonathan Smith
body: The table's background color seems to trump the button color.


author: Brant Schroeder
body: can you inspect the element in the browsers and share the HTML. Can you also share the CSS that you are applying on the table.


author: Soumyadeep Mandal
body: Hi [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1194895) ,

You can use the following CSS in your space stylesheet

```
#main-content a.create-from-template-button {
background-color: rgba(0, 0, 255, 0.3);
}
```

comments: author: Jonathan Smith
body: [@Soumyadeep Mandal](/t5/user/viewprofilepage/user-id/3861721) The code did not work at the global stylesheet or space stylesheet level.

Note: My use case is to put the button in a table.  

![a.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/124042iC112340C4F156062/image-size/large?v=v2&px=999 "a.jpg")


author: Soumyadeep Mandal
body: Hi [@Jonathan Smith](/t5/user/viewprofilepage/user-id/1194895) ,

You can use

```
background-color: rgba(255, 255, 255, 1);
```

or

```
background-color: rgb(255, 255, 255);
```

or

```
background: #fff;
```

or

```
background-color: rgba(255, 255, 255, 0.1);
```

to make the background white!


author: Jonathan Smith
body: [@Soumyadeep Mandal](/t5/user/viewprofilepage/user-id/3861721) Background is too generic, it needs to be 'create from template' button focused.

I am not sure if **!important** thrown in-front of the code above would force the button background to be dominant or not.


Tags: confluence-server

server
Expandable menus and Internal Links
Asked by Kev Smith:

Hi Friends,

So I'm trying to create a page with multiple expandable + multiple table of contents.

I'm using an older version 6. I have a macro to expand menus. Then within that expandable menu, I added a "Table of Content Zone" and then within that Table of Content Zone i added my contents with heading 1 and 2. It worked perfectly fine.

So now i have multiple expandable menus and whenever i expand those menus i can see the table of contents for that section, so all good.

Now, lets say i expand a menu, copy a heading link to share, that link is not automatically expanding the menu.

Lets say i shared that link with a coworker, when they click that link, i'd expect confluence to auto expand that menu and take then directly to that topic.

Any suggestions please?

Thanks

K


Answers:
author: Kev Smith
body: Hi [@Fadoua](/t5/user/viewprofilepage/user-id/655791)

Sure, please see attached.

So lets say I have 3 menu item like this. If i right clic on Heading 01 hyper link i can copy a direct link to that menu item. But if i close this browser tab and paste that link, its not taking me directly to that content. It's showing the collapsed menu. I want the link which I copied to automatically expand that menu and take me to that menu item.

I hope its clear now..

Thanks

comments: author: Fadoua
body: Ok got it, let me try it from my end then get back to you


author: Fadoua
body: [@Kev Smith](/t5/user/viewprofilepage/user-id/4207983) I didn't forget about you - I promise to get back to you tomorrow


author: Fadoua
body: [@Kev Smith](/t5/user/viewprofilepage/user-id/4207983)

Check this out:

[https://community.atlassian.com/t5/Confluence-questions/Linking-to-an-expanded-section/qaq-p/1157519](https://community.atlassian.com/t5/Confluence-questions/Expanding-section-when-clicking-on-table-of-contents-link/qaq-p/1135291)

You will need to vote, it looks like it is not feasible at the moment

Please let me know if you have any other questions.

Best,

Fadoua


author: Kev Smith
body: Thank you [@Fadoua](/t5/user/viewprofilepage/user-id/655791) appreciate your time :)


author: Fadoua
body: [@Kev Smith](/t5/user/viewprofilepage/user-id/4207983)

If you can share some screenshots after hiding confidential information it will be very useful.

Best,

Fadoua


Tags: cloud

confluence-cloud
How to empower edit access
Asked by Andy Yang:

We created one page for team to weekly update comments, but we can't find the edit icon and don't have the access even restrict the page. Need some support.


Answers:
author: Daniel Ebers
body: Hi Andy,

welcome to the Atlassian Community!

Have you double checked the permissions set for the page are correct so users can edit it?  
I will link the corresponding article here, in case of further questions please reach out to Community.

<https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/>

Cheers,  
Daniel


Tags: cloud

confluence-cloud
How do I know the current rest api version of the confluence server
Asked by apathytz:

I only know the version of the confluence server, but the rest api is not consistent with it.


Answers:
author: Daniel Ebers
body: Hi [@apathytz](/t5/user/viewprofilepage/user-id/4207860)

welcome to the Atlassian Community!

The REST API version of Confluence Server correspondents with its version number, you can compare here:  
<https://docs.atlassian.com/ConfluenceServer/rest/7.10.0/>

Let's assume you have currently installed Confluence version 6.6.17 you can change the URL so it reads:  
<https://docs.atlassian.com/ConfluenceServer/rest/6.6.17/>

It this what you were looking for?

Cheers,  
Daniel

comments: author: apathytz
body: I am using Atlassian Confluence 6.15.8, but when I look up the API of <https://docs.atlassian.com/ConfluenceServer/rest/6.15.8>, the response I get after actually calling is inconsistent with the API

for example,

When I call /rest/api/space?spaceKey=api, the structure returned is

```
{
"results": [
{
"id": xxx,
"key": "api",
"name": "xxx",
"type": "global",
"_links": {
"webui": "/display/api",
"self": "xxx"
},
"_expandable": {
"metadata": "",
"icon": "",
"description": "",
"homepage": "/rest/api/content/xxx"
}
}
],
"start": 0,
"limit": 25,
"size": 1,
"_links": {
"self": "https://xxx/rest/api/space?spaceKey=api&status=current",
"base": "https://xxx",
"context": ""
}
}
```

But the response of the document is

<https://docs.atlassian.com/ConfluenceServer/rest/6.15.8/#api/space-spaces>  

<br />


author: Nic Brough -Adaptavist-
body: Yes, that's correct, your response matches the document.

I think the problem is that you're not understanding that your call to the api is going to return the data about your space, rather than a clone of the example. The call you are making is not the same as the one in the documentation example, and your spaces are not set up the same as the confluence the documentation is based on.


author: apathytz
body: ok, I got it, thanks. The document only gives one example of response of the current API, but what I need is a common response, otherwise I cannot know the structure of the API response, because the only way I get the api information is the document. So when I cannot actually call a certain version of the API, is there any good way for me to get the common response?


author: Nic Brough -Adaptavist-
body: The REST API docs document the format of the response. The example output is already a "common response", it's just got data in it that is different to yours.


Tags: confluence-server

server
I want to use an old editor
Asked by ????:

I can't use the old editor.  
There was information in the community that only Atlassian support engineers could make older editors available.  
<https://community.atlassian.com/t5/Confluence-questions/Rollback-to-old-editor/qaq-p/1508925>

Please issue a ticket like the above user.


Answers:
author: Ang?lica Luz
body: Hello [@????](/t5/user/viewprofilepage/user-id/4207740),

Welcome to Atlassian Community!

I've enabled the legacy editor on your site.

Please, take your time to test and let us know if you have any other questions.

Regards,  
Ang?lica

comments: author: ????
body: Thank you! Ang?lica.  
I was able to use the old editor.


author: Liam Green
body: Hi [@????](/t5/user/viewprofilepage/user-id/4207740)

Welcome to the Community!

I've tagged your question so someone from Atlassian should see it, bear in mind though that it is New Year weekend.

In the mean time, have you tried the below article?

<https://community.atlassian.com/t5/Confluence-Cloud-articles/Change-to-your-content-is-in-your-hands/ba-p/1324476>

Thanks, Liam

comments: author: ????
body: Thank you! Liam.

Look at the link you received and wait for Atlassian's reply.


Tags: atl-rvw

cloud

confluence-cloud
Display a count of Confluence pages using CQL similar to Jira issue count using JQL
Asked by Cody Eberhardt:

I am looking to display a count of pages that match a certain CQL or set of filters. I want it to display in an issue count like the Total Issue Count on the Jira Issue/Filter macro. Is there any way to do this without any add ons?

Thank you!


Answers:
author: Davin Studer
body: You could try the [CQL Search](https://marketplace.atlassian.com/apps/1213090/cql-search?hosting=cloud&tab=overview) app but it doesn't get you a count only, but it can give you a list with a count. It's a free app.

comments: author: Cody Eberhardt
body: I should also add my original goal was to great graphs for pages that our team has contributed to within a certain time frame (last week, last 6 months, etc.), and have the graph be split up by labels (the labels are departments). So the end goal would be to have a couple graphs that would show which pages our team contributed to and departed by department. I am almost certain this isn't possible so my next option was to just create a table with the number of pages like I mentioned above. If anyone has any other options or ideas please let me know. Again I do not want any add ons please!


Tags: cloud

confluence-cloud
Failed Confluence Installation?
Asked by richard chun:

I have JIRA + BITBUCKET on the server running now. Each time I try to install Confluence, it has failed. My SQL database and user accounts are in place, the install guide does not seem too crazy. Anyone experience the same?


Answers:
author: Bastian Stehmann
body: Hi [@richard chun](/t5/user/viewprofilepage/user-id/3978050) ,

How does the installation fail. Does the installer fail, doesn't it start up, are there problems running the setup wizard?

Are there any errors in the log?


Tags: confluence-server

server
Simple Cite Plugin - Cite Summary Macro, link with "1" instead of "?"
Asked by Alessia:

Hi,

I'm using [this plugin](https://marketplace.atlassian.com/apps/1212933/simple-cite?hosting=cloud&tab=overview) for reference handling.

When I go to the part of documentation related to the ["Cite Summary Macro"](https://bitbucket.org/apurde/simple-cite/wiki/Home#markdown-header-macro-cite-summary) I can see that, in the image, to go back to the part of the page that the reference refers to you can click on an upwards arrow **"?"** , while trying it, all the links are represented by **"1"**.

To clarify I attach the image of the links in the documentation:

![Immagine 2020-12-30 151802.png](/t5/image/serverpage/image-id/123785i09D7A341715261D3/image-size/large?v=v2&px=999 "Immagine 2020-12-30 151802.png")

Here is how they are shown in my case:

![Immagine 2020-12-30 151944.png](/t5/image/serverpage/image-id/123786i17FCF047085C1CFF/image-size/large?v=v2&px=999 "Immagine 2020-12-30 151944.png")

Is there some specific setting to select for showing the arrows instead of the 1s?

The server version I'm using is 7.9.0.

Thanks in advance.


Answers:
author: Fadoua
body: [@Alessia](/t5/user/viewprofilepage/user-id/4207361)

Please raise a ticket with the vendor's plugin as this seems to be an issue related to it not to Confluence.

Let us know if you have any questions.

Best,

Fadoua


Tags: app

confluence-server

server
Confluence pages search based on custom metadata
Asked by Priska Aprilia:

We are using Comala Metadata and Comala Document Management plugin.

We use Comala Document Management to set metadata on a page. Let us suppose we have pages with the metadata as shown in the screenshot.

What we want to achieve is to retrieve the pages based on these metadata (can be more than one conditions in the search criteria). For instance, one of the possible scenarios is to retrieve all the pages where the "Live Date" \>= '2020-01-01' and "Live Date" \<= '2020-12-31' and "Directorate" = 'Application'. Then, we will process the search results further to produce a custom report.

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

We have looked into the Comala Metadata plugin documentation, there seems to be no solution to our use case.

We have looked into Confluence JAVA APIs (one of it was CQLSearchService) documentation on how to get pages based on custom property but to didnt find a sample where we can pass metadata (custom property) in the search query.

Any idea how to can achieve this?

Cheers,

Priska


Answers:
author: James Conway
body: Hi [@Priska Aprilia](/t5/user/viewprofilepage/user-id/1685919)

Unfortunately Comala Metadata does not currently support your use case.

You may want to explore Communardo Metadata [https://marketplace.atlassian.com/apps/1213690/metadata-for-confluence?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1213690/metadata-for-confluence?hosting=server&tab=overview). You can integrate Comala Document Management and Communardo Metadata - <https://wiki.comalatech.com/display/CDML/Communardo+Metadata+for+Confluence+app>. However currently we do not support setting Communardo Metadata with a workflow.

If you need any further help, please don't hesitate to contact me here or get in touch with our friendly support team at <https://support.comalatech.com>

Kind regards

James  
Senior Product Manager

comments: author: juela.zeneli@communardo.com
body: Hi [@Priska Aprilia](/t5/user/viewprofilepage/user-id/1685919) ,

I am Juela, the Product Owner of Metadata for Confluence.

As James already mentioned, you can integrate Metadata for Confluence with Comala Document Management.

Metadata for Confluence supports the scenario that you described. You can build custom reports with it.

However as James mentioned in his comment, currently setting Communardo Metadata with a workflow is not supported.

If you are interested I would be happy to schedule a short meeting together where I can show you how Metadata can help you build the scenario you described.

I look forward to hearing from you!

Kind Regards,

Juela


Tags: comala

comala-document-management

confluence-server

metadata

server
Getting Table of Contents to work with bullet-point text
Asked by Patrick Garofallou:

In the prior page formatting, you could change the text type from 'Normal text' to a heading style, then use that heading style to filter for the 'Table of Contents' filter. In the new page format, it is not possible to change the bullet-point text type.

Is there a way around this via a different 'Table of contents' configuration? i.e. only list the top-level bullet-points?

Or is there maybe a better macro for what I am trying to accomplish?


Answers:
author: Rachel Neel
body: I'm trying to do the same thing. Doesn't appear to be a way yet?


author: Liam Green
body: Hi Patrick

Are you saying you would like the bullet points to appear in the Table of Contents?

Thanks, Liam

comments: author: Patrick Garofallou
body: Sort of. I want the top-level bullet point to appear as clickable in the table of contents. For example

* This is a top-level bullet
  * This is a sub-bullet
  * Another sub-bullet
* Another top-level bullet
  * Another sub-bullet

In the table of contents, I would see:

This is a top-level bullet

Another top-level bullet

This was previously possible by changing the text style of your top-level bullet points to something like Heading 4, then using the 'minimum heading level' and 'maximum heading level' to filter only for that heading. In the new type of pages, the text style for bullet points is locked so this solution is no longer valid.

Looking for a workaround or alternative to that. I am sure there is probably a better way to accomplish what I'm doing, and I realize I can just remove the top-level bullet from the bullet points to still use my solution, but was hoping to keep everything in bullet points.


author: Liam Green
body: I was hoping I'd read your query wrongly, but I haven't. I can't think of a way of doing it unfortunately, but hopefully someone can.


Tags: cloud

confluence-cloud
Usability of Date Picker
Asked by John Steele:

Is it possible to go to a specific date, or jump to a specific month or year, with the Confluence Date Picker?


Answers:
author: Bill Bailey
body: After you activate the calendar picker, you can just start typing the date, and then change it through the picker

comments: author: John Steele
body: Thanks, Bill. That works for me, although it would be nice if there were keyboard shortcuts to move around within the picker.


author: Bill Bailey
body: yeah it would be nice to have some easy way to move forwards and backwards a month at a time easily.


author: Ezequiel Namios
body: i need to insert a dynamic date picker into the pages to show me the current day. Is it possible to do that in Confluence Cloud?  


Tags: confluence-server

date-picker

server