youngmon/atlassian-qna huggingface dataset:
How to customize Error Page in Confluence Data Center
Asked by FlyMajster:

Hi!  
I'm jira admin and I would like to customize **Error Page** in Confluence 7.19  
I would like the user who does not have access to the specific page to receive information on the **Error page** who to contact for access.  

Thanks for all answers


Answers:
author: Matt
body: There are a few ways this can be accomplished, none of which are *easy*. Meaning that they will all require some type of code customization, there's no GUI settings to customize application templates.

1. Custom HTML
2. A new Theme or custom in-house plugin using the JAVA API
3. A 3rd party plugin
   1. ScriptRunner (paid add-on)
4. [Directly modifying the error template files](https://confluence.atlassian.com/confkb/how-to-customize-the-not-permitted-page-829059072.html) (personally, I do not recommend this because it requires application files to be overwritten during any application upgrades. but if you're ok with as part of your upgrades/builds then this is a documented solution)

On **Server/DC** you can use the 'Custom HTML' feature within the application's General Config to add some HTML/JS logic to determine if you're on the Error page and display your custom message. Unfortunately, there's no way to determine who the space admin is, through the REST API, so what you can do is just make it clearer for the user to find who that is and inform them to reach out to them.  

Here's an example:

```
const initCustomErrorMessage = () => {
// if .request-access div exists, we're on the 401 page, so append more details
if($('div.request-access').length > 0) {
let errorMsg = '<h3>Please reach out to a Space Administrator to request access to this resource</h3>. <p>To learn who the space administrators are for this space, click <a href="https://'+ window.location.host +'/spaces/viewspacesummary.action?key='+AJS.params.spaceKey+'">here</a>.</p>';
$('div.request-access').append(errorMsg);
}
}


AJS.toInit(function () {
initCustomErrorMessage();
})
```

<br />

The above solution will not work for Confluence Cloud  

comments: author: FlyMajster
body: Thank you for your reply.


Tags: confluence-server

server
Why can't I move pages between spaces?
Asked by Joakim Hogart:

According to this article [Move and Reorder Pages \| Confluence Data Center and Server 8.6 \| Atlassian Documentation](https://confluence.atlassian.com/doc/move-and-reorder-pages-146407727.html)

"

o 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.

If the page has restrictions, and you want to keep the page restrictions in the new location, you'll also need 'Restrict' permission on the space you're moving to. Alternatively, remove the page restrictions before performing the move.

"

Which seems reasonable but when I try to do move page in Confluence cloud from one space to another - having privileges above - I get error.

"Only space admins can move content to another space. Contact your admin for help.".

Why are permission above not valid/enough for Confluence cloud?


Answers:
author: Rilwan Ahmed
body: Hi [@Joakim Hogart](/t5/user/viewprofilepage/user-id/3138783) ,  
**In Confluence Cloud**  
When you move pages into a different space, you're essentially deleting them in their current space and adding them to the destination space. With that in mind, make sure you have the following permissions.  
In the page's current space:

* Space admin permission

In the destination space:

* permission to View content in the space
* permission to View the page or pages you want to move
* permission to Add pages in the space

Any of the spaces' space admins can tell you if you have these permissions or not, and give them to you if you don't. You can see who the space's admins are by going to Space settings in the sidebar, selecting Space details from the Manage space card, and looking at the Administrators field.  

More details in <https://support.atlassian.com/confluence-cloud/docs/move-copy-and-hide-pages/#Move-pages>

comments: author: Joakim Hogart
body: Hi [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861) ,

Thanks for answer. It is natural that users must have delete privilege in space where page is moved from. But why do the need to be space admins?

BR

/Joakim


author: Rilwan Ahmed
body: Hi [@Joakim Hogart](/t5/user/viewprofilepage/user-id/3138783) ,

I am not sure why Atlassian has kept that condition. You can contact them directly in <https://support.atlassian.com/contact/> for further details


Tags: cloud

confluence-cloud
Is CVE-2023-22515 also exploitable via server-info.action?
Asked by Manuel:

Rapid7 mentions in their [blog post](https://www.rapid7.com/blog/post/2023/10/04/etr-cve-2023-22515-zero-day-privilege-escalation-in-confluence-server-and-data-center/) that they exploited the vulnerability CVE-2023-22515 with the endpoint /server-info.action which isn't mentioned in the advisory. Also if it is the case, that this endpoint allows also the creation of an admin account, the workaround won't work.

Can Atlassian confirm this and update the [advisory](https://confluence.atlassian.com/security/cve-2023-22515-privilege-escalation-vulnerability-in-confluence-data-center-and-server-1295682276.html) with the additional IoC?


Answers:
author: Tim Eddelb?ttel
body: I'll asked this as well in the ticket: <https://jira.atlassian.com/browse/CONFSERVER-92475>


author: Darren DeHaven
body: Reading the exploit, it appears the workaround doesn't prevent a DoS (triggering a 403 to your system), but does prevent the bad actors from gaining access to your system.

From the exploit: <https://github.com/Chocapikk/CVE-2023-22515/blob/main/exploit.py>

# It appears the "server-info.action" is used to trigger confluence into a special setup mode.

self.base_url}/server-info.action?bootstrapStatusProvider.applicationConfig.setupComplete=false"

# then "server-info.action" is used to add an account

def trigger_vulnerability(self):  
status, _ = self.send_request("GET", f"{self.base_url}/server-info.action?bootstrapStatusProvider.applicationConfig.setupComplete=false")  
return status == 200

With the workaround, a bad actor can trigger your confluence into a special setup mode (then all your users will get a 403), but the bad actor will be blocked from adding an admin account.


Tags: confluence-server

cve-2023-22515

server
IFTTT update drop-down field value in current record
Asked by Bill Turner:

I have a form with a hidden dropdown field called status. This status field is visible in a table view on another page and displays the label associated to the selected id in the drop down field.

There is an IFTTT macro that attempts to update a the status field with one of its options when a new record is created.   

Macro configuration:

Action to perform: Create/Update confiforms entry

Parameters: entryId=\[entry.id\] \& status=1

1 being the id that is associated to the label 'pending'

My issue is that the macro doesn't appear to actually be setting a value from the drop down, instead it is just setting the field = "1". I can see this because in the table view, manually selecting a value shows the label associated to the id but the IFTTT selection just displays 1 and not the associated label to id=1. How can I make an IFTTT macro select id=1 instead of just setting the field ="1"?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Remove the spaces, so the record id could actually match the records id

```
entryId=[entry.id]&status=1
```

Alex


Tags: confiforms

confluence-server

server
Edit Word Document inside page
Asked by Pablo Mar?n:

Is it possible within a confluence page to create a Word document and be able to edit it within the same page without downloading it?  
Would it also be possible to edit the document collaboratively with other users on the same page?

Do you recommend any plugin?  
Thank you very much for the great help!


Answers:
author: Dan Breyen
body: Hi Pablo, I took a quick look around the community articles, and the Confluence Knowledge articles and I couldn't find anything that referred to being able to create a Word document right from a Confluence page with the base application. There may be some third party program, but I'm not aware of any.


Tags: cloud

confluence-cloud
Cloud Sever (internet) how can Pocket Query query server which is private network? any method.
Asked by keewan lew:

Cloud Sever (internet) how can Pocket Query query server which is private network? any method.


Answers:
author: Marc - Devoteam
body: Hi [@keewan lew](/t5/user/viewprofilepage/user-id/5009806)

Looking at this, you db should be accessible from the Confluence cloud instance.

So this would mean that your company has to make the database running on the private is made accessible from the internet securely so that it's able to be set as a source for pocket query

comments: author: keewan lew
body: noted with thanks


author: keewan lew
body: Any help is great


Tags: cloud

confluence-cloud
Indizierungsproblem | Indexing problem
Asked by Fabian Tabelander:

Seit ?ber einem Jahr erleben wir in unserer Confluence-Instanz wiederholt ein Indizierungsproblem, das zu Abst?rzen f?hrt. Der Indexvorgang wird aufgrund von Korrupten Datenbankdateien oder ?hnlichem ?berlastet. Dies hat zu wiederholten Abst?rzen und einer Beeintr?chtigung der Benutzererfahrung gef?hrt. Trotz mehrerer Versuche, das Problem zu l?sen, besteht es weiterhin.

Wir ben?tigen dringend Unterst?tzung, um dieses Problem zu diagnostizieren und eine dauerhafte L?sung zu finden, um die Stabilit?t unserer Confluence-Instanz wiederherzustellen.

Vielen Dank im Voraus f?r Ihre Unterst?tzung.

-------------------------------------------------------------------------------------------------

For over a year, we have been repeatedly experiencing an indexing issue in our Confluence instance that causes crashes. The indexing process is overloaded due to corrupt database files or something similar. This has resulted in repeated crashes and a degraded user experience. Despite several attempts to resolve the issue, it still persists.

We urgently need support to diagnose this issue and find a permanent solution to restore stability to our Confluence instance.

Thank you in advance for your support.


Answers:
author: Chris
body: Hallo,

ich kann dir nur raten, dass du dir die Logfiles durchschaust (Support-ZIP erstellen).

Speziell: Application Logs (atlassian-confluence) um das SQL-Problem mittels Fehlermeldungen eingrenzen zu k?nnen.

L?uft der Health-Check ohne Probleme durch?

LG

Chris

comments: author: Fabian Tabelander
body: Ich habe leider mit confluence in der Art noch nicht gearbeitet daher wei? ich leider nicht wo ich den Health check finden oder wo ich die Log File finde aber ich werde mir dem annehmen ich hoffe es gibt im Internet oder in den FAQ eine Erkl?rung.

danke vorerst f?r Ihre Hilfe

LG Fabian


author: Chris
body: Den Health-Check findest du in den Admin-Settings auf der linken Seite im unteren Drittel (Problembehebungs- und Support-Hilfsmittel). Im Untermen? kannst du dann ?ber den Reiter: "Support-Zipdatei erstellen" einen .ZIP Export durchf?hren.

Wichtig sind hier die Application Logs -\> atlassian-confluence (hier vor allem nach SQL Errors und Warnungen suchen).

LG  
Chris


Tags: server
Does any Rest API to get a comment user name?
Asked by Sagnik Mukhopadhyay:

How to get the author name of inline and footer comments on pages and blog posts with REST API


Answers:
author: Peter Van de Voorde
body: Hi [@Sagnik Mukhopadhyay](/t5/user/viewprofilepage/user-id/5208388) ,  

Check out these REST API endpoints: <https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment/#api-pages-id-inline-comments-get>   

There is an authorID in the response from that REST API.  

Cheers,  
Peter

comments: author: Sagnik Mukhopadhyay
body: [@Peter Van de Voorde](/t5/user/viewprofilepage/user-id/781487) Yes, we get the author ID but we can't retrieve the author's name. Can you tell me what API is used for the author's name?


Tags: cloud

confluence-cloud
Where is my blog draft?
Asked by Elena Williams:

Confluence has changed for me this week.

I regularly am working on several blog posts and these used to sit at the top of the list of published blog posts.

Now they are just gone, I know I can access them via recent \> draft and then looking through my drafts, but where are \*just\* blog drafts gone? This is so much more arduous and hidden.

I was happy. I had a workflow around the way the tool worked. Now it's gone/changed and I am unhappy. Classic.


Answers:
author: Elena Williams
body: Who was angry about the way the blog displayed before? Why has this been done?


Tags: cloud

confluence-cloud
Confluence End of Life or end of support would support plugins like draw.io
Asked by SMKsmk:

we are using confluence 7.2.1 in our own standalone server and we are not looking for new features or security updates. So in this case, would I need to know the below points .

After the EOL or EOS of confluence would supported plugins(already installed plugins) are work or not. for like

1. draw.io would work or not.

2. could able be accessible the confluence portal or not ?


Answers:
author: Bastian -drawio Diagrams-
body: Hi there, thanks for your inquiry. Confluence Server and all the apps that run inside of Confluence Server are managed within a licensing model. So you own the software and can use it as long as you wish. From February 25th 2024 on, you won't have product support anymore, including bug and security fixes etc. (because the Server deployment won't be supported in general). But you will still be able to use draw.io, as you own a license that entitles you to do so. What we recommend is to update your Confluence instance to a version between 8.0.0 and 8.6.0 before February 2024 to make sure you have the latest version with all the fixes and features that we included up to that day.

comments: author: SMKsmk
body: Thanks Bastian for your response and advice.


author: M?rten Woxberg
body: Isn't 8.6 only on Datacenter?


author: SMKsmk
body: Hi Bastian,

Please help me to upgrade from Confluence Server 7.2.1 to 8.6.0.

Is there any document or steps to follow?


author: Bastian -drawio Diagrams-
body: Hi there. No documentation needed, you need admin rights to access the Configuration Settings in Confluence. If you then click on the option *Manage Apps* in the left panel (you might have to expand it first) you see a list of all apps installed. Choose draw.io and click *Update*. That's it :D


author: SMKsmk
body: Hi Bastian,

Thanks for your response.

Actually i was asked for upgrade the confluence server not Draw.io.

Upgrade from Confluence Server 7.2.1 to 8.6.0.

Waiting for your advice.

Thanks,

SMK


author: Bastian -drawio Diagrams-
body: If your question is around upgrading Confluence itself, please have a look at the Atlassian documentation on Confluence upgrades: <https://confluence.atlassian.com/doc/upgrading-confluence-4578.html>

Sincerely,  
Bastian


Tags: confluence-server

server
Why UI Data is getting deleted daily?
Asked by Prateek Mangal:

I have created spaces on the confluence UI and it is getting deleted automatically the next day i'm login, how can i check the auditing for my account who has access or who is deleting the data. Why data is not keeping saved?


Answers:
author: Nic Brough -Adaptavist-
body: Trial systems work the same as licenced systems, they are the same software, the licence only controls how many people can use it, although for free (not trial) systems, some functionality is disabled or simplified.

Confluence does not have anything that automatically deletes data. A human (or a remote system set up and run by a human) is deleting, or possibly restricting, your pages.

As an admin, log in and look at who else has access to your system. A simple "fix" is to remove everyone else, then see who yells at you for taking it away. A more in-depth fix would be to remove everyone else's administrative access, and their delete permission in the spaces you are working with.

comments: author: Prateek Mangal
body: Thank you for your Response!

I did what you have mentioned above and related to permission , for few days data did not got delete now again at specific time around - 19:30:24 , in Audit logs - Event Type Public Link , Public link for select space is disabled and then space got deleted automatically. ![Screenshot_SapceDelete.png](https://community.atlassian.com/t5/image/serverpage/image-id/288170i4E0C94FEDDCC9EA0/image-size/large?v=v2&px=999 "Screenshot_SapceDelete.png")


author: Nic Brough -Adaptavist-
body: Ok, this is telling us that you are deleting the spaces.

You will only see this in the logs if you are deleting the spaces manually, or you have set up a script or automation to delete spaces while running with your account.

Have you shared your login with someone else?


author: Prateek Mangal
body: Getting Error - The audit log is an Atlassian Access feature. To see audit log activity, you need to have an Atlassian Access subscription.

FYI - I am using Trial subscription , could this be the reason data getting deleted at EOD?


author: Fabio Racobaldo _Herzum_
body: Hi [@Prateek Mangal](/t5/user/viewprofilepage/user-id/5336862) and welcome,

as a confluence administrator you can go on the Administartion-\>Audit Log and verify who performed that action.

Hope this helps,

Fabio

comments: author: Prateek Mangal
body: Getting Error - The audit log is an Atlassian Access feature. To see audit log activity, you need to have an Atlassian Access subscription

FYI - I am using Trial subscription , could this be the reason data getting deleted at EOD?


Tags: cloud

confluence-cloud
Why is it now impossible to edit text that has a comment without the comment popping up in the way?
Asked by Rob Bl:

For about the last week, it's been impossible to touch any text that has a comment without the comment popping up and remaining in the way no matter what.

A week ago:

* click the commented text
* read the comment
* click the \[X\] to close the comment
* Click anywhere within that commented text to edit the text

Now:

* click the commented text
* read the comment
* click the \[X\] to close the comment
* click within the commented text to edit
* Comment pops back up, covering part of the text I was trying to edit
* click the \[X\] to close the comment
* click within the commented text to edit
* Comment pops back up, covering part of the text I was trying to edit
* ...and so on

It's been made impossible to interact with the text without the comment popping up and getting in the way.

Anybody know if there's a way around this new behavior? It's making it impossible to edit without resolving the comment.

EDIT: If this is the way it's going to be now (terrible idea), at least make the comment overly MOVEABLE so I can edit the text it's connected to!

EDIT 2: It's also now apparently impossible to page through comments while in Edit mode. You have to exit to Read Only before you can page through all the comments.

EDIT 3: And apparently the new Comments don't save what you type so you can no longer be typing a response, accidentally click away, then come back and resume your reply. I just lost about 80 words in a comment reply because of an errant click. Now I have to start all over.

This update is *really*ticking me off.


Answers:
author: Rob Bl
body: It's also now apparently impossible to page through comments while in Edit mode. You have to exit to Read Only before you can page through all the comments.


Tags: cloud

confluence-cloud
Can I customize which fields to import to a whiteboard from Jira?
Asked by David Overoye:

When i import jira tickets into the new whiteboard, it appears to give a default set of fields. I'd like to select which fields to show, for example being able to see story points is important when doing sprint planning, but it doesn't appear when i import a ticket to the whiteboard


Answers:
author: Christina Ristevski
body: Hey [@David Overoye](/t5/user/viewprofilepage/user-id/3031762) totally hear you on this one, we've received similar feedback before - it is currently not possible today. However, in the future we'd like to be able to give users the option of configuring which fields are shown on Jira smart link cards.

comments: author: Rooshen
body: Hi [@Christina Ristevski](/t5/user/viewprofilepage/user-id/3700391)

is there a project somewhere where we can request this feature / vote for it if it exists already?

also looking for the same functionality at the moment.

Thank you


author: BrosseauDamien _Consultant_
body: Hi [@Christina Ristevski](/t5/user/viewprofilepage/user-id/3700391) , is there any update qbout this feature ? Thank you !


Tags: cloud

confluence-cloud
Interim license to complete a migration of one Space to the Cloud
Asked by Peterson, James:

Our organization has Premium support for the Confluence Cloud. We have a single space remaining on the on-premise Confluence server. We need a short-term license to upgrade the server version to a version supported by the migration. Atlassian has not responded to a request for assistance in this matter or any other request we have submitted in the past. Of course, Atlassian does take phone calls so we are at a stalemate. Again, a poor support model. I'd like like to discuss this problem with a product manager or a VP.


Answers:
author: Peterson, James
body: I'm getting a response now. Wow.


Tags: cloud

confluence-cloud
Use of table or layouts in custom default space
Asked by Lucas Verza:

I'm trying to make a custom default space that includes one table and a 3-layout-space. After saving it in the configuration page, even creating a new space even in a new project and it opens like a blank space. Otherwise, if I copy all the page to the new blank space, it keeps, so it makes me think that is a bug or generating a space using a custom default with many details dont work


Answers:
author: Brant Schroeder
body: [@Lucas Verza](/t5/user/viewprofilepage/user-id/5336595) Welcome to the Atlassian community

Can you provide the steps that you are taking so I can try and recreate the issue you are having?


Tags: cloud

confluence-cloud
Forge Macro
Asked by Lee Parvin:

Hi there

Im creating a custom macro (eg Pet) using Forge and Confluence Cloud,

For the code eg

```
`const App = () => {  // Retrieve the configuration  const config = useConfig() || defaultConfig;  // Use the configuration values  return <Text>{config.name} is {config.age} years old.</Text>;};`
```

How do I return custom HTML code eg \<div\>{more html code}\</div\>. If I place DIV statements in the return code, then the confluence editor displays an error message.

Thanks

Lee


Answers:
author: Dugald Morrow
body: Hi [@Lee Parvin](/t5/user/viewprofilepage/user-id/5333880) ,

The best place to ask this is in the Atlassian Developer Community with the [Forge Custom UI and UI Kit category.](https://community.developer.atlassian.com/c/forge/ui/63)

However, you should note that Forge UI Kit looks like React JS, but it isn't. This means that you need to use Forge UI Kit components and can not, for instance, insert \<div\> elements.

For more details, you can visit the [Forge developer documentation](https://developer.atlassian.com/platform/forge/getting-started/).

Regards,

Dugald


Tags: cloud

confluence-cloud