youngmon/atlassian-qna huggingface dataset:
Page Index macro
Asked by Pato Moschcovich:

I have used Confluence Server a lot in my previous company

At my new job, I lobbied to get Confluence, but we got Confluence Cloud

Things appear to work somewhat similarly, but many things seem broken to the point that I'm seriously considering not using Confluence at all

For example: I created a Space and called it Glossary. I added two sub-pages. In the parent page, I tried adding a Page Index macro. I have tried two different ways, both unsuccessfully.

1. Typing a slash and then Index: this doesn't seem to do anything at all
2. Trying to add a macro from the toolbar (+v), View More, Page Index. This shows me a preview. When I click on Insert, all I see is the rotating "I'm working on it" thingie

After about an hour, I cancelled that. I tried doing the same from a different browser window. Same result.

I tried creating a Live Search. That's broken as well. I.e.: there is nothing *live* about the search. I expect to see results as I type my search, but I only see what I type (no results). If I press \[Enter\], I see results.

A lot of articles talk about this new fangled UI and how a lot of people dislike it. I guess I'm one of them

Is Confluence Cloud basically unusable? My experience so far is that it seems to be in beta, which is not acceptable.

What has been your experience?


Answers:
author: Andy Heinzer
body: Hi Pato,

I found that you created a support case for this issue, in turn to help other users that might find this community post and have the same problem:

