youngmon/atlassian-qna huggingface dataset:
Edit-rights on a page-tree within a restricted space
Asked by Thomas Schubert:

Atlassian Confluence 5.9.7  
---  
We have a space for technical documentation, that only a group of administrators is enabled to see and edit.

Within this space we have page trees)\* for several subprojects. **Some of these page trees are to be view+edit-enabled for external users (contractors of us), who must only see and edit these special page trees within the otherwise for them invisible space.**

We've tried to do this via page restrictions but as the external users do not see the whole space they don't see their sub page tree either.

What can we do to get what we intend?

Thank you,  
Thomas

)\* - With "page trees" I mean a structure of pages and subpages.


Answers:
author: Thomas Schlegel
body: Hi Thomas,

you can't add permissions for single pages in a confluence space. It goes the other way round:

- All users can see the space

- All the pages that your external users are not allowed to see have to be restricted to your internal users.

But that's a hell of administration and I would not recommend that.

comments: author: Thomas Schubert
body: Thanx Thomas,

I had expected this. 8-\[

Beyond this our external user must not only get viewing rights but also edit rights, so maybe it would be the best to transfer his content into a separate space.

That brings the following question:

**Is it possible, to include the content of this separate space into a page in the the space, where our documentation has to be seen together - as a kind of html:\<iframe\>**?

Thomas


author: Thomas Schlegel
body: an iframe wouldn't help, because you have to login to that included page and then you don't have the permission to see that included page :-(

Maybe the multi-excerpt plugin might help you: <https://marketplace.atlassian.com/plugins/biz.artemissoftware.confluence.multiexcerpt.MultiExcerptMacro/server/overview>

It is not for free, but has an option to declare excerpts, which you can include in other pages and override the original permissions.

Think about, if you really want this behaviour. It can be used to override the permission system in your Confluence completely...

Btw, we have bought this plugin, it works well, but we have not activated this enhanced permission thing.


author: Thomas Schubert
body: is it possible to embed excerpts from other spaces?


author: Thomas Schlegel
body: yes it is
Is there any way to get the information about all external links of a confluence space?
Asked by Urmimala Biswal:

Hi,

Is there any way to get the information about all external links of a confluence space?

Regards,

Urmimala(Nagra)


Answers:
author: Nic Brough -Adaptavist-
body: In what way do you want to "get" it?

comments: author: Urmimala Biswal
body: Hi Nic,

Please help to find change the reference used in Confluence page to a new location ( as an example http://engwiki/display/CMSTEAM/EPG+Inheritance+Refactoring)

Which contains below link , as I need to replace the link( <http://sharepoint.hq.k.grp/sites/prodsols/she/cms>) with <http://sharepoint.hq.k.grp/sites/ORG01/she/cms>

Is there any easy method to change the links / hyperlinks used in a confluence page.

Regards,

Urmimala (Nagra)
How do I create a dropdown box or a select and replace?
Asked by Cindy Lee:

I'm creating a work request form where users need to select a request type in a page poperties macro which populates a page properties report.

Is there a way for me to create a dropdown box or a select and replace so that the entire list (10 or so options) doesn't appear in the page properties report?

See attached image

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


Answers:
author: Stiltsoft Support
body: Hello [@Cindy Lee](/t5/user/viewprofilepage/user-id/1125034) ,

You can try our [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=server&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_id=1216111&utm_content=dropdown_box) app to create drop down sections with multiple custom options. It works perfectly within Page Properties and Page Properties Report. Another benefit of Handy Status (the above-mentioned feature of the app) is that you can change options in your drop down menu in the page view mode.


author: AnnWorley
body: You may restrict the number of results within the page properties report macro - let me know if this was what you were looking to do:

![Screen Shot 2017-06-09 at 1.17.45 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/2054i56DE00E4CB013DD8/image-size/large?v=v2&px=999 "Screen Shot 2017-06-09 at 1.17.45 PM.png")


Tags: list

select-list
Macros not available after Clearing Plugin Cache in Confluence
Asked by KartikA:

Hello,

Users were not able to insert macro's in the morning. So after doing a bit of research it said if I cleared the Plug in Cache from Confluence this issue would be resolved. I followed this Documentation <https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html> and cleared the Cache. But even after doing that it gives me the same error when I try to Edit a page, insert other macros no screen pops up and when I try using { "Falied to get macro details" is the error I am getting. Can anyone help me with this.

Thanks in Advance,

Karthik


Answers:
author: AnnWorley
body: Maybe something is interfering with the Default Macro Metadata Provider plugin. Please check under Administration\>Add-ons\>All add-ons to make sure it is enabled.

You may want to check the log for the error from this article:

[Confluence macros missing in macro browser](https://confluence.atlassian.com/confkb/confluence-macros-missing-in-macro-browser-429917256.html)

comments: author: KartikA
body: Hey Thanks Ann,

I found the solution I went into Administration\>Add-ons\>All add-ons and disabled Gadget Plug in and it works now!!
Why AJS.$(window).scrollTop() always returns zero in Confluence?
Asked by Nishaat Rajabali:

I am trying to get scroll position using AJS.$(window).scrollTop() in window.scroll callback function but this always returns zero.

How do I get scrollTop() in Confluence? Do I need to get the scrollTop() from a particular element?

I am using Chrome.


Answers:
author: Mirek
body: Please check if changing the element like Melissa did on similar question is working for you too - <https://community.atlassian.com/t5/Confluence-questions/Re-Why-is-AJS-window-scroll-not-firing-in-Confluenc/qaq-p/706092/comment-id/94464#M94464>
When do new ScriptRunner Confluence custom script macros get compiled?
Asked by Milo Chan:

We have started to evaluate the ScriptRunner for Confluence add-on (v4.3.17) on Confluence 5.9.2 and 6.1.1 running on Windows.

I suspect that there is something wrong with our configuration.

Working through the documentation, when I try to create a custom script macro, even a trivial test that simply prints, "Hello, World", the script macro is not immediately available for use in pages. In fact, I can't figure out what causes the new script macro to become available for use. Is it a background build process? Is there a log file I can check? Is there a way to force it to update?

Once the script macro IS available for use, subsequent modifications to the script logic are reflected in Confluence content immediately.

Has anyone had a better experience with this add-on? It looks like exactly what we need for customizations.

Thanks in advance.


Answers:
author: AdminTeam EMC
body: Okay. Just heard back from Adaptavist: there is an issue in ScriptRunner for Confluence with script macros not appearing.

I assume when the bug is fixed, that script macros will appear more or less immediately.

comments: author: Brent Werthmann
body: Is there an update on this item?


Tags: scriptrunner

adaptavist

addon-com.onresolve.jira.groovy.groovyrunner

macro

script

windows
First time Confluence tutorial
Asked by Joel Davidson:

The first time you login to Confluence, you have the option to watch a tutorial or skip it. Does anyone know where you can watch that tutorial after that?


Answers:
author: AnnWorley
body: Sure! [How to re-run the "welcome.action" in Confluence for existing users](https://confluence.atlassian.com/confkb/how-to-re-run-the-welcome-action-in-confluence-for-existing-users-795936555.html)

comments: author: Joel Davidson
body: Very Helpful. Thanks!


author: AnnWorley
body: Glad to help! If that answered your question, please accept my answer so it will have a green checkmark for the next person to find. :)


author: martin
body: Does not seem to work anymore on 6.14.2:  

.../dashboard.action?onboarding=true

only takes me to the default start page.
JIRA macro in Confluence filter=null
Asked by Jonathan Bohlmann:

We have the JIRA macro set for two dimensions. When we click on the summary number (lower right number) in the table, JIRA will open but with this URL:

<https://jira.tekstream.com/issues/?filter=null>

The "View in JIRA" does work

![Capture.PNG](/t5/image/serverpage/image-id/147i1553EEECBA33629E/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Maarten Cautreels
body: Hi Jonathan,

I've done a quick test on our Confluence instance (version 6.1.0) and it seems to work as expected.

Therefor I think it would be best to get in touch with [Atlassian Support](https://support.atlassian.com).

Hope this helps.

Best,

Maarten


Tags: jira
How to override synchrony.port in Windows registry?
Asked by Milo Chan:

I'm trying to get Collaborative Editing in Confluence 6.1.1 working.

I can't figure out how to set the synchrony.port to something other than 8091. (That port is in use on our system.)

[This page](https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html) explains that for Confluence running as a service on Windows, this should be overridden in the registry. It refers to [another page](https://confluence.atlassian.com/doc/configuring-system-properties-168002854.html), which explains, somewhat ambiguously, where to put the registry entry.

It says to place synchrony.port property in the entry:

HKEY_LOCAL_MACHINE \>\> SOFTWARE \>\> Apache Software Foundation \>\> Procrun 2.0 \>\> Confluence service name

However, the accompanying screen grab on the page actually points to this entry:

HKEY_LOCAL_MACHINE \>\> SOFTWARE \>\> Apache Software Foundation \>\> Procrun 2.0 \>\> Confluence service name \>\> Parameters \>\> Java

It also doesn't state what type of value to create. (string? dword?)

I've tried all possible combinations and nothing seems to work.


Answers:
author: Marcelo Horlle
body: Hey Milo,

If you are running your Synchrony as a Windows Service, let's do it through Command Line, it is easier.

# Open CMD and CD to your Confluence **bin** directory.

# Run the following command by changing the \<SERVICENAME\> by your Service Name: **tomcat8w //ES//\<SERVICENAME\>**

# You will see that an option pane will be rendered on your screen. Click on the JAVA Tab.

# Add the following argument as a new line inside the Java Options: -Dsynchrony.port=PORTNUMBERHERE

# This will make the service to run on a different port.

Hope it helps! Have a great week ahead!

comments: author: Milo Chan
body: Thank you! I never thought to look for a pure Tomcat solution. This worked perfectly.


author: Marcelo Horlle
body: Awesome news, Milo!  
Have a great week ahead. :)


Tags: collaborative-editing

property

service

synchrony

windows
Confluence: Split Children Display Macro Into Two Segments
Asked by Stephen Kairys:

**Confluence Server 5.9.7:**

Hello,

I have a page contaniing a Children Display Macro with the following scrubbed entries.

Dogs - Diet  
Dogs - Grooming  
Dogs - Exercise  
Cats - Diet  
Cats - Grooming

Because this page is is already four levels down in our page tree, we do not want to create a fifth level...navigating down to it becomes too much of a pain.

Accroindgly, is there a way to "split" the Children Display macro so it would look as follows:

++Example 1++ (Whitespace between Dogs and Cats)

Dogs - Diet  
Dogs - Grooming  
Dogs - Exercise

Cats - Diet  
Cats - Grooming

++Example 2++ (Header above each "section:)

**Dogs**

Diet  
Gooming  
Exercise

**Cats**   

Diet  
Grooming

-----

Thanks!


Answers:
author: Mirek
body: The first example is definitively possible. I did this some time ago by playing around with children display macro that was added on child pages and including later those pages (using Include Page macro) on the parent page. This is what I get:

![download.png](https://community.atlassian.com/t5/image/serverpage/image-id/79955iB0FA11BD477CB9B2/image-size/large?v=v2&px=999 "download.png")


Tags: child-page

macro
Create Page Confluence REST API
Asked by Jeet G:

Hi,

I'm trying to use the confluence REST Api for server.

I want to create a new page before populating it with some content. I managed to get get an existing page and edit it.

This functionality will be a part of a jira-plugin later on.

Thanks!


Answers:
author: Sam Hall
body: Hi Jeet - since this is development related, you might want to try asking this over at: <https://community.developer.atlassian.com> as well (if you haven't already).

There's a lot of helpful and experienced people over there. You might well get a quicker responses in there than on here.

comments: author: Sam Hall
body: Looks like this is the thread that Jeet created: <https://community.developer.atlassian.com/t/create-a-page-confluence-rest-api/2089>


author: Phillip Ponzer [Cprime]
body: You should be able to POST a new page by sending a POST command to:

**\<Confluence Base URL\>/rest/api/content/**

with the following JSON in the body:

```
{  "type":"page",  "title":"My Test Page",  "space":{"key":"TST"},  "body":{    "storage":{      "value":"<p>This is a new page</p>",      "representation":"storage"    }  }}
```

This was retrieved from the documentation:

<https://developer.atlassian.com/confdev/confluence-server-rest-api/confluence-rest-api-examples#ConfluenceRESTAPIExamples-Manipulatingcontent>

comments: author: Jeet G
body: Thanks for the response.

When I run the post command on my localhost this is the response:

```
HTTP/1.1 405 Method Not Allowed [Server: Apache-Coyote/1.1, Allow: HEAD,DELETE,GET,OPTIONS,PUT, X-Content-Type-Options: nosniff, Content-Type: text/html;charset=utf-8, Content-Language: en, Content-Length: 1056, Date: Wed, 05 Apr 2017 19:40:18 GMT]
```

However in the Confluence Server API the create page method is a POST method.

For reference: <https://docs.atlassian.com/atlassian-confluence/REST/latest-server/#content-createContent>


author: Pavel Potcheptsov
body: Show your exact command and payload.


author: Orlando_Kelly
body: You need to set you authentication header to basic and send your username / password


author: Anirudh G Polawar
body: Yeah can you give the example like any HTTP request.


Tags: java

jira-app-development

server
charts macro - 404 error
Asked by Garry Horoupian:

The graphs I generated with the chart macro used to work, but after maintenance upgrade on our server, none of them are working. When inspecting the page and looking at the console message, I see the following error

![Screen Shot 2017-04-05 at 9.20.43 AM.png](/t5/image/serverpage/image-id/134i795C0A2099EBD2E2/image-dimensions/603x123?v=v2 "Screen Shot 2017-04-05 at 9.20.43 AM.png")

Any help would appreciated on how to


Answers:
author: Marcelo Horlle
body: Hey Garry,

I would start by clearing up all my temp files, ensuring that my base URL is correct after the ugprade maintenance and by clearing my plugins cache.

This [article](https://confluence.atlassian.com/confkb/broken-avatars-icons-in-confluence-after-an-upgrade-due-to-corrupted-cache-329974322.html) and this [article](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) might be of help!

Have a great week ahead!


Tags: chart
After upgrade to Confluence 6.0.5 favourite links are gone
Asked by kunjiraj:

Favorite links are gone. I guess this is what is now called "Saved for later", but old favorite links are not there, it's empty.

Affected confluence version: 6.0.5  
Old confluence version: 5.4.1


Answers:
author: Timothy
body: I believe this can resolve your issue:

\* <https://confluence.atlassian.com/confkb/how-to-restore-missing-favorites-after-import-from-xml-744719060.html>

comments: author: kunjiraj
body: tired this workaround, dinn work for me.  
It stucks at Step 9 for workaround (upgrade query).
Restrict a Confluence page partially
Asked by Andrei:

Hi. I would need to create some pages on Confluence and restrict just some content on the page, let's say half of it should be available to all the users, the rest to just some other users. How can that be done?

Thanks.


Answers:
author: Andrei
body: Many thanks for your quick answers! I will give them a try. The "cleanest" way to do this for now seems to be the Visibility macro.

Thanks,


author: Steffi Frank
body: try this:

create page A with no restrictions. create page B with restrictions - put your content into 'excerpt' macro

on page A insert 'include excerpt' macro (with restricted content from page B)

content from the restricetd page will not appear but this error message:

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


author: Timothy
body: Confluence does not have that feature out of the box. You're looking at something like this:

* <https://marketplace.atlassian.com/plugins/org.swift.confluence.macrosecurity/server/overview>
* <https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.visibility/server/overview>


Tags: restriction
Stylesheet versus custom HTML
Asked by Brian Ippolitto:

I am following the below link to remove the Child Pages from the bottom of a single page.

Under Look and Feel i have Themes, Colour Scheme, layout, Stylesheet,, Change Space Logo and Breadcrumb Naviation Bar. I do not see "Custom HTML". I tried entering the text in the Stylesheet but it did not work.

What am i doing wrong?

<https://confluence.atlassian.com/confkb/how-to-hide-confluence-child-pages-with-jquery-693899109.html>


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Try this URL:

https://CONFLUENCEURL/admin/viewcustomhtml.action

Anything displaying there.


Tags: html

stylesheet
Why confluence link URL get modified with %25 sign?
Asked by kunjiraj:

Hi,

We have an issue with http URL encoding.

encoding: UTF-8  
Confluence 6.0.5

Expected URL: https://URL/issues/?jql=project%20%3D%20ECPD%20and%20fixversion%20%3D%20EC

after click result:   
https://URL/issues/?jql=project%2520%253D%2520ECPD%2520and%2520fixversion%2520%253D%2520EC

%25 appends in URL


Answers:
author: NotTheRealStephenSifersNOPENOPENOPENOPE
body: Looks like it is passing through a %25 as the "%" for the 20.

%25 is equall to %

%20 is equall to SPACE

%2520 is equall to %20 is equall to SPACE

More info here:

<https://www.w3schools.com/tags/ref_urlencode.asp>

Original: Expected URL: https://URL/issues/?jql=project%2520%253D%2520ECPD%2520and%2520fixversion%2520%253D%2520EC

Translated: https://URL/issues/?jql=project%20%3D%20ECPD%20and%20fixversion%20%3D%20EC

comments: author: kunjiraj
body: do we have any solution for this to avoid it in URL?  

It makes link dead on confluence page.


author: josh
body: This is likely Apache or your proxy double encoding the existing url. Can you post your proxy config from your Apache config file?


author: kunjiraj
body: specific file? server.xml


author: Matt Snow
body: I am experiencing the exact same problem after upgrading from Confluence 5.6 to 6.0.4. Please add your voice to \[this issue\|<https://jira.atlassian.com/browse/CONFSERVER-45966>\] to nudge Atlassian to fix what is a clear regression.


author: josh
body: I had this problem with double encoding URLs after I converted JIRA to HTTPS (using an apache proxy). If you're doing the same, rather than using the tomcat configuration for SSL, it's in the apache config file. On my RHEL system this is /etc/httpd/conf.d/ssl.conf

I fixed it by adding the 'nocanon' keyword to my 'ProxyPass' directive, similar to what is suggested here: <https://confluence.atlassian.com/jirakb/no-confluence-page-found-with-the-given-url-when-linking-a-confluence-page-in-jira-426118083.html>

If you're not using a proxy, this may not apply.


author: RSGuse
body: Workaround:

Rather than creating a link with the drop-down, paste the URL directly in, save, then edit and go in and change the name.

It looks like the "create link" method is doing the translation and pasting it in directly does not.


author: Fred Bunting
body: This was reported as a bug in Confluence 6.0 ([CONFSERVER-45966](https://jira.atlassian.com/browse/CONFSERVER-45966)) and Confluence 6.1 ([CONFSERVER-52420](https://jira.atlassian.com/browse/CONFSERVER-52420)) and is **resolved in Confluence 6.2**.

Both of those tickets list workarounds.


Tags: ascii

url
How do links from Confluence to external documentation (on local network) work?
Asked by Sabrina Dixon:

My company has a limit on file sizes of documents that can be stored in Confluence. This limits us to using links out to larger document files that exist on our local network. We are using the insert link function to browse and insert the file. When the document that is being linked to is updated and saved on the local network with no change to the name of the document, should the inserted link (in Confluence) take the user to the newest saved version?

I ask because I'm seeing behavior that indicates that somehow the link is taking the user to the original documentation and NOT to the latest saved version.

Any insight is appreciated. Thank you!


Answers:
author: Alison Paige
body: Hi Sabrina,

Confluence linking functionality should work the same as linking from any other site. As long as the link and the file name stay the same, it should link them to the newest saved version. There's a chance that the original version is cached for the user that already opened the file. Can you ask a user that hasn't opened it yet to click on the link and see if it takes them to the newest saved version?

Cheers,

Alison
Overwriting office documents.
Asked by Maja Stjern Flakne:

We are having difficulties when editing in office, because there is no way of knowing if someone else is in the document before you save and get the option of "keeping your version" or "keeping their version". Is there any way of avoiding this problem? We are loosing alot of information, and we have to use office documents.

Best regards   
Maja


Answers:
author: Jan-Peter Rusch
body: The only solution I heard of (didn't try) is an addon "Arsenale Lockpoint" for the server version.

You might want to check this link:

<https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint/server/overview>


Tags: ms-excel
Can I get "unknown macros" to work in Confluence 6.0.3?
Asked by Dan Moran:

We converted Confluence 3.5.7 to Confluence 6.0.3. The {anchor} macros from 3.5.7 aren't supported in 6.0.3, as well as {table}, {td}, and {tr} macros that were created when we converted FrameMaker documentation to Confluence 3.5.7.

Can anything be done in 6.0.3 to make thse macros work?


Answers:
author: Nic Brough -Adaptavist-
body: Not really, you need them converted to internally supported macros.

You might want to try creating user macros to replace them, but I'm not sure they'll give you everything you had before.

comments: author: Dan Moran
body: Hi Nic! Thanks for your reply. Do you know how, for example, an {anchor} macro from 3.5.7 could be converted to a 6.0.3 anchor? That would be a great solution.


author: Nic Brough -Adaptavist-
body: There's no direct conversion that I know of, but a user macro called {anchor} with body content and formatting for a link might get you closer (at least there won't be error messages and you'll see the link)