youngmon/atlassian-qna huggingface dataset:
Trying to share a page on a space that is set up for anonymous users?
Asked by Christen Lucas:

Trying to share a page on a space that is set up for anonymous users, but every time I go to share the page using the built-in share tool. Confluence is sending an invite to the user to join the space as a user and costing a license. Is there a setting that can fix this?

![Screen Shot 2020-07-16 at 3.08.14 PM.png](/t5/image/serverpage/image-id/103325i1278EC7F889FD4B9/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 3.08.14 PM.png")

This is the email admins are getting that say

I need to grant access.

![Screen Shot 2020-07-16 at 6.28.55 PM.png](/t5/image/serverpage/image-id/103326iAABB9A15EC569D39/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 6.28.55 PM.png")

This is the email the other receiver of the shared document is getting

![Screen Shot 2020-07-16 at 3.11.21 PM.png](/t5/image/serverpage/image-id/103328iADBDA9EBCB10C13C/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 3.11.21 PM.png")

Thank you for your help!


Answers:
author: Sharon Helms
body: Hi [@Christen Lucas](/t5/user/viewprofilepage/user-id/3933660) ,

This support article, [Share a page or blog post](https://support.atlassian.com/confluence-cloud/docs/share-a-page-or-blog-post/), describes the behaviour you're seeing:

* ***Inviting external users*** *When you share content with someone outside Confluence, we send them an email inviting them to join your site. They'll be prompted to create an Atlassian account before they can access your page or blog post.*

However since you've opened up your space to anonymous users, it's understandable you don't want this behavior!

You can instead click the Share button then select "Copy link" to get a shortened URL to send by email to the person you want to see the page.

This seems to be the option that Atlassian advises since they now default to trying to get people to create new acccounts (paid licenses).

I hope this helps!

Best wishes,

Sharon


Tags: cloud
Confluence restart Service
Asked by Anderson Hsu:

Hi,

Would it be add crontab job to restart confluence service at assigned time? Thanks a lot.


Answers:
author: Nic Brough -Adaptavist-
body: I would start by questioning why you think you want to do this. A well maintained computer system will run for months, stopping only for upgrades or other changes. I've seen a Confluence with an uptime approaching 18 months (Although I wouldn't recommend that, because the server running it really really should have been upgraded past a point where it needed a restart)

After you've solved the underlying problems, and come up with a good reason for a regular restart, I'd go with a crontab that simply does "systemctl stop confluence" and then the same with a start 5 minutes later during the quietest hour for your people. (4am on a Sunday is a good option, although as a support person, 9pm on a Friday actually works better - gives us a weekend to fix it if it fails)

comments: author: Anderson Hsu
body: I found confluence server almost ram is less than 400MB, I think it's some problem. So I try to release ram or cpu usage by crontab job.
Differentiate inline comments from comment field at the bottom page in CQL
Asked by Ryota Hashimoto:

Hello,

Is there a way to differentiate inline comments from comments on comment field at the bottom of pages, to list up only inline comments in CQL? I couldn't find it at <https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/>

The original problem was to list up all unsolved inline comment in one contents or page to have a grance, count and review it in one shot without using add-ons. CQL can be used on search view but I can't find CQL syntax doing above. Now I can see both inline comments and comments produced by comment form, which is not intended.

Thanks,


Answers:
author: Diego
body: Hello [@Ryota Hashimoto](/t5/user/viewprofilepage/user-id/3114806) !  
As I understand, you need to differentiate between "normal" comments and inline ones.

Currently, as far as I understand, this is not possible via CQL only. I was able to find a solution from another user that relies on ScriptRunner to solve this situation:
> * ++***[\[Atlassian Community\] Unresolved in-line comments cql function Edited](https://community.atlassian.com/t5/Adaptavist-questions/Unresolved-in-line-comments-cql-function/qaq-p/750210)***++

You can take a look here in our marketplace:
> * [++***\[Atlassian Marketplace\] ScriptRunner***++](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview)

Let us hear from you!

comments: author: Ryota Hashimoto
body: Hello Diego and thank you for your kind suggestion.

Now I understand CQL won't do that and ScriptRunner is a possible solution for. I need to consider using it. Thanks a lot.


author: Diego
body: Grea to know that this helped you! Come share with us in the future.


Tags: cloud
Can't save or edit page with incorrect permission error
Asked by Ryota Hashimoto:

Hi,

I often see the dialog when pushing Publish button or scrolling edit view of page:
> **We can't show this page**   
> The permissions for this page were changed. Contact an admin for help.

or
> **This content cannot be accessed.**
>
> Your session may have expired. You'll need to log in again or switch to another account to keep working. Log in or switch to another account

while all users including me didn't change the permission for the page, no session issue since just after login then I can still edit other pages, and I have full permission for the space and page. Of course tried logout \& login didn't help.

Also, in that state Reverting page will pop the message below
> **Something's gone wrong.**
>
> Try again later.

Once I fall into the situation, neither of publish or discard button work, only close button to get back to the original page works. Even after reloading, the page will say the same message and I can never change and save or discard anything at that page.

Is there a good way to avoid such state?

Thanks,


Answers:
author: Shannon S
body: Hello Ryota,

Nice to see you again, and thank you for also reporting this issue to us.

We've been seeing issues with this in particular with pages created using REST-API, or an add-on, such as one that copies existing page trees to create the pages. Could you tell me if there's any similarity to the pages that you're experiencing this issue with?

The bug we've logged for this issue can be found below:

* [CONFCLOUD-70325](https://jira.atlassian.com/browse/CONFCLOUD-70325) *Can't publish edits to pages copied with the API*

When this happens to you, you may find there's a 404 response in your Developer Tools console in your browser.

As a workaround, can you try to edit the page, without making changes, and then publish, and see if the issue persists?

As quoted from the above bug, these are the steps:

1. Edit the page
2. Click on **???** and select **View Changes**
3. Close the changes dialog and **Publish** the page

Looking forward to hearing if this helps you.

Take care,

Shannon

comments: author: Ryota Hashimoto
body: Hi Shannon, thank you for your guidance.

Not confirmed precisely but the most of pages affected are made by add-ons. And I also got that empty Publish sometimes resolves this, sometimes won't - the case the page had already edited and no way to undo. But anyway I can introduce the way you quoted to users, thanks a lot.

Regards,


author: Shannon S
body: Ryota,

Thank you for confirming that.

If you ever have a page where that workaround doesn't work, we can have a look at it for you when you raise a ticket with [Cloud Support](http://support.atlassian.com/contact). Note that you'll need to be a site admin, trusted contact, or primary billing/technical contact in order to raise that ticket.

Take care, and have a pleasant rest of your week.

Shannon


author: Robb Duke
body: I ran into this issue, too. The above prescribed steps worked like a charm. Thank you [@Shannon S](/t5/user/viewprofilepage/user-id/510046) .


Tags: cloud
Pages not loading in Edge
Asked by John Schultz:

Ran into a problem with the Edge browser where only specific links to pages will load. Navigation panel is grayed out and clicking any linked page from the original linked page results in a spinny icon and the page never loads.

This is not a major issue because it all works on Chrome, but I had a user who was seeing this and wanted to see if it is a known issue....or if we should just tell everyone to not use Edge.

Thanks


Answers:
author: Joshua Sneed Contegix
body: Hi John,

I would encourage users to be browser agnostic or at least be ready to use a small handful of browsers. This kind of issue is going to crop up randomly due to the nature of rolling updates and multiple browsers allows you/them to identify if there is an actual problem. It also allows you to test in the same set of browsers for validation or to identify if it is something about the user(s)/browser settings.

I did find [a few issues](https://jira.atlassian.com/browse/CONFCLOUD-69167?jql=project%20in%20(%22Confluence%20Cloud%22)%20and%20summary%20~%22edge%22%20and%20statusCategory%20!%3DDone%20ORDER%20BY%20updatedDate%20DESC) with Atlassian that contain Edge in the summary and are part of the Confluence Cloud project. It seems like Edge and Confluence have problems rendering as expected. Cheers!


Tags: cloud
HTML rendered in Confluence
Asked by alessandro mancini:

Hi, do you know how to import a rendered html inside confluence, not as attachment, but visualizing all the content of the html inside the page

Thanks


Answers:
author: repi
body: [@alessandro mancini](/t5/user/viewprofilepage/user-id/4015366)

per copy and past!

However, if the HTML code is to be executed on the page, this is not possible with the standard functionality.  
You need additional apps for this.


Tags: cloud
How do I create a repository for storing files that contain notes on various processes?
Asked by Alex Hoffman:

I want to be able to utilize a repository in confluence to store notes on various processes in confluence. This way when someone new is hired we don't have to just rely on the person who knows how to each process. Rather the new employee can just reference the files from the repository.


Answers:
author: Joshua Sneed Contegix
body: Hi Alex,

The short answer is to use Confluence as it is intended. The longer answer is to [create a space](https://confluence.atlassian.com/conf59/create-a-space-792498598.html), [create some pages](https://confluence.atlassian.com/doc/create-and-edit-pages-139476.html), and then direct the new hire to the space. Cheers!


Tags: cloud
Unable to log in because I do not know my username
Asked by Cassidy Dreyfus:

This is probably a really basic question, but I cannot seem to find where my username is written down anywhere, so I am unable to log in to our new Confluence site.

I looked on id.atlassian.com and my community profile page, but all I could find was email and full name.

I never picked a username, but I have been trying common defaults like my email, username@email.com, and firstNameLastName, but none of them have worked.

Is the username for our Confluence site different from my Atlassian account? If so, how would I find that information? By contacting my site Admin?

Thanks


Answers:
author: repi
body: [@Cassidy Dreyfus](/t5/user/viewprofilepage/user-id/3991133)
> If so, how would I find that information? By contacting my site Admin?

Yes, you should do that.

comments: author: Cassidy Dreyfus
body: We figured it out. Thanks!
Why do templates and pages have different editing capabilities?
Asked by Kathryn Deming:

I'm trying to recreate a page as a template and I don't have the same controls. Please help.


Answers:
author: Nic Brough -Adaptavist-
body: Because they do different things. Templates are static, used to create a page in a shape. The functions you're missing from templates are for doing the more dynamic things that you would do when editing a page. And vice-versa.

comments: author: Kathryn Deming
body: That makes sense, however, other team members have an editing view that I don't have access to even though I'm a site admin. I need the editing bar that appears in the second global template. How do I get access to this? ![Screen Shot 2020-07-16 at 11.04.26 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/103277iCA06CDBCD98E386F/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 11.04.26 AM.png")![Screen Shot 2020-07-16 at 11.04.40 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/103276i351EEA265609D52C/image-size/large?v=v2&px=999 "Screen Shot 2020-07-16 at 11.04.40 AM.png")Thanks!


author: Nic Brough -Adaptavist-
body: Confluence is moving to a new editor. Existing pages made under the old editor are not compatible, so when you edit an existing page created with the old one, you get the old editor.

New pages will use the new editor.


Tags: cloud
What qualifies as "first part" of page content for Children Display macro
Asked by JaredH:

I set a Children Display macro to use rich content, which according to the documentation is "the first part of the page content, including formatted text, images and some macros." Is there a more descriptive answer for how Confluence determines what qualifies as the "first part" of the page content?


Answers:
author: Shannon S
body: Hello [@JaredA](/t5/user/viewprofilepage/user-id/98922),

Thank you for asking about this; it's a really good question. In general, it looks like the macro will show the first paragraph of a page, up to about 2500 characters. However, if the paragraphs are small, it could show two paragraphs within that space.

I hope that helps, but let me know if you have questions about that.

Take care,

Shannon


Tags: cloud

confluence-server

macro
Calendar - auto refresh
Asked by Linda Ness:

With regards to team calendars, we would like the calendar to refresh frequently so that if someone updates the calendar, everyone can see the change automatically (without clicking on refresh). I have reduced the cache down to 1 minute but this has made no difference.

Is there a way of achieving a frequent refresh rate on the calendar?


Answers:
author: repi
body: [@Linda Ness](/t5/user/viewprofilepage/user-id/1317888)

It has been a long time since I worked with the team calender. I can remember that you can embed it on a normal confluence page.  
If that's possible, then html code like this

    <meta http-equiv="refresh" content="10"/>

Updated every 10 sec
Using labelManager in user macro
Asked by Priska Aprilia:

I am writing a user macro to get a list of pages with a specific label.

This is the code that I have written. But it does not return anything. Do you know what's wrong with the code? how can I use the labelManager in a user macro?

## Macro title: My Macro  
## Macro has a body: Y or N  
## Body processing: Selected body processing option  
## Output: Selected output option  
##  
## Developed by: My Name  
## Date created: dd/mm/yyyy  
## Installed by: My Name

## This is an example macro  
## [@Param](/t5/user/viewprofilepage/user-id/1345631) Label:title=Label\|type=string\|required=true\|desc=Input one label

#set($containerManagerClass=$action.class.forName('com.atlassian.spring.container.ContainerManager'))  
#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))  
#set($containerManager=$getInstanceMethod.invoke(null,null))  
#set($containerContext=$containerManager.containerContext)  

#set($labelManager=$containerContext.getComponent('labelManager'))

##set($pages = $labelManager.getContentForLabel($labelManager.getLabel($paramLabel), 10))  
\<span\>  
#foreach( $page in $pages )  
\<span class="aui-label"\>$page.name\</span\>  
#end


Answers:
author: Priska Aprilia
body: I made a mistake..I had an extra character # in the $pages parameter definition.

I am writing a user macro to get a list of pages with a specific label.

This is the code that I have written. But it does not return anything. Do you know what's wrong with the code? how can I use the labelManager in a user macro?

## Macro title: My Macro  
## Macro has a body: Y or N  
## Body processing: Selected body processing option  
## Output: Selected output option  
##  
## Developed by: My Name  
## Date created: dd/mm/yyyy  
## Installed by: My Name

## This is an example macro  
## [@Param](/t5/user/viewprofilepage/user-id/1345631) Label:title=Label\|type=string\|required=true\|desc=Input one label

#set($containerManagerClass=$action.class.forName('com.atlassian.spring.container.ContainerManager'))  
#set($getInstanceMethod=$containerManagerClass.getDeclaredMethod('getInstance',null))  
#set($containerManager=$getInstanceMethod.invoke(null,null))  
#set($containerContext=$containerManager.containerContext)  

#set($labelManager=$containerContext.getComponent('labelManager'))

#set($pages = $labelManager.getContentForLabel($labelManager.getLabel($paramLabel), 10))  
\<span\>  
#foreach( $page in $pages )  
\<span class="aui-label"\>$page.title\</span\>  
#end

comments: author: Matthias Schouten
body: No Idea if this is still needed, but you could use

#set( $labelManager = $action.getLabelManager())

to get the labelmanager for a user macro

$action is the ConfluenceActionSupport, which is provided within the velocity templates by confluence (<https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/>), and holds a labelManager object (<https://docs.atlassian.com/ConfluenceServer/javadoc/7.11.1/com/atlassian/confluence/core/ConfluenceActionSupport.html>)


Tags: confluence-server

server

user-macro
Remove the only Org-Admin
Asked by Benedikt Steindorf:

Hi Community,

today we lost our org-admin and now we need to transfer this role to me.

He was the only "ORG \& SITE ADMIN" and i'm only a "SITE ADMIN".

I didn't found a way to remove him.

Thanks in Advance.


Answers:
author: Benedikt Steindorf
body: As i read meanwhile, we need support from Staff, because only Atlassian Team can remove/transfer the only Org-Admin.


Tags: cloud

jira
Find pages where a certain handy status macro is used (and replace)
Asked by Peter Schupp:

Hi Community! We meanwhile have several user defined "handy status" macros in use.  
One is doing red/yellow/green the other Prio1/Prio2/Prio3 another one go/stop/attention, ... and so on. However, more than one have the same meaning. So we'd like to reduce them to a minimum number.  

How can we find certain pages that use a certain kiund of handy status?  
Is there a way to replace a used handy status by another one (semi-automatically)?


Answers:
author: Thomas Bowskill
body: Hi [@Peter Schupp](/t5/user/viewprofilepage/user-id/4015061) while this doesn't really answer what you need, you might find some help from the "Macro Usage" report that Confluence admins have. That will at least show you the level of use and which pages have which macros. I don't know of a way to auto-replace them though.

See: <https://confluence.atlassian.com/confkb/how-to-get-a-list-of-the-most-popular-macros-used-in-confluence-353764197.html>


author: Natalie Paramonova [Stiltsoft]
body: Hi [@Peter Schupp](/t5/user/viewprofilepage/user-id/4015061) ,

To find all the particular statuses, type the following in the search box:

macroName:status-handy AND status:"Name of status"

To replace them semi-automatically, you can try to use status IDs (you can find them in the markup).

comments: author: Peter Schupp
body: Hi [@Natalie Paramonova \[Stiltsoft\]](/t5/user/viewprofilepage/user-id/1779341) , didn't know that! Thanks for the hint!  
Is there a list of patterns or can I somehow logically derive the search keys (like "macroName, status, ...) to be used for a search?


author: Joshua Sneed Contegix
body: Hi Peter,

After identifying the pages, you may be able to use a WebDAV client to handle the replacement portion of your ask.

* [Configure a WebDAV client for Confluence](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html)
* [Use a Webdav Client to Work with Pages](https://confluence.atlassian.com/doc/use-a-webdav-client-to-work-with-pages-200704169.html)

Cheers!

comments: author: Peter Schupp
body: Interesting approach, thank you!  
I can see the WebDAV configuration in my confluence, however, I wonder if it needs additional configuration on the systens side (not cobfluence, but the server), as I tried several clients but never got connected ...  

Anyway, like the idea and will try further.


author: Peter Schupp
body: THX, that's already a good first step!

comments: author: Peter Schupp
body: ... of course hints on search/replace over all pages and especially "code"/makros are still welcome! :)


Tags: confluence-server

server
Add a link to excel file outside JIRA/Confluence
Asked by Lars Bagger Andersen:

Hello

I would like hear about if it is possible to add a link to an excel file outside the JIRA/Confluence.

The fil are located into a shared folder used by user with and without Confluence access and are not allowed to be relocated.

All attempts has failed and only the option of moving an Excel filen into Confluence seems to be working.

Could the issue be a setting to our local solution or is it just a fact that adding an Excel link is not possible?

Br.

Lars Bagger


Answers:
author: Joshua Sneed Contegix
body: Hi Lars,

This doesn't sound like a problem with Confluence because Confluence will hold a link to any resource you would like. Clicking a link in Confluence will behave the same as clicking a link in an email or pasting a link into a browser. I would paste the link to the Excel file into your browser to see if your browser tries to download the file. If the browser does not download the file, then you have to look to the file server and sharing configuration. Cheers!

comments: author: Lars Bagger Andersen
body: Hi Joshua

Thanks for the answer I wil ?l contact the file owner to have them to change the setting for the file.

Br.

Lars


author: Nic Brough -Adaptavist-
body: This depends on the file share, not Confluence.

A Confluence page can link to any valid url, including file shares, but there's a couple of things that often go wrong:

* People don't use shares on valid urls, they put them on url-like locations that are not understood by browsers because they're not valid
* A lot of file share systems present files over non-standard protocols, so even when a url is valid, the browser can't read them because it doesn't have the code for non-standard protocols

So, the short answer is "you'll need your file share system to provide a valid url with a standard protocol your browsers can handle"

comments: author: Lars Bagger Andersen
body: Hi Nic

I will try to test your suggestions and contact the file owner to change the setting to the file.

Br.

Lars


Tags: confluence-server

server