It appears this is a new bug in Confluence Cloud. You can see more details in [CONFCLOUD-65869](https://jira.atlassian.com/browse/CONFCLOUD-65869)

Thanks

Andy

comments: author: Pato Moschcovich
body: Thanks Andy


author: Pato Moschcovich
body: Update:

The so-called Live Search macro kind of works if I add an asterisk at the end of my search criteria. This is not the way it should work.

Is it possible to reboot an instance of Confluence Cloud?

Someone suggested looking at the administration page:

https://\[our instance\].atlassian.net/secure/admin/ViewApplicationProperties.jspa

This admin page is all about Jira. Is there a corresponding administration page for Confluence Cloud?

Thanks in advance


Tags: cloud
Problem importing space: ConstraintViolationException
Asked by Wojciech Zakrzewski:

Hello,

I tried to import confluence space into Confluence in the cloud.

Export was made from another Confluence (XML file + attachments).

When i tried to import for the first time everything went smooth. I wanted to repeat the procedure so I deleted imported space (there aren;t any other spaces, this is 'fresh' confluence) and tried again. This time at the end of the import i got:  
***com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: org.hibernate.exception.ConstraintViolationException: could not execute statement***

and space was not imported.

There aren't any logs so I am not able to check specifically what happened.  
How can this be checked? How to fix this error?  

My new client wants to use Confluence but it seems that old space (from another project) cannot be imported.


Answers:
author: allatrack
body: Hi,   

For me was helpfull this post  
[https://jira.atlassian.com/browse/CONFCLOUD-45278?focusedCommentId=1681089\&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1681089](https://jira.atlassian.com/browse/CONFCLOUD-45278?focusedCommentId=1681089&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1681089)

Regards!


author: Diego
body: Hello there!

As I understand Wojciech, the second time that a space import was executed it did not finish.

This error excerpt could mean a few things, such as:
> 1. Connect add-on users have the same email (noreply@mailer.atlassian.com)
> 2. Users from other directories that were imported and are duplicated

With this in mind, we could walk towards a few questions about your instance:
> 1. Is this XML export from Confluence Cloud or Server?
> 2. If this XML came from Server, which version was running?
> 3. Are you able to restore other backups on the same instance?
> 4. Are you still able to create spaces in Confluence?

Looking forward to your reply Wojciech!

comments: author: Wojciech Zakrzewski
body: I think 1. and 2. are not the case here because i tried to do import on clean instance.

For rest of your points:

1. From Confluence Cloud i suppose, though i cannot be 100% sure. Is there a way to check in within export files?

2. Anyway, on source Confluence I can see version 6.14.1 in the footer

3. Yes.

4. Yes.

I tried to import the same on another cloud instance, client's target. There was an empty space with the same name. I removed it and try to import - result is the same:

<br />

**com.atlassian.confluence.importexport.ImportExportException: Unable to complete import: Error while importing backup: org.hibernate.exception.ConstraintViolationException: could not execute statement**


Tags: import

cloud

confluence-cloud
How to add a new Page Tree title?
Asked by Dawnn Burrell:

I would like to add additional Page Tree titles to our existing Page Tree titles.


Answers:
author: Davin Studer
body: Please explain further what you are asking?

comments: author: Dawnn Burrell
body: On the left navigation bar in Confluence where the Page Tree titles of documents are located, I need to add new Page Tree titles, but I am not sure how to do this.


author: Davin Studer
body: The page tree maps to the pages in your system. So, if you add a new page to the system it will automatically show in the page tree. Depending upon which system you are on (server vs cloud) you create a page differently. If you are server there is a button in the top navbar that says "Create". In the cloud version there is a button in the left blue navbar that looks like a big "+" sign. In either system when you create a page it will by default become a child of the page you are currently on. So, if you want a page to be at the root of the navigation tree you need to be on the space home page when you create the new page. Also, if you do not see the "Create" or "+" buttons then you do not have edit ability for that space and you would need to contact your Confluence administrator to get edit access.


author: Dawnn Burrell
body: Thanks so much. This answered by question.
Page Restriction Trouble
Asked by Jeff Rowley:

I have read through a few dozen articles here ... but I still haven't been able to resolve my page permission problems.

My goal is: "Set all pages to 'view \& comment only' for everyone, and then allow a few people 'edit' permissions to a particular page."

My "Space settings \| Permissions" are set to:

- Groups \| Administrators = \[everything is green checkmarks\]  
- Groups \| Confluence-users = "All/View" \& "Comments/Add" are the only green checks  
- Ind. Users \| Me = \[everything is green checkmarks\]

I create a new sub page. The permissions start as "Unrestricted/No Restrictions" and it says "Everyone can view and edit this page."

- This is clearly not true, because everyone can View but no one (but me) can Edit.   
- But I get it. "From a certain Atlassian logic/perspective" it works the way it was intended even though it is opposite the way I originally understood it.   
- Crazy - but OK. I get it.

Now I want to allow certain people to have Edit permissions for that sub-page.

- I click the "lock" icon  
- Change from "No Restrictions" to "Editing Restrictions"  
- Add the user "Bob" as "Can Edit" and click Apply

Yet, Bob still does not have the "Click here to Edit" pencil icon after he refreshes his view of that sub-page.

What am I doing/understanding incorrectly?

Thanks for your help!


Answers:
author: Davin Studer
body: The thing about restrictions it is filters down from what is already available in space permissions. If the user does not have edit ability via space permissions then then adding a page restriction will not grant edit access. The restriction is simply that. It restricts from the current space permissions who can edit or view a page.

comments: author: Jeff Rowley
body: Davin, Thank you for your response.

So, greater permissions cannot be ADDED in a sub-page.   
Only restricted/removed. True?

Pages DEEPER down can only be assigned MORE restrictive permissions, not less. True?

So, do I need to add "full edit" permissions for everyone at the top level, then remove those permissions on all other pages except the one that I want Bob to be able to edit?


author: Davin Studer
body: That is correct and typically it is easier to handle with groups. That way if you need multiple people to have the same restrictions it is simply a matter of adding them to a group rather than having to edit restrictions on multiple pages.


author: Jeff Rowley
body: Thank you!


author: Elena Lurye
body: Adding to Davin's reply - I would create a separate group for people who would need the same permissions as Bob (if you expect more of them users to have this access) and grant them "Add pages" permissions on the space level and then grant them edit restriction on this specific page. Or, if only Bob needs access to edit this page, do the same for his ID only.


Tags: cloud

confluence-cloud
Has anyone gotten color formatting to work in the new Code Snippet tool?
Asked by Seth A Dowd:

I have started a slow moving support ticket with Atlassian about this.

The Code Snippet block seems to not support color formatting, but I want to make sure it is not a config issue that I am somehow missing a checkbox somewhere or a permission.


Answers:
author: Davin Studer
body: Is this for Confluence Server or Cloud? If it is Cloud, and I suspect it is because you mentioned "Code Snippet", then you are probably creating a page with the new editor. As of right now the new editor's code block does not have code coloring.
Does Confluence only support Microsoft Word, PowerPoint, Excel and PDF?
Asked by Dawnn Burrell:

I want to upload a Microsoft Publisher document in Confluence.


Answers:
author: Brant Schroeder
body: Confluence does not prevent files by type. If you are having issues uploading it is most likely the size of the file. Publisher files should upload just fine to a page or file list.

comments: author: Dawnn Burrell
body: Ok and thanks for your answer.


author: Davin Studer
body: You can certainly attach a published file to a page, but Confluence will not preview it like it can with Word, PowerPoint, Excel, and PDF files.

comments: author: Dawnn Burrell
body: Ok and thanks much.
For Confluence, a status report that can be collaboratively edited by many users. No Jira.
Asked by Leslie Coleman:

Currently data is being pulled from a myriad of sources \& copied/pasted into a Confluence page - for a weekly status reporting deck.

Without using Jira, do have an idea on how I could create a way to create a dynamic report for each piece of work that allows editing, from many users?


Answers:
author: Davin Studer
body: Have you taken a look at the page properties and page properties report macros? You could create a template for individuals to create pages and fill in page properties for the various systems. All that data can then roll up automatically onto another page using the page properties report macro.

comments: author: Leslie Coleman
body: Thanks. I'm on it. (Leslie)


Tags: report
Using embedded Hyperlink in excel document under confluence
Asked by Roger Hickey:

Hello,

I follow the instructions to embed an excel document in confluence and use the view File macro to display its contents per the following link

<https://confluence.atlassian.com/doc/view-file-macro-170494360.html>

The first sheet in my excel file is a table of contents with hyperlinks to other sheets.

When I embed the document following the above method, my hyperlinks do not work. Is there a way that I can do this so the user can just click the hyperlink and see the corresponding page in the same ebdded spreadsheet?

Thanks,

Roger


Answers:
author: Davin Studer
body: Unfortunately the Excel macro can only view one sheet at a time. You could, however, put multiple Excel macros on a page and have each show a different sheet. Also using tabs you could put each sheet on its own tab. The links however won't work between the tabs. Below a some apps that allow you to create tabs in Confluence. (paid)

* [HTML Elements (free)](https://marketplace.atlassian.com/apps/1217140/html-elements?hosting=server&tab=overview)
* [Composition Tabs \& Page Layout (paid)](https://marketplace.atlassian.com/apps/245/composition-tabs-page-layout?hosting=cloud&tab=overview)
* [Navitabs - Tabs for Confluence (paid)](https://marketplace.atlassian.com/apps/28632/navitabs-tabs-for-confluence?hosting=cloud&tab=overview)
* [Responsive tabs (paid)](https://marketplace.atlassian.com/apps/1216438/responsive-tabs?hosting=server&tab=overview)
* [Spectrum Formatting Macros (paid)](https://marketplace.atlassian.com/apps/1212124/spectrum-formatting-macros?hosting=server&tab=overview)
Create a Confluence page based on a Confluence space template from a custom web application
Asked by William:

Hello all,

We would like to create a Confluence page based on a Confluence space template from a custom web application.

We would like to prefill template variables passing some parameters during the page creation.

How could we perform this kind of operation ?

Does exist any Confluence REST API able to do that ?

Regards,


Answers:
author: Davin Studer
body: You would need to look into create a Blueprint to do this. Blueprints are like templates on steroids. The below documentation is for how to create blueprints.

[Confluence blueprints](https://developer.atlassian.com/server/confluence/confluence-blueprints/)


Tags: confluence-server

server
When using tabs and then exporting to PDF, why is the tabs content missing in the PDF?
Asked by Jerry Dworaczyk:

Am using v6.14. The page contains 4 tabs via the tabs macro.

When exporting to PDF, prior versions were able to export and render the tabs content. With the 6.14 version this is no longer the case. Only the first tab content is exported; the other tabs are nonexistent as is the content.


Answers:
author: Jerry Dworaczyk
body: Haha! Answering my own question...

We discovered that the issue was in our style sheet. As it worked before, it works now. Tab content is included in the PDF file. And as before, the tabs never render--only the content as is the case with expand macros.


Tags: confluence-server

server
Disconnected Call
Asked by Rhea Tusoy:

Hello,

I'm working as a Quality Manager and I'd like to know if NVM call recordings has options to identify if the agent has disconnected the call or if the customer has ended the call. Hope you can shed some light on this issue.


Answers:
author: Mikael Sandberg
body: Hi Rhea,

This is a community for Atlassian tools, and it looks like you ended up here because New Voice Media is using [Confluence](https://www.atlassian.com/software/confluence) for their online documentation. You can contact New Voice Media Support [here](https://www.newvoicemedia.com/en-us/support) and they should be able to answer your question.


author: Nic Brough -Adaptavist-
body: You'll need to explain what this has to do with Confluence?


Tags: cloud

confluence-cloud
programatically create a space with a template (blueprint)
Asked by OB:

HI all,

Is it possible to set a blueprint at the creation of a space using the api?

How can i get the id of the existing blueprint?

I'm using confluence 6.8 and +

I'm developping a confluence plugin

thank you


Answers:
author: OB
body: Hi all,

I can pass the "spaceBlueprintId" parameter to the createSpace REST API, it works.

But how can I get the ids of default space blueprints?

Thx

comments: author: OB
body: got it : <https://community.atlassian.com/t5/Confluence-questions/How-can-i-create-a-space-from-a-blueprint-in-Java/qaq-p/822283>

rest/create-dialog/latest/space-blueprint/list


author: Davin Studer
body: The below documentation is for how to create Space Blueprints.

[Space Blueprints](https://developer.atlassian.com/server/confluence/space-blueprints/)

comments: author: OB
body: Hi Davin,

Thank you for your answer, sorry if I was not very clear, but I don't want to create a space blueprint but I wan't to programatically create a space with a predefined template, like in the ui :

* empty space
* knowledge
* space team
* ....

But by using the API.

Is it possible (I can't find doc) to pass the template/blueprint at the creation?

Thanks again
Issue collector: How do I always collect the URL of the source page. Enabling environment check box
Asked by Stan Ry:

Howdy,

I am configuring my issue collector in Jira and I want all Jira issues that my users create in Confluence always include environment data.

This is vital information that helps to recognize the page for which the question was rised or a response was left. Without this data, it's impossible to understand the source page and react on the problem.

Within the settings of every issue collector there's one that configures Jira to collect browser info. When enabled, the **Collect browser info** option ensures that Jira "Collects the environment data of the user, if they consent to being it collected. Thie data includes the browser type, screen resolution, referral header, and URL where the feedback was collected".

![Issue.Collector.Config.png](/t5/image/serverpage/image-id/48393iA938811E3B287E5D/image-size/large?v=v2&px=999 "Issue.Collector.Config.png")

**The issue is** , when a user clicks the feeback button, they see that the **feedback form** by default has the **environment check box off**.

![Issue.Collector.Feedback.Form.png](/t5/image/serverpage/image-id/48394i1D690D62B8A73FCF/image-size/large?v=v2&px=999 "Issue.Collector.Feedback.Form.png")

As seen above, the **Include data about your current enironment, like the browser and page URL** check box is ++cleared by default++. This leads us without the info about the page URL because, users simply leave off the check box.

I understand that this is because we can't collect data without user consent, but could be somehow change the **default setting for the check box from off to on**?

Thank you.


Answers:
author: Arshabhi Rai
body: Updated answer: It works! Make sure to add the code snippet at the bottom of your page.

I updated the JavaScript and the checkbox is selected automatically. This is what I have:

**JavaScript**

```
jQuery.ajax({
URL: "<URL>",
type: "get",
cache: true,
dataType: "script"
});

window.ATL_JQ_PAGE_PROPS = {
'<ID>' :{
"triggerFunction": function(showCollectorDialog) {
//Requires that jQuery is available! 
$("#myCustomTrigger").click(function(e) {
e.preventDefault();
showCollectorDialog();
});
},
fieldValues: {

recordWebInfo: '1', // field Name
recordWebInfoConsent: ['1'] // field Id

}

}
};
```

```
HTML
<a href="#" id="docsFeedbackTrigger" class="docs-issue-collector">Provide feedback</a>
```


author: Matt
body: Do it with Javascript, it works great.

Detailed instructions on the 'Advanced Issue Collector' pages.


Tags: environment

feedback

forms

issue-collector

page
Duplicating the framework of Product Requirements Index - Product Requirements won't populate index
Asked by Craig Barron:

A feature I use often in Confluence is the Product Requirements Index to host the Product requirements.  
This works simply by searching for a tag of 'requirements' on any page and displaying it in a list.  

I've duplicated this framework in the past for another index with a different label.

However, I can't get it to work again. I'm trying to search for the label of 'release' to populate a releases index. Can anyone suggest why this wouldn't be working?

THANKS!


Answers:
author: Diego
body: Hello there, thanks for reaching out!

As I understand, the page created with the Product Requirements template copy is not working as expected.

This might be due to the fact that the pages with the "releases" label do not have the necessary **Page properties macro** within it. Here is an example of a Product Requirements page that I created, in edit mode:

![Screen Shot 2019-03-15 at 16.56.49.png](https://community.atlassian.com/t5/image/serverpage/image-id/48827i0521424929616DCD/image-dimensions/329x264?v=v2 "Screen Shot 2019-03-15 at 16.56.49.png")

What happens when you set a label within the Product Requirements index page is that a **Page properties report** **macro**is inserted and set to show the label specified as "requirements". This label is automatically attributed to pages created by using the Product Requirements template:

![Screen Shot 2019-03-15 at 16.57.58.png](https://community.atlassian.com/t5/image/serverpage/image-id/48828i07A63D5EF5FDF865/image-size/large?v=v2&px=999 "Screen Shot 2019-03-15 at 16.57.58.png")

If you need to have an index looking at another label, you will need to insert a Page Properties macro in each one of the pages with the label "releases". After you do so, the information should be shown there!

**[Page Properties Macro](https://confluence.atlassian.com/doc/page-properties-macro-184550024.html)**

However, if the situation explained above is not exactly what is happening and you already knew this information, please allow me to ask some questions for clarification:
> 1. Is the original index still working?
> 2. Is the other copy you made still working?
> 3. Are you still able to search for labels?
> 4. What happens if you create a new label within Confluence?
> 5. Was there any kind of change applied to your instance?

Craig, please let us know your findings. Looking forward to hear from you!
Site access and Product access: where is the activity log ?
Asked by Roberto Ialino:

Hi All,

we have more people accessing to Site access and Product access.

It seems that modifications on these settings are not logged.

Could you kindly let me know where i can find the activity log for these two sections ?

Thank you very much in advance.

Best regards


Answers:
author: Davin Studer
body: For Confluence you can get that under Confluence Administration -\> Administration -\> Audit Log. The URL would be http(s)://{your server}/admin/auditlogging.action

For Jira it is under Jira Adminjstration -\> System -\> System Support -\> Audit Log. The URL for that would be http(s)://{your server}/auditing/view

comments: author: Roberto Ialino
body: Hi, thank you very much for your answer but updates on this sections are not logged on on Audit Log.

When I wrote "It seems that modifications on these settings are not logged." it means "are not logged on Audit Log."

Best regards

Roberto


Tags: jira
how to automatically populate fields on confluence pages from values in excel
Asked by Parmjeet Kaur Gurmeet:

I have an excel sheet with 400 rows and 20 columns. I have few pages in Confluence where I would like some fields to be populated with the content of the excel. How should I do this?


Answers:
author: Davin Studer
body: There is not automatic way to do this. You would probably need to program an app for this purpose or use Confluence's REST to update the page based on the Excel document.


author: Mary Vandulken
body: It is possible to do this without paying for specialized software if you code a script to automatically generate a google or word doc from your excel file.

I used google sheets and this video: <https://www.youtube.com/watch?v=iLALWX0_OYs>

You can then import in bulk into Confluence.

I'm very late but I wanted to post this so others wont have to go through the same frustrating process.


author: Oki__PolarisOffice_
body: Why don't you just embed the excel file in a confluence page.

[Polaris spreadsheet for Confluence](https://marketplace.atlassian.com/apps/1223556/polaris-spreadsheet-for-confluence) allows you to import an excel file in a confluence page. It offers the advanced view mode so you will use fileter, freezing pane, and search. It also provides a full excel editor mode. So you can manipulate data whenever you need.

Please check details with the video below,

[https://www.youtube.com/watch?v=OELp_2G62oI](https://www.youtube.com/watch?v=OELp_2G62oI%C2%A0)


Tags: ms-excel