youngmon/atlassian-qna huggingface dataset:
disable comment only for child site
Asked by Erich Lenz:

Hi Community

Is it possible to hide the comment only for child sites?

I want that its possible to comment on the parents site and disable the comments on all child sites.

thanks for helping


Answers:
author: Thomas Schlegel
body: Hi [@Erich Lenz](/t5/user/viewprofilepage/user-id/1484964),

no, this is not possible. It is a general setting for the whole space.

There's a free app "[Hide Elements for Confluence](https://marketplace.atlassian.com/apps/1211757/hideelements-for-confluence?hosting=server&tab=overview)" - put this on your page and remove the comment section with its settings. But you have to add the app to every single page again. Maybe you can create a template for your child pages.

We use this app for our space main pages.


Tags: confluence-server

server
Can I Ensure that an email isn't sent when a page is updated
Asked by Eamonn McGirr:

Hi - I want email notifications to be sent when pages are updated - Except for certain pages - We have some confidential pages and when these are changed users receive an email alert showing the contents of the whole page - Can we turn off email notifications at the page level rather than the user level ?


Answers:
author: Fabienne Gerhard
body: Hi [@Eamonn McGirr](/t5/user/viewprofilepage/user-id/1689970) - welcome to this wonderful community.

a solution may be - get the people to uncheck 'Notify watchers' box until they have finished all changes and really want to inform everyone. If you're using Server Version there are also different addons that may help: Like [this](https://marketplace.atlassian.com/apps/42684/no-email-storm?hosting=server&tab=overview)or [that](https://marketplace.atlassian.com/apps/1218822/notifications-scriptrunner-confluence?hosting=server&tab=overview).

But what also is important - users have to make their own settings for email notifications they want to receive.

Hope this may help


author: Bastian Stehmann
body: Hi [@Eamonn McGirr](/t5/user/viewprofilepage/user-id/1689970),

If the pages are confidential, did you protect them by page permissions?

If a user is not allowed to see/edit the page, confluence should not send any information about changes on this page to that user.
how to replace user names in after confluence space migration
Asked by eeshwar:

i migrate confluence A space X to Confluence B space X here that space takes confluence A users but i want replace user in confluence B users how can do?

here Confluence A is abc AD and Confluence B is def AD both have same users but usernames are abc AD ex: abc.def and def AD def.abc

this is the problem


Answers:
author: Bastian Stehmann
body: You should be able to change them in the user management section?

Or if you have a lot of users using the REST API (Did that with Postman in Batch Mode once).

Last and least recommended to do it in the database.


author: Bastian Stehmann
body: Hi [@eeshwar](/t5/user/viewprofilepage/user-id/2414599),

Are you using xml to do the migration? Then you can edit the xml and replace the old user names with the new ones.

