youngmon/atlassian-qna huggingface dataset:
Can't edit confluence page when I insert a html macro
Asked by lisa1017 wang:

Hi,

I insert a html macro as bellow:(I need to keep this macro)![html.png](/t5/image/serverpage/image-id/29383i0942D1E0627C7D44/image-size/large?v=v2&px=999 "html.png")

And then, When I try to edit this page, it just shown as blank, And I can see the following logs:

Bootstrap:initialise: No settings found. Has preInitialise been called?  
VM4526 batch.js:633 Downloading resources:  
css!/s/860644ebf11dcbb0e06b72a9ff7dacda-CDN/en_GB/7202/e97769bbf919c0bd667762fc102f557beacb7f94/5e0257d9d7159cf87e6e254a3bb2a156/_/download/contextbatch/css/com.atlassian.confluence.extra.team-calendars.resources-batch,-_super,-atl.general,-viewcontent,-page/batch.css?build-number=7202\&confluence.table.resizable=true\&confluence.view.edit.transition=true\&data-wrm-batch-type=context\&data-wrm-key=com.atlassian.confluence.extra.team-calendars.resources-batch%2C-_super%2C-atl.general%2C-viewcontent%2C-page\&highlightactions=true\&is-server-instance=true\&nps-acknowledged=true  
js!/s/833773608bea12f9863b87148e29284c-CDN/en_GB/7202/e97769bbf919c0bd667762fc102f557beacb7f94/5e0257d9d7159cf87e6e254a3bb2a156/_/download/contextbatch/js/com.atlassian.confluence.extra.team-calendars.resources-batch,-_super,-atl.general,-viewcontent,-page/batch.js?build-number=7202\&confluence.table.resizable=true\&confluence.view.edit.transition=true\&highlightactions=true\&is-server-instance=true\&locale=en-GB\&nps-acknowledged=true!order  
VM4526 batch.js:633 Synchrony successfully initialised.  
VM4613 batch.js:1 Error running batched script.

Anyone can help? Thanks in advance.


Answers:
author: Stefan Mueller
body: Hello,  
I face the same problem, including Bootstrap via HTML Macro

```
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
```

alters the buttons on the Confluence pages, what makes it hardly usable.

