youngmon/atlassian-qna huggingface dataset:
Cascading edit restriction from parent to child page
Asked by Amalesh Maity:

Hi Community members,

I have a query for set restrictions on the wiki page.

we have below OSPF wiki page which is the parent page for all ospf child pages

<https://wiki.cisco.com/display/OSPF/IOS-XR+OSPF>

I have modified the restrictions on this page with Everyone can view, only some can edit.

But all the child pages below still have no restriction

child page:

<https://wiki.cisco.com/display/OSPF/Firex+ospf+run>

<https://wiki.cisco.com/display/OSPF/IOS-XR+OSPF+QIP>

as I see the restrictions rule it says

"Edit restrictions are not inherited, which means pages need to be restricted individually."

Let me know if you have any solution for this, as it will be a big task to set a restriction for all child pages/

Regards

Amalesh


Answers:
author: Nic Brough -Adaptavist-
body: There is no way to cascade restrictions down like that in Confluence. (There was for a while, but it was removed rather quickly after all the screaming about how it messed up so many people's security)

You will need to find an app that can apply your restriction when you need it cascaded. Obviously, I'll mention Scriptrunner for Confluence becuase I know it could do it (and I work for Adaptavist), but there may be other options in the marketplace.
Making Announcement from the "home" page using "include page" macro, how do I have an image centered
Asked by Chris Kurker:

Hi,

I made an announcement from the home page by creating a separate page and, from within the announcement, use the "include page" macro to the separate page I created. Everything is pulled in, but the image I have in the separate page will not display as center in the announcement. Text is centered as it is on the separate page, but the image is always left aligned. I tried doing this with excerpt macros too, but I get the same result.

Does anyone know anything else I can try? Thank you.


Answers:
author: Rebecca Martin
comments: author: Chris Kurker
body: Yeah indeed. The macro itself is centered![Image 1.png](https://community.atlassian.com/t5/image/serverpage/image-id/110613iA7ABAAC7788468ED/image-size/large?v=v2&px=999 "Image 1.png")


Tags: announcement

cloud

confluence-cloud

include
Is confluence suitable to be used as DMS?
Asked by ieva.driksna:

Hi, I wonder have you any experience of using confluence as a document management tool (system to be used to receive, register, track, manage and store documents, as for example DocLogix)? If yes, can I limit access not only to folder level but also in document level (for example, in an agreement register to have the ability to share access to the certain agreement - marketing people can see only their agreement, people team -their, but at the end of the day all agreements are in one register). And please also let me know is it possible to introduce in system document indexation according to created numeration system in the company or only random system provided numbers are possible? Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: It depends on what you plan to store "documents" as.

If your documents are translatable to Confluence pages, handled by and edited in Confluence, then the answer is yes, as that is what it is for.

If your documents are lumps of data designed to be edited in other systems, then no, Confluence is probably a very poor choice. External files are handled as attachments in Confluence, with the page tree being the "folders". There's no direct browser for them, you navigate via the page tree, relying on the content of the Confluence page to be what you're looking for. You can do the permissions and indexing for search (although only some file types can be indexed), but the content of Confluence remains the prime focus of searching. Metadata and things like numeration or tagging mostly have to be done manually for attachments, and the attachments on a page are a simple flat versioned list.

Attachments are intended as support for the content of a page, not the focus of it, so the handling of them does not need to be that powerful. Hence, if you're looking for a clever document storage system, I would not recommend Confluence


Tags: cloud

confluence-cloud
How to exlude the current page from blueprint $contentbylabelMacro variable by default?
Asked by Marco B.:

I'd like to use the blueprint variable $contentbylabelMacro, but to force the macro not to include the current page.

Is there any possibility to do so? The macro itself can do this, but how to give the necessary cql statemant to the blueprint variable?

Thanks.


Answers:
author: Diego
body: Hello [@Marco B_](/t5/user/viewprofilepage/user-id/2119446) !

If I understand correctly, you need to auto-populate the Content By Label macro so it does not display the current page.

Right of the bat, two reports come to mind. One of them tells us that we are unable to provide values to macros in templates and the other tells us that editing the macro variable breaks the macro after page publish. Here you can check both reports:

> * [++***\[Confluence Server\] Support replacement of page template variables in wiki links and macro parameters***++](https://jira.atlassian.com/browse/CONFSERVER-3324)
> * ++***[\[Confluence Server\] Editing the content by label macro variables breaks the How to Article template.](https://jira.atlassian.com/browse/CONFSERVER-59300)***++

Let us hear from you!

comments: author: Marco B.
body: Hi Diego,

yeah, you got me right. And it seems, like there is no solution for my issue? What a pity. But thank you anyway.


Tags: blueprint

confluence-server

macro

server
How to render events with embedded URLs from external vcalendars in Team Calendars for Confluence?
Asked by Mario Voigt:

Hi,

we are using Team Calendars for Confluence with embedded vcalendars/ics. This works fine except the thing that we are not able to add URLs like the integrated calendars offer. If we add sth. like https://google. it will be displayed as plain text. We want a clickable URL

I'd like to enter regular text and URLs in an event description, e.g. like in <https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet> or by the standard definition of <https://icalendar.org/> using the URL field.

Is there any known solution out there? We wish to redirect users to special pages when they click on an event. At the moment they have to copy and paste the URL.

regards and thanks, Mario


Answers:
author: Hakeem Olasupo
body: * <https://www.atlassian.com/software/confluence/team-calendars>


Tags: confluence-server

server

team-calendars-for-confluence
Making field in Confiform Readonly
Asked by Jasper:

Hi,

I created a Confiform on confluence and am trying to make one of my fields readonly. The field, Response, is currently being used to display a result when other fields are populated. The problem is that users are able to select from the stored results which is not really good.


Answers:
author: Alex Medved _ConfiForms_
body: You can make the field hidden, you can choose the type as read-only... you can set edit/view permissions on the field, so certain user groups can only modify or view the field

Pick the option what fits best your requirements!

comments: author: Jnr
body: is it possible to save readonly values in the form?


author: Alex Medved _ConfiForms_
body: No, readonly values are not submitted.. what do you want to save there?

The value is READONLY... Logically, there is nothing to save


author: Jnr
body: readonly value, which was received from webservice :)


author: Alex Medved _ConfiForms_
body: Are you talking about "readonly" field type?

And I am still unsure why you want to save something into a "read-only" field... which is by it's name tells that the value it stores is a read-only

May be you need to choose some other field type for this?


author: Jnr
body: Well, even if it's read-only, you never know how it was generated. E.g. if there was a form which generates the value depending on the selection in other fields and it would be read-only for user and needs to be saved.

We found another way to save the value, but it is just strange why all fields in the form can't be saved.


author: Alex Medved _ConfiForms_
body: It depends what do you mean by "read-only" - is it set via the (field definition) rule to be read-only or is it the field of type "read-only".

2 different things - one is the way to explicitly set the field to be read-only and not saved via the submit, while another is a read-only field that can be updated via IFTTT rules or via "set-value" field definitions and it gets submitted


author: Marius Laukaitis
body: Hi,

So, how it should work in general? My example:

I have empty "Text" field. There is one rule, which sets value to this empty field depending on value from other field. Second rule checks when this "Text" field becomes not empty and sets field read-only to preserve value. When entry is created, "Text" field value is not saved.


author: Marius Laukaitis
body: Hi,

So, how it should work in general? My example:

I have empty "Text" field. There is one rule, which sets value to this empty field depending on value from other field. Second rule checks when this "Text" field becomes not empty and sets field read-only to preserve value. When entry is created, "Text" field value is not saved.

comments: author: Alex Medved _ConfiForms_
body: Use "Readonly" **field type** for your "dependent" field, instead of setting it read-only via ConfiForms Field Definition Rule


Tags: cloud

confluence-cloud
Cant choose Templates wont load
Asked by Dominik Marsmann:

Whenever a user tries to choose from templates or blueprints to create a site an error occurs or it wont stop loading. The error message says "unknown server error occured" so it is not very helpful. I checked the logs for information but did'nt know what exactly to look for. Does anyone know this problem?


Answers:
author: Fabian Lim
body: Hi Dominik,

I recommend you open a ticket with [atlassian support](https://support.atlassian.com/) and provide the [support zip files](https://confluence.atlassian.com/doc/troubleshooting-problems-and-requesting-technical-support-776659671.html) for analysis.

Regards


Tags: confluence-server

server
Can't move pages - server error returned every time
Asked by Ira Thompson:

Every time I try to move page from 1 space to another I get below error.

The following error(s) occurred:

* Move failed. There was a problem contacting the server.

No matter what time of day I try it is always the same.

Is this known issue?


Answers:
author: Kristina Radeva
body: Are you an admin or have moving permissions in both spaces that you want to move from and move into?

Those permissions are funnily enough the "Delete" permissions in each space.

comments: author: Ira Thompson
body: Hi there. Yes I am admin in both spaces but always get that error message when trying to Move page


author: Kristina Radeva
body: I would suggest trying on Chrome browser to see if that makes any difference.


author: Ira Thompson
body: Delete permission is also ticked with Admin tick box


author: Ira Thompson
body: I am using Chrome. I also tried FF and same issue


author: Kristina Radeva
body: Since this might be a server problem after all, I would suggest this following workaround:

1. Create a copy of the page

2. Publish it in the new space

3. Archive/delete the old page from the old space


author: Kristina Radeva
body: Also, I'm putting here the permissions you need when moving pages:

To move a page, you need the following permissions:

* 'Add' permission on the page you're moving, and
* 'View' permission on the page's parent page. If you're moving the page to a different parent, you need 'View' permission on the new parent.

To move a page into a different space, you also need:

* 'Delete' permission on the space you're moving from, and
* 'Add' permission on the space you're moving to.


author: Ira Thompson
body: I just tried creating copy and publishing in new space and I get following error: There was an error processing the request.

As a admin I also have all permissions - all check boxes are ticked on both spaces.


author: Kristina Radeva
body: Is the page restricted either in the old and new space? Because that can cause a problem too. Maybe remove all page restrictions before moving it?


author: Ira Thompson
body: There are no restrictions on the page. :(


author: Kristina Radeva
body: Any chance there are old or broken links linking to other Confluence pages in the page you are trying to move? It could be that a link like that is breaking the request.


author: Ira Thompson
body: No broken links - just 1 jira link.

I even created new blank Test page and tried the same and I am getting same error.


author: Kristina Radeva
body: If nothing else helped so far, I don't know how to help with your problem :(

I see no operational problems with Confluence Cloud either.


author: Ira Thompson
body: Ok - thank you for trying! :)


Tags: cloud

confluence-cloud
RTFM
Asked by ???????? ??????:

read manual more accurate.

tnx


Answers:
author: Nic Brough -Adaptavist-
body: The doc you've pointed to does mention that if you have external user management enabled and it is read-only, you can't use Confluence to maintain users (because it can't write to the directory). I would guess that is what the case is here.


Tags: confluence-server

server
Error in group assignment in Confluence.
Asked by R. Hardok:

If we want to assign a user to a group in Atlassian, we get an error.

In Jira it is working without problems, but the sync is not doing in live time.


Answers:
author: R. Hardok
body: That is the error:

The user 'xy' could not be added as a member of group 'group'. Check your server logs for more information.


Tags: confluence-server

server
Trouble with mobile app
Asked by ?????? ???????:

Hi.

We using mobile app for Confluence and have trouble with timeout. App logout after 1 min using with error "Your session timed out".


Answers:
author: Diego
body: Hello [@?????? ???????](/t5/user/viewprofilepage/user-id/3865205) !

As I understand, you are currently unable to utilize the mobile app because your session quickly times out.

With this in mind, I would like to ask you a few questions:
> 1. *What operating system is running in your portable device?*
> 2. *Has this worked at some point in the past?*
> 3. *Do you know if your instance uses Single Sign On addons?*

If you are running Android on your device, there is a chance that you are affected by this issue:
> * ++***[\[Confluence Server\] Session timeout in Confluence Server Mobile App -- Android](https://jira.atlassian.com/browse/CONFSERVER-59955)***++

If your instance has SAML Single Sign On addon, you may be witnessing the effects of the following bug:
> * ++***[\[Confluence Server\] Session Timeout with SSO plugins in mobile app](https://jira.atlassian.com/browse/CONFSERVER-57996)***++

Let us hear from you!

comments: author: ?????? ???????
body: 1. Android

2. Before reinstall app

3. We don't use SSO


Tags: mobile

confluence-server

server
One User One Project
Asked by Ankur Sachdeva:

Hi,

We have three projects in our account. We want only one user can access one project.

For example:

User A can only see Project 1

User B can only see Project 2

User C can only see Project 3

I have gone through this ( <https://confluence.atlassian.com/download/attachments/953142266/How%20to%20restrict%20project%20access%20for%20teams%20in%20Jira%20Cloud.mp4> ) video and tried below things

* Creating a Permission Scheme
* Assign Permission Scheme
* Creating Group

I am not sure if that is the issue that I get all permission schemes under the Default software scheme and I do not find any way to keep only one project there.

Also looks like the default group user is added to the Default software scheme. If I chose not to add them there then the user gets "You don't have access to any service desks."


Answers:
author: Nic Brough -Adaptavist-
body: You don't "restrict" people from access to Jira, it is a lot easier to think of it as "allow"

For a very simple case that you describe, I would

* Create a new project role called something like "User access to project"
* Create a single permission scheme, in which  
  * You grant Browse Project to Role: User access to project
  * You do **not** grant Browse Project to any other role, user, group, whatever
* Update your three projects so that
  * They all use your new permission scheme
  * User A is in "User access to project" in Project 1
  * User B is in "User access to project" in Project 2
  * User C is in "User access to project" in Project 3

This solves for the very simple case above. It's not a lot of use, as I know your description is intended to get the basics clear, but it shows the principles - if you want someone to see a project, grant them permission to do it. If they should not see a project, do not let them in.


Tags: cloud

confluence-cloud

jira

jira-administration

jira-software
Restrictions
Asked by AQ:

Hi,

I created a link to a page for people to see. I made the restrictions so that everyone can see it but not everyone can edit. When I send the link to everyone, nobody can still see the pages. I have links on the page that direct to other pages that might be restricted. However, nobody can see the main page that i gave everyone access to.


Answers:
author: Ivan Lima
body: Hi [@AQ](/t5/user/viewprofilepage/user-id/4087114), there are a few possible reasons for that. One of the most common scenarios is when you've got a view restriction set for the parent pages as well. Have you had a chance to check that?

Cheers,  
IL.

comments: author: AQ
body: Hello,

Thank you. The parent page currently allows only me and one other to edit, but I've allowed anyone to be able to view the page. When I send out this parent page link to everyone, nobody can view it except for the global administrator, myself, and the other individual who I granted editing access. Please note that I am actually not a global administrator though.


author: Ivan Lima
body: Hi [@AQ](/t5/user/viewprofilepage/user-id/4087114), in this case, if there is no view restriction on a page higher up the page hierarchy, you should check that the people you've listed as viewers have the **View** space permission for your space. If you're not the Space admin, you can ask your Space admin or your Confluence admin to verify that for you.

Also, have a look at the following links to learn more about the permissions as well as the **related contents** (*bottom right of the pages*)

* [Page Restrictions](https://confluence.atlassian.com/doc/page-restrictions-139414.html)
* [Space Permissions Overview](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html)

I hope that helps,  
IL.


author: AQ
body: This was perfect and directly answered my question. Thank you!


author: riven
body: HI [@AQ](/t5/user/viewprofilepage/user-id/4087114) You need to make sure that all users have access to the space.


Tags: confluence-server

server
Upgrade from confluence 6.3.1 to 7.4.4 - Unable to determine location of the home directory. 'conflu
Asked by Desmond Ng:

Hi,

Currently, there is standalone confluence 6.3.1 set up. When trying to upgrade to 7.4.4 by selection option 3 upgrade and provided existing confluence home folder path, I got the error saying "Unable to determine location of the home directory. 'confluence.home' was not found inside confluence-init.properties."

Does anyone know what needs to be done?

Thank you.

Desmond


Answers:
author: Diego
body: Hello [@Desmond Ng](/t5/user/viewprofilepage/user-id/4087015) ! As pointed out here by [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) you could start by checking the home folder that should be defined under your Confluence 6.3.1 confluence-init.properties file. Then, you can copy the path specified there and use it during the upgrade.

You can check how to set or update the home folder location here in this document:
> * [++***\[Confluence Server\] Startup check: setting your Confluence home***++](https://confluence.atlassian.com/confkb/startup-check-setting-your-confluence-home-935907597.html)

If you are on Linux, the path that should be described under the confluence-init.properties looks like this:
> *confluence.home=/var/confluence-home*

On Windows, the path will look like this:
> *confluence.home=c:/data/confluence-home*

Please, keep in mind that the paths above are only examples and the actual location of your server folders may vary.

You can also look into our guide on how to upgrade Confluence:
> * [++***\[Confluence Server\] Upgrading Confluence***++](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html)

Let us hear from you!


author: Brant Schroeder
body: Sounds like the home directory needs to be set. You can use this to do so. [https://confluence.atlassian.com/confkb/startup-check-setting-your-confluence-home-935907597.html](https://confluence.atlassian.com/confkb/startup-check-setting-your-confluence-home-935907597.html?) I would start there and make sure confluence-init.properties is setup properly. Also remember that there can be no symbolic links within the Confluence home directory.


Tags: confluence-server

server
How do you edit a table
Asked by Ruby Cook:

I currently have a table within a table, and I cannot figure out how to alter the width of the table inside


Answers:
author: Bill Bailey
body: Did you first try to wide the column of the parent table holding the smaller table first?

Generally, you can just let the browser set the widths, rather than manually setting widths.

comments: author: Ruby Cook
body: Yes I did, unfortunately this didn't work and we also want all the smaller tables the same size
Default user groups
Asked by Taylor Huston:

This is probably a really simple question and I am just missing it, but where can I set what default groups users are added into in Confluence Server when they are created?


Answers:
author: Ivan Lima
body: Hi [@Taylor Huston](/t5/user/viewprofilepage/user-id/570853), to my knowledge, when you are using Confluence internal directory, there is no option out of the box to change the default group membership where Confluence adds users (confluence-users). As Bill mentioned, when you are using a user directory different from the internal one, you can do that.

I've found two suggestions in the Atlassian ticket system that relates to what we're discussing here. Have a look: [CONFSERVER-53076](https://jira.atlassian.com/browse/CONFSERVER-53076) and [CONFSERVER-59940](https://jira.atlassian.com/browse/CONFSERVER-59940).

Cheers,  
IL.

comments: author: Taylor Huston
body: Well crap.


author: Bill Bailey
body: In the Admin Console, under User Directories, edit the Directory, edit the settings. There should be a box to add all users to Default Group Membership. Remember everyone has to be a member of at least confluence-users.

A little hard to find a relevant doc page, but here is one: [connecting-to-an-ldap-directory](https://confluence.atlassian.com/doc/connecting-to-an-ldap-directory-229838241.html)

comments: author: Taylor Huston
body: I only have the Confluence internal directory, doesn't seem to be an option to edit that or select that option for it.


Tags: confluence-server

server
Restore Archived page
Asked by Kelly Macfarlane:

Our Space homepage was accidentally Archived, and the "Restore' option is failing. Any suggestions?


Answers:
author: David Willson
body: Ref: <https://support.atlassian.com/confluence-cloud/docs/restore-archived-pages-to-the-page-tree/>

Looks like there are 2 places you can do this from:

* directly from an archived page

* from the archived pages list in the archive

Have you tried restoring from both? Do you get the same error message? What is the error message you get? Do you have permissions to restore pages?


Tags: cloud

confluence-cloud