If you do not want to edit the xml, you can change user-names in the old confluence(or if you still need that with the old user names, set up a third instance, Do there an import with the old user names, change them on confluence to the new ones, export again and import in new confluence .

comments: author: eeshwar
body: Hi [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496),

All are in active directory users ,I installed third instance also but how can I change user names


author: Kasper Hedegaard
body: [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496) - I have the same issue, where old users of the Confluence A space X are still set as author of documents etc. of the Confluence B space X. The users from Confluence A are listed as (unlicensed) in Confluence B.

I've migrated via the XML.

What do I need to change in the XML? I assume it's in the "entities"?


author: Bastian Stehmann
body: Hi [@Kasper Hedegaard](/t5/user/viewprofilepage/user-id/4166023) ,

Yes, it is in the entities.xml. you'll have to search and replace the old username with the new username and afterwards you can try to import it, but modifying this file can cause errors on import.


Tags: confluence-server

server
Replace \ with /
Asked by Peter_Smith:

Hi,

I've been trying to replace \\ with / as a user macro so that users can paste in links to windows file paths and have them function when you click on them.

I've tried $param.filePath.replace("\\", "/") and replaceAll and \\\\ and \\\\\\ and \\\\\\\\.

Page displays an error and the logs say: ParseErrorException: Encountered "file" at getRenderedContent\[line 0, colum 10\]"

If I try $param.filePath.replace("A", "B") that works fine.

Anyone got any suggestions?

Cheers


Answers:
author: Peter_Smith
body: I found a solution.

#set($slash = '\\')

#set($replaced = $paramFilePath.replace($slash, "/"))
How to back up my changes to a template?
Asked by Justin Wong:

I've been modifying the Product Requirements template that comes with Confluence, but I'm worried that someone will make changes or click the Reset to default button.

Is there a way to back up my changes to the template? Also, is there a way to restore that back up?

Thanks!


Answers:
author: Ollie Guan
body: Hi [@Justin Wong](/t5/user/viewprofilepage/user-id/706328),

Are you maintaining a global template as a system administrator ?  

I think you can also try to configure the template in the private personal space, and then copy it to the global template after the configuration is complete.

comments: author: Justin Wong
body: Actually, I'm editing the Product Requirements template in a space that we created.

I am a system administrator. The Reset To Default button doesn't even ask for confirmation. It's a bit scary.


author: Ollie Guan
body: Perhaps limiting the number of space administrators will reduce such problems and minimize the possibility of multiplayer collaborative editing of spatial templates. If your team does not work in a different location, it is also a good way to communicate with the space manager face to face.  

Beyond this, I still recommend replacing the space template after configuring the template in the personal space, otherwise the user may refer to the semi-finished product at any time.


Tags: cloud

confluence-cloud

template
Confluence (v5.4) "You are not permitted to perform this operation." message with correct permission
Asked by Sandra Meessen:

Hi all, me and my users suddenly get an error message when trying to edit existing content "You are not permitted to perform this operation".

The confluence-users group has global permissions "can use", also the 2 biggest usergroups we defined in our Confluence have this permission.

Space permissions are correct (didn't change recently) and always worked as expected.

We use internal user directory.

What can be the problem? We use version 5.4.

Thank you and regards, Sandra


Answers:
author: CARLISLE
body: You should have write access and not just read access. It appears you have just read access.

comments: author: Sandra Meessen
body: Hello Carlisle, no we have read and write access, nothing changed in that area recently. What could be a cause is that we upgraded our version from 5.2 to 5.4 recently to be able to export spaces and import them into our new instance (v6.11). Can that be a cause? And what do we do to fix the problem? [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454), do you maybe have an idea for this? Thank you.


author: CARLISLE
body: When I say read and write, I mean in several spaces not just the Confluence instance. You might consider the DB tables (read and write access for v6.11) and the path to get there (i.e. the networking team). Where is the new instance transmitting data from and to? LIKE what port to what port? And on the DB side, what table to what table? It might be nothing to do with your Confluence settings, but just more to do with your current infrastructure.


author: Nic Brough -Adaptavist-
body: I'd still want to read the logs to see what the underlying problem is.


author: Nic Brough -Adaptavist-
body: Re-check the permissions and restrictions on the space and page, and then if they still look like they should allow editing of the page for a user, read the log file to find out what is blocking it.

comments: author: Sandra Meessen
body: Hi NIc, thank you for your quick reply. I gave myself specific access rights to the space and the page, but error message remains.

What log are we talking about? Where do I find it? And how can I filter the part I'm looking for?

Thank you and regards, Sandra


author: Nic Brough -Adaptavist-
body: Sorry, I should have said to start looking in \<confluence home\>/log - the most likely place for warnings about permissions is in the atlassian-confluence.log file.

My usual trick is to "tail -f" the log, so I can see what is being written to it in near real-time. Then in another window, attempt whatever is failing, and then I can see what the failure writes into it immediately.


Tags: permission

restriction
Trying to link externally to a Confluence document, it doesn't work
Asked by Xavier Gracia:

I have followed the recomenedation in this page:

<https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>

To display a confluence page externally but there's no way, The only thing I get is a 404 - Oops you've found a dead link page...

What I have used is a https://....atlassian.net/display/wiki/Page+Name+With+Pluses

Originally I used a Named Anchor adding -PageName#Anchor but it didn't work also. :-/

Any advice would be greatly apreciated.

Kind regards


Answers:
author: Bill Bailey
body: Copying and pasting the URL in the browser doesn't work? Or the tiny link under Page Information?

comments: author: Xavier Gracia
body: Hi Bill,

That works. In a incognito window it asks for username and password, normal behaviour I suposse.

Testing I have been able to link to an anchor using the "page in the same space" format, but what I'm really worried about and it doesn't work it's the external part using an anchor, for that I use the format

https://....atlassian.net/display/wiki/Page+Name+With+Pluses#PageName-Anchor

But nothing, 404, both in a normal window or an incognito window... Could it be because it's related to anoymous access to confluence cloud ?

Thanks for you help Bill


author: Bill Bailey
body: Hello Xavier,

If you want to link to pages (or anchors on pages) externally, it will work much better if you have anonymous view access enabled for the space. Otherwise, you will have to have accounts for each user.

For example for my own Confluence instance (which is server based), I created a public space to place this kind of info. Below is a link to anchor on page in this public space - it jumps directly to the anchor.

<http://confluence.marketcomllc.com/display/PUBLIC/Vivamus+Varius#VivamusVarius-Nullampharetravestibulumligula>


author: Xavier Gracia
body: Mirabilis !!!! (Wonderful, that's it :-) )

Thanks a lot :-)


Tags: cloud

confluence-cloud
Deactivating the @admin user in Jira/Confluence Cloud
Asked by Mathew Cooke:

I'm the original user of our organisation's Jira/Confluence cloud instance, so have been granted the [@admin](/t5/user/viewprofilepage/user-id/9976) username.

In the organisation I work at, there are now other people with full Jira/Confluence admin permissions and billing is now managed outside of my account.

So, when it comes to me leaving the organisation and my [@admin](/t5/user/viewprofilepage/user-id/9976) account being deactivated, is there any pitfalls to this? Is there anything else we should be doing to prepare for the eventual deactivation of the @Admin account?


Answers:
author: CARLISLE
body: More than likely on the authentication side of the aisle, you will not be able to take the credentials outside of the walls of your network. This stuff will be different at each Atlassian site in various countries and places.

Someone from within your organization will have to do a clean sweep so to speak on your credentials and reset everything for your internal team to take over after you leave.

Generally speaking the on-boarding and the exiting process will be managed by your internal networking/DEVOPS team for litigation, liability, and risk reasons.

comments: author: Mathew Cooke
body: Cool.. I guess my question is really getting at, is there anything special about the first account to have been created on the cloud instance of Jira/Confluence (hence the automatic allocation of the [@admin](/t5/user/viewprofilepage/user-id/9976) username)?

If it's just another admin account, then I'd expect everything to work fairly normally once my account is deactivated, (based off the various important roles I see having already been shared with other people in the organisation).


author: CARLISLE
body: Good question - I would think it was like a Building Manager that has all the keys. Anyone could take that role at any point in time and all locks do not have to be changed?

I would check with Atlassian directly on that point.


Tags: administration

cloud

confluence-cloud

jira
I am not able to delete a document I have uploaded
Asked by Shahan Mustafa:

I created File list and uploaded 2 docs and now I want to delete the files as well as the File list. So I tried deleting the files first but there is no deleting option visible to me. I am also the creator of files and File list.

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


Answers:
author: Nic Brough -Adaptavist-
body: Talk to the space administrators - it looks to me like you do not have "delete attachment" permission in the space.


Tags: file
link two different pages
Asked by MJ Taleghani:

Hi,

I have a table in confluence which contains the information the same as on other and the only difference is one of them has some passwords in it that I do not want to visible to others. So I create the other one with neglected password column.  
Now I want to share the second page with all staff with edit permission.

What I want is I need to link two pages together, So If the limited page has changed, the main page would change.


Answers:
author: Nic Brough -Adaptavist-
body: There are no functions to do this in Confluence - you will need to find or write code that can do it.

Without code, the closest you can get is to use an "include" or "include-excerpt" macro - these render the whole, or part, of a named page inside another page. But, to do it, the page being drawn in must be visible to other users, so you can't do "Page A (readable by everyone) includes part of Page B (which is only available to a few people)"

You could reverse it though - put your shared information on the public page and include it in the private page.
Broken in images and missing comment field in Confluence article opened from Service Desk
Asked by Firas Amer:

Hi,

I have created a confluence page and added several pictures to visualize the step by step instructions. The right side of the pics are cropped and are not visible. How come? I used first original size pics than big size...shall I use only small pic sizes???

Also how can I add the option to customers to comment on the articles?

Thanks,

Judit


Answers:
author: Diego
body: Hello there!  
Judit, would it be possible for you to share **screenshots of the issue** with us? Keep in mind to **create "dummy" content** that reproduces the behaviour, there is **no need to share screenshots of the actual content**that is being used in your instance.

<br />

I tried to replicate this behaviour in a **Confluence Cloud instance but was unable to** , the **images resize** when resizing the browser window and **all content is shown** .   
I would also like to understand a few things:
> 1- Are there **macros** in the **affected page** ?  
> 2- Are **other pages** affected as well?  
> 3- Does this behaviour become apparent**regardless of browser** being used?  
> 4- Has this **worked** at some point**in the past?**

Let us know your thoughts on this Judit!

comments: author: Firas Amer
body: ![2019_01_03_12_29_11_This_is_a_test_page_Service_Desk.png](https://community.atlassian.com/t5/image/serverpage/image-id/41518iF0DD94AE9014E758/image-size/large?v=v2&px=999 "2019_01_03_12_29_11_This_is_a_test_page_Service_Desk.png")


author: Firas Amer
body: Hi Diego,

thanks for answering. Please see my answers below

1- **Are there****macros in the affected page** **?** - Not aware of it  
2-**Are****other pages** **affected as well?** - all pages are affected where there are pictures  
3- **Does this behavior become apparent****regardless of browser** **being used?** - I am using Chrome Version 71.0.3578.98. Just tried now in Explorer as well...same issue, tried to change the browser screen size, no changes  
4- **Has this****worked at some point in the past? -**I am testing Confluence now, and we have the test version (which shouldn't be different), So basically it never worked in the past for us.

thanks,

Judit


author: Diego
body: Hi again Judit!

It seems that this is from Jira Service Desk rather than Confluence. Further, this looks like the bug reported here:

**[JSDCLOUD-5997 \| Images in Knowledge Base (KB) articles / pages rendered in the Customer Portal are displayed cropped if they are too wide](https://jira.atlassian.com/browse/JSDCLOUD-5997)**

We could go ahead to **vote and watch** this report. Voting will increase the report visibility and watching will keep you up to date with everything posted there.


author: Firas Amer
body: Thanks Diego for taking the time to look into this. This is a very critical bug, I cannot place all of our pics in the knowledge base as a mini pic. I have voted, commented and signed up as a watcher for this issue.


Tags: cloud

confluence-cloud

jira-service-desk

jira-service-desk-cloud
How to import storage format
Asked by Sayed Bares [ServiceRocket]:

1. Install "[Confluence Source Editor](https://marketplace.atlassian.com/apps/1210722/confluence-source-editor?hosting=server&tab=overview)" add-on.
2. Go to the page you want to import the Storage format.
3. Click on "Edit".
4. Click on "\<\>".
5. Paste the codes to the source editor.
6. Click on "Apply".


Answers:
author: Santwana Sarangi {Appfire}
body: Another way to import the storage format into the confluence page is by using the rest service provided by confluence.

Here is an example

```
curl -u admin:admin -X POST -H 'Content-Type: application/json' -d '{"type":"page","title":"new page","space":{"key":"TST"},"body":{"storage":{"value":"<p>This is <br/> a new page</p>","representation":"storage"}}}' http://localhost:8080/confluence/rest/api/content/ | python -mjson.tool
```

Ref: [https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/?)


Tags: report

scaffolding

storage-format
How to get storage format of a page or a template?
Asked by Sayed Bares [ServiceRocket]:

**Page:**

1. Go to the page having the issue
2. Click on (![](https://confluence.atlassian.com/doc/files/704577869/704577870/2/1517274795952/ellipsis.png) \> View Storage Format)
3. Copy the source code
4. Save the codes on a **.txt** file

**Template:**

1. Install "[Confluence Source Editor](https://marketplace.atlassian.com/apps/1210722/confluence-source-editor?hosting=server&tab=overview)" add-on
2. Go to ![cog.png](https://community.atlassian.com/t5/image/serverpage/image-id/42454i9E22121960AF24A3/image-size/large?v=v2&px=999 "cog.png")\> General Configuration \> Global Templates and Blueprints
3. Find the templates
4. Click on "Edit"
5. Click on "\<\>"
6. Copy the codes of the source editor
7. Save the codes on a **.txt** file


Answers:
author: roman
body: [@Chetan Belur](/t5/user/viewprofilepage/user-id/3934521), I don't know. Sorry.


author: Chetan Belur
body: [@roman](/t5/user/viewprofilepage/user-id/853566) How can we download storage format of a page using python confluence api?


author: roman
body: [@Sayed Bares \[ServiceRocket\]](/t5/user/viewprofilepage/user-id/1480984),

the image in the 2nd step of the 'template' section is not displayed because I don't have access to Service Rocket's Confluence. You can try it yourself by opening this discussion in an incognito browser tab.

I might be wrong, but I think this image was just copied from Confluence. This, unfortunately, won't copy the image file itself. You would need to download the image to your local computer and attach it as a file to your post.

Roman.


Tags: live-template

report

scaffolding

storage-format

template
How to omit "Excerpt Include" Macro from TOC Macro
Asked by Astra Valters:

I have an *Excerpt Include* using H3 (part of the template for our Confluence space). It appears at the top of every page in the space, and for visibility/design purposes needs to be H3.

<br />

In using the TOC, set to show H1-H3, this *Excerpt* is appearing.   

How can I include the other H3 headings, but exclude the one from the *Excerpt Include*?


Answers:
author: Diego
body: Hello there!  
Astra, the only option we have currently is to set the **Table of Contents Macro to not include headers higher than H1-H2** for example. However, this would not go along the design that you want for this specific page.   
Other than that, you can **include multiple excerpts without the heading tag** . The limitation here would be Excerpt Macro, that only allows **one excerpt per page**:

**[Excerpt Macro](https://confluence.atlassian.com/doc/excerpt-macro-148062.html)**

A workaround to this would be to use a **third-party plugin** that allows **multiple excerpts** from a single page. We have a **free** and a **paid option** to this in our marketplace:

**[Multi Excerpt - Paid Solution](https://marketplace.atlassian.com/apps/169/multi-excerpt?hosting=server&tab=overview)**

**[Include Content - Free Solution](https://marketplace.atlassian.com/apps/1217141/include-content?hosting=server&tab=overview)**

The **free version is available for server only** . For short, we need to **limit the ToC** macro to only reach H2 or use a **third-party add-on** that can include **multiple excerpts.**   
Let us know if this helps you out!
Can I create a custom Index?
Asked by Andrea Goodman:

I've created a custom template for Exploratory Testing Charters and would like them all to live in an index. How can I create an index for these charters, similar to the Meeting Notes index?


Answers:
author: Nic Brough -Adaptavist-
body: The easiest way to do this is probably to put the same label on each page that is a "Exploratory Testing Charter" and then use a "pages by label" macro on pages and in templates.


Tags: confluence-server

server