I found [Limiting scope of JavaScript source](https://stackoverflow.com/questions/42217620/limiting-scope-of-javascript-source), could that be a solution, I haven't got it to work yet :(.


author: Diego
body: Hello Lisa!  
The editor can be affected by your script, you could check the JS you are using. Another customer had a similar problem:
> OK, found my own error. JS failures in the global section can apparently blow up the edit, so clearing any custom JS helps. This includes updates to "shared" JS files (stuff hosted on jquery cdn, etc), so watch out for that.

<br />

**[Edit screen is blank](https://community.atlassian.com/t5/Confluence-questions/Edit-screen-is-blank/qaq-p/677815)**   

This looks like you case, so you may need to look for options to the JS you are currently using.
Editing the main page from a different user
Asked by David Thirlway:

Hi,  

I've found an anomalous feature when you edit a page as a different user. When it is saved for the changes, it creates two pages for some odd reason. One for the Main page edited by the page author and one page edited by the user.  

When I try and delete the page that was edited by the user, it deletes the page by the user AND the main page by the author.

![2 pages.PNG](/t5/image/serverpage/image-id/29359iA22D26C88125A5F0/image-size/large?v=v2&px=999 "2 pages.PNG")

Is this a bug or Confluence does this and is there a way to turn this off?

Our confluence build is 6.10.0

Thank you


Answers:
author: Shannon S
body: Hi David,

That doesn't appear to be a separate page but from some section such as "recent updates" showing that the page was updated. It is, in fact, the same page.

Actually, Confluence doesn't allow two pages to have the same title, so I believe this is likely what you're seeing.

Could you tell me where you obtained the screenshot?

Regards,

Shannon

comments: author: David Thirlway
body: Hi Shannon,

I got the screenshot from this:

![2 pages.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/29487iAB00F37FF56F0C4E/image-size/large?v=v2&px=999 "2 pages.PNG")

I now understand that when the user edits the page as a different user, it will "create" a page edited by the user as well as updating the "actual" page created by the author. I also understand that "Recently Updated" is a feature in Confluence.

But now we would like to know if there is a way to change "Recently Updated" into something else on the page section (i.e. show current pages created instead).

Thank you


author: Shannon S
body: Hi David,

When you edit an existing page in Confluence, it only temporarily creates a draft (regardless if you are the original author or not). Once you save the draft, it directly updates the original and removes the draft. So at no point will it create a separate page.

The "pages" you are seeing on the list of the **Recently Updated** macro are not pages pers?e, but rather "entries". In your example, the first entry is letting us know that the user **admin** has updated the page called **Upgrading Demo/Production** . I can't see the contents of the second entry, but my assumption is that it probably says something like **user x** created the page called **Upgrading Demo/Production**.

Unfortunately it's not possible to hide these updates from the **Recently Updated** macro but you could easily create your own homepage and include the [Page Tree Macro.](https://confluence.atlassian.com/doc/page-tree-macro-163414255.html) With this, you could sort by "date modified" and it will only show one entry per page.

For setting a homepage, review the following:

* [Configuring the site homepage](https://confluence.atlassian.com/doc/configuring-the-site-home-page-138140.html)
* [Set a space homepage](https://confluence.atlassian.com/doc/set-up-a-space-home-page-829076213.html)

Regards,

Shannon


Tags: confluence-server

server
get the contents of a wiki page
Asked by Takuya Iwamoto:

Hi,

I want to know how to acquire the contents of a wiki page.

For example, if there is a wiki page like the following, what kind of API should be created?

<br />

[https://my-domain.atlassian.net/wiki/spaces/\~1234567890/pages/1234567890/page_title](https://your-domain.atlassian.net/wiki/spaces/~1234567890/pages/1234567890/page_title)

And, I want to know the API details.


Answers:
author: Maarten Cautreels
body: Hi [@Takuya Iwamoto](/t5/user/viewprofilepage/user-id/1794028),

It's actually not that difficult. You can simply use the id behind */pages* in the following request:

```
https://my-domain.atlassian.net//wiki/rest/api/content/1234567890
```

This will return all page metadata. If you'd like the content of the page (the actually text and layout), you should add the expand attribute to the url like this:

```
https://my-domain.atlassian.net//wiki/rest/api/content/1234567890?expand=body.view
```

The body expand value has several options:

* view
* export_view
* styled_view
* storage
* editor
* anonymous_export_view

Please do not forget you need authentication. More info about authenticating against Cloud REST APIs can be found [here](https://developer.atlassian.com/cloud/confluence/basic-auth-for-rest-apis/).

Hope this helps.

Best,

Maarten

comments: author: Takuya Iwamoto
body: [@Maarten Cautreels](/t5/user/viewprofilepage/user-id/853396)

Hello,

Sorry, the situation changed and renewing Confluence, I want to know details of the API in the domain of ".../pages/viewpage.action?pageId=...", not ".../wiki/rest/api/content/...".
Cannot Place a Reply to a comment from initial Comment
Asked by omaracrystal:

For a couple weeks now I have been unable to reply to someone else's reply to an original comment.

It used to work in Firefox, now it does not. It does not work in Chrome (80% of the time).

Pic Attached of what I see (there is no text box to type in):

![Screen Shot 2018-08-13 at 4.31.48 PM.png](/t5/image/serverpage/image-id/29350i569E2B9DBAE4C402/image-size/large?v=v2&px=999 "Screen Shot 2018-08-13 at 4.31.48 PM.png")


Answers:
author: Jack Brickey
body: [@omaracrystal](/t5/user/viewprofilepage/user-id/1561975) , I am assuming that this issue is no longer present. From your description it seems like this may have been a browser in her office you which I have seen from time to time. If you found a specific solution please share it here.
How to change a sql server connection for Confluence
Asked by Rob Aronson:

We have version 6.1.2 connected to MS SQL server 2008 hosted on Suse Linux 11.4. I'd like to move the database to a MS SQL server 2016. Moving the data itself seems trivial, Finding the method of changing the database connection has felt like looking for the meaning of life. Is there a simple method to change the connection or should I give up and become a monk instead?

Satirical comments welcome but only if germain.

Thanks


Answers:
author: Nic Brough -Adaptavist-
body: There's a couple of ways to do it, but I use brute force and go edit the config file directly.

Look in \<confluence home\> for confluence.cfg.xml - it's not long or hard to edit, and it is that one single place you need to edit.

comments: author: Rob Aronson
body: Thank you Nic. I saw that in other comments but can't for the life of me find the files. I must be losing it.

The /opt/atlassian/confluence directory doesn't have it. Nothing in the confluence subdirectory under that or under conf. I don't see it when I run lsof either. Do I need to stop tomcat to see the file?


author: Nic Brough -Adaptavist-
body: Where did you set Confluence **home** to be? It must be in there for confluence to even start.

You don't need to stop Tomcat, it only reads the file as it starts Confluence.


author: Rob Aronson
body: Thank you. It was running from a completely unexpected location.


Tags: confluence-server

server
Installed confluence centos 7 64bit w cpanel need help setup docs.domain.com
Asked by TV Clipz:

Hi I installed on.my server confluence. It's now at ip address xxx.xx.xx.xx:port  
How can I change it to docs.domain.com  

In settings when logged in as admin I see <http://xxx.xx.xx.xx:5343>  
Base url. How or where do I make changes so users can view this by using my subdomain. Docs.mydomain.com  
I've looked everywhere. And I just don't understand where to change this. Sorry I'm new to this.  

My server is centos 7 64bit with cPanel  
Confluence was installed in /opt/  
Using postgress  
I use auto SSL from cPanel so would like to connect to <https://docs.mydomain.com>  
Without the port at the end.  

Thanks  
Spiro


Answers:
author: TV Clipz
body: I Had some one fix this for me thanks

Spiro


Tags: confluence-server

domain

install

ip-address

server
Can I update one calendar with an event and have it automatically update other calendars?
Asked by Karl Reading:

I am part of several teams. When I want to take time off, I need to let the teams I support know that I'll be gone. I currently do so by visiting each of their respective team's pages to update their calendars.

Is there a way to have my own personal calendar that will update other calendars so I only have to make one entry?


Answers:
author: Suren Raj
body: Hi Karl,

Adding an event to multiple calendars as you describe has been requested in this suggestion ticket: [Ability to add one event to multiple calendars](https://jira.atlassian.com/browse/CONFSERVER-51244). The ticket is public so you may comment and/or vote to let the development team know you are interested. If you vote or comment you will be added as a watcher and notified of progress.

Thanks,

Suren Raj


Tags: calendar

team-calendars-for-confluence
How to generate a hierarchy of a space?
Asked by Zachary Levi:

Wondering if there is some way to export entire hierarchy of a space? Whether that be using a macro, add-on, plugin, etc.  

I am looking to take inventory of a space for cleanup purposes and was wondering if there was a way to avoid the manual labor of creating an inventory myself.


Answers:
author: Jonathan Smith
body: What about using the **Children Display Macro**?

Macro properties:

* Parent page = space home page
* Depth of Descendants = 100

Example:

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


author: Zachary Levi
body: This is perfect - thank you!!

comments: author: Jonathan Smith
body: [@Zachary Levi](/t5/user/viewprofilepage/user-id/1799537) If the answer is sufficient, please vote and mark it as solved :)

Glad to have helped!
how to surface a page excerpt from a page in a restricted-access Confluence Space?
Asked by Glenn Burnside:

Hope somebody can assist with some insight - we've got a Confluence Space, call it "Confidential" that is limited to a small handful of people in the company (specifically, the executive team.)

There's one page within that space, where we keep a weekly update of key company-wide metrics, and we'd like to surface an excerpt from that page into a Confluence space that everyone has access to, so that we can share those key metrics with the whole company without having to double-enter them all.

But - since the excerpt is on a page in a space where only a few people have read or write access to the space, nobody except the executive team can see the excerpt data in the Public space.

Is there any way at all to be able to surface an excerpt from inside a restricted-access Confluence Space, into another, less-restricted space?


Answers:
author: Jonathan Smith
body: [@Glenn Burnside](/t5/user/viewprofilepage/user-id/622040)

Users will need access to your source space and page before they will see the content utilizing the excerpt macro in another space

**What about this:**

Store and update the company wide metrics in a less restricted functional space. Use excerpt include macro in your Confidential restricted space to pull in that information.

comments: author: Glenn Burnside
body: Thanks Jonathan, we considered that, but were also trying to solve for streamlining how many different places in Confluence our executive team had to go in order to fill in content for their weekly meeting, so really trying to keep all the content (including the rest of that page that -isn't- in that excerpt) all in one place.

Sounds like our only option is to move where the content in question resides though - thanks for confirming.


Tags: cloud

confluence-cloud
How can I leverage Confluence to house internal product ideas from my company?
Asked by Leandra Von Allmen:

Hi, I am looking to create an "Ideas" page in confluence where coworkers can submit and vote on their product ideas without the use of third-party software. Any ideas as to how I can set this up?


Answers:
author: Kesha Thill
body: Hi [@Leandra Von Allmen](/t5/user/viewprofilepage/user-id/1699373)!

Not another 3rd party software but another Atlassian product that may help is [Questions for Confluence](https://www.atlassian.com/software/confluence/questions). You can ask a question and have users submit answers as well as upvote answers!


Tags: cloud

confluence-cloud
Confluence Users profile - email options greyed out
Asked by Paul Dillon:

My users complaining that they get too many emails from Confluence. I advised them to change their email options in the Email settings in their User profiles but these are greyed out. Is there a global setting that needs to be changed to enable this?


Answers:
author: Moses Thomas
body: [@Paul Dillon](/t5/user/viewprofilepage/user-id/541416)There is an "Edit" button , below on the user profile, the will need to click it to change setting!

best!

comments: author: Paul Dillon
body: this made me feel pretty dumb when it was pointed out how obvious the solution is!

thanks for the help :)


author: Moses Thomas
body: [@Paul Dillon](/t5/user/viewprofilepage/user-id/541416)You are welcome :D , could you mark solution as accepted so others could user !

Kind regards,

MO


author: Alex Burka
body: This is a poor, undiscoverable UI... the options should be changeable and then have a "submit" button. That's how every other software program works.


Tags: confluence-server

server
Why can't I connect to multiple confluences using the same email?
Asked by Deepa Bhat:

**Context**

Our organisation uses ***Confluence*** for internal wiki using SSO tagged to my company email address - firstname.lastname@company.com. Now I'm invited to access another organisation's confluence using the same enterprise email address.

**Problem**

My user journey from email invite link to launching confluence to access the other organisation wiki was not so great - full of glitches.

![Screen Shot 2018-08-13 at 16.18.45.png](/t5/image/serverpage/image-id/29269i016DB6B96CDACF58/image-size/large?v=v2&px=999 "Screen Shot 2018-08-13 at 16.18.45.png")

1. At first, I experienced the error page and was blocked from accessing
2. Tried with a different account and didn't work either
3. Used reset password to access other org's wiki
4. Now, my access to my org's wiki was revoked and reset password resulted in creating a new user! which had to get to get sorted using admin's access!

**Suggested Solution**

* Decoupling one-one mapping and change to one-to-many
* Consider making this journey frictionless and intuitive
* Include meaningful error messages and signpost the user

**References**

* Look into how slack does it - [https://get.slack.help/hc/en-us/articles/212681477-Sign-in-to-Slack#sign-in-to-multiple-workspaces](https://get.slack.help/hc/en-us/articles/212681477-Sign-in-to-Slack#sign-in-to-multiple-workspaces?)


Answers:
author: jbatch
body: Hey Deepa,  

I'm a developer with the Identity team at Atlassian. It looks like a combination of different things all happening at once for you from what you described. Without more details I can't check out exactly what happened. The most important thing I want to check first is that your access to your sites you expect to have access to is working as expected right now. If not absolutely raise a support request at <https://getsupport.atlassian.com/> and we can help you sort that out.   

Secondly if you'd like us to investigate a bit deeper what happened in your particular circumstance, again I'd get your to raise a ticket at <https://getsupport.atlassian.com/> and get them to escalate to the Identity team and we'll see what we can piece together.   

We always appreciate the feedback, and just to make sure I've answered the actual question, you absolutely can have your account associated to multiple confluences. Your Atlassian account is global across all Atlassian products and can be associated with any number of Atlassian sites and products.  

Hope that helps,  
Josh

comments: author: mroz
body: I definitely second the suggestion of raising a support ticket; there is clearly a lot going on here that is specific to your circumstances.

Worth noting though is that Atlassian accounts *can* be members of multiple sites; there is no "one-one mapping" as described in the question.
How can I connect to multiple confluences using the same email?
Asked by Deepa Bhat:

**Context**

Our organisation uses ***Confluence*** for internal wiki using SSO tagged to my company email address - firstname.lastname@company.com. Now I'm invited to access another organisation's confluence using the same enterprise email address.

**Problem**

My user journey from email invite link to launching confluence to access the other organisation wiki was not so great - full of glitches.

![Screen Shot 2018-08-13 at 16.18.45.png](/t5/image/serverpage/image-id/29269i016DB6B96CDACF58/image-size/large?v=v2&px=999 "Screen Shot 2018-08-13 at 16.18.45.png")

1. At first, I experienced the error page and was blocked from accessing
2. Tried with a different account and didn't work either
3. Used reset password to access other org's wiki
4. Now, my access to my org's wiki was revoked and reset password resulted in creating a new user! which had to get to get sorted using admin's access!

**Suggested Solution**

* Decoupling one-one mapping and change to one-to-many
* Consider making this journey frictionless and intuitive
* Include meaningful error messages and signpost the user

**References**

* Look into how slack does it - [https://get.slack.help/hc/en-us/articles/212681477-Sign-in-to-Slack#sign-in-to-multiple-workspaces](https://get.slack.help/hc/en-us/articles/212681477-Sign-in-to-Slack#sign-in-to-multiple-workspaces?)


Answers:
author: Nic Brough -Adaptavist-
body: It does support this, and absolutely fine. I've got access to dozens of systems via one email address.

It looks to me like the problem you had was that you had not been enabled for access to the new Confluence when you tried to get in. That's what the message you got was telling you.

In fact we have the opposite problem in some cases. I've got two Atlassian accounts with different emails. You can't use them both at the same time in different Cloud or Atlassian systems. You have to use two separate browsers - not too painful for me, but imagine if you have several accounts!


Tags: cloud

confluence-cloud
#24611: Display version changes on exporeted PDF
Asked by nada bella:

Hi,

I want to display all concrete changes, highlighted on a paragraph level (similar to the comparison of two pages within Confluence), on an exported PDF.  
I want to do that when exporting single pages and also multiple pages ("a page and its children") at once.  
At the moment I'm testing "Scroll Versions" just to find out if it can help to get highlighted changes on the exported PDF (with Scroll PDF Exporter), but until now I couldn't get it.

It will be great if it can be possible also without Scroll Versions.

Regards

Nadia


Answers:
author: Thomas Rough _K15t_
body: Hi Nadia,

Thanks for your post.

As mentioned in your open support ticket with us, the option you describe and need is unfortunately not yet available with our Exporter apps.

However, I agree that having the option to export the page comparisons, to track the changes for the different page versions would be beneficial.

I have created a related feature request in our JIRA system so you can track this feature request. You can view this here: <https://k15t.jira.com/browse/EXP-2504>.

Once our developers have looked into the technical possibilities for introducing such a feature, our product management will be able to plan the improvement into one of our future development sprints.

However, I am unable to provide a specific time-frame for when this might be. Therefore, please sign up to our JIRA (via [k15.jira.com](http://k15.jira.com/)) in order to watch, comment and/or vote on this issue. We'll then send a notification for every status update.

I hope this information helps.

Thanks, Thomas (K15t Software)


Tags: confluence-server

server