youngmon/atlassian-qna huggingface dataset:
Migrate Confluence to Cloud & Auth
Asked by Albert Manuel:

Hi there,

We are running an old version of the confluence server, which haven't been updated since 2018 - now we will want to move to the cloud, what are the prerequisite to do this:

- Do we first need to update to the latest version?

- We have AD Server and Okta as authentification - how will the users authenticate in the cloud?

Thanks


Answers:
author: Ramona Scripcaru
body: Hey [@Albert Manuel](/t5/user/viewprofilepage/user-id/1194936) !

You do not need to be on the latest version to migrate Confluence to Cloud, but you do need to be on a minimum supported version for this migration and that is 5.10, as long as you are on this version, you do not need to upgrade, but if you aren't, you will require to perform an upgrade first.

Regarding the user authentification, you can connect your AD or OKTA with Atlassian Access that will act as the bridge between your IdP and Atlassian Cloud.

Sharing below some resources I find extremely useful.

**Resources**:

* <https://support.atlassian.com/migration/docs/confluence-cloud-migration-assistant-supported-versions/>
* <https://www.atlassian.com/software/access>
* <https://www.atlassian.com/migration/plan/cloud-guide>

Cheers,

Ramona


author: Hank42
body: Why in the world would you want to move to Confluence Cloud?

comments: author: Albert Manuel
body: It's a company decision - we will go with jira also in cloud, but first confluence.


Tags: confluence-server

migration

server
Using the JIRA Macro
Asked by April Hawley:

I've got multiple JIRA macros on one Confluence page so that I can pull in different portions of my JIRA ticket into a confluence page. Is there a way to update all the macros at once so that I don't have to update each macro individually?


Answers:
author: Fabian Lim
body: Hi [@April Hawley](/t5/user/viewprofilepage/user-id/4621869)

Unfortunately, I don't think this is possible. You will have to update all of them separately.

Regards


Tags: confluence-server

server
Banner in Confluence getting cut off
Asked by leah.hunter:

My banner, no matter what I resize the image to, is getting cut off. Anyone else have this issue?


Answers:
author: Marjorie
body: [@leah.hunter](/t5/user/viewprofilepage/user-id/4098921) can you give more details. What is the size of picture? Screen shot? What type of image?


author: Fabian Lim
body: Hi [@leah.hunter](/t5/user/viewprofilepage/user-id/4098921)

Can you please share a screenshot and the content of your banner?

Regards


Tags: announcement-banner

cloud

confluence-cloud

page
Dynamic page title
Asked by ??????? ?????????:

How can you implement dynamic data substitution in page headers (For example, so that when creating a page from a template, the header is created with the name of the space)?


Answers:
author: Fabian Lim
body: Hi [@??????? ?????????](/t5/user/viewprofilepage/user-id/2070698)

You may have to use some scripting plugins for confluence to accomplish this.

Example: powescripts for confluence or scriptrunner for confluence.

Regards


Tags: confluence-server

server
I am planning to migrate the confluence server to another server instance but the one that I am mig
Asked by Priyanka khare:

Hello,

I am planning to migrate the confluence server to another server instance but the one that I am migrating is integrated with JIRA and has application links, which I don't want to lose. Can anyone please suggest what should be done to not lose these links?

Also, if there is anything extra that anyone can suggest which will help me in doing this migration smoothly

Regards,

Priyanka


Answers:
author: Thomas Deiler
body: Dear [@Priyanka khare](/t5/user/viewprofilepage/user-id/4074999) ,

Confluence will get a new host name. So for Confluence links, that point to Jira, its not a problem. They work as before - Jira URL did not change. But the reciprocal links will fail. To fix the links in Jira pointing to a new Confluence URL, follow this [Atlassian KB article](https://confluence.atlassian.com/jirakb/applinks-fail-when-copying-jira-and-confluence-to-other-environments-856843626.html).

Note: If you would move Jira (Conflunce stays) to another server [this article](https://confluence.atlassian.com/confkb/how-to-bulk-update-jira-issue-macro-to-point-to-a-different-jira-instance-596771463.html) would help.

So long

Thomas


Tags: atlassian-support

confluence-server

migration

server
Restrictions
Asked by Sara:

We are having some access-issues in a page in Confluence, that has happened before. Hope you can help.

There is an employee's personal space in confluence, where the employee set up the settings: anyone on confluence can view and edit. But one of our colleagues doesn't have access to that page.

When I click on the lock, and check the Inspect permissions, it shows our colleague as : Pol Cirujeda can't view or comment on this page because they're **denied permissions on 1 level.**

**How can we change this?? Thanks in advance**


Answers:
author: Max
body: Hi Sara,  
Check out the documentation: <https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/>

Maybe this will help you.


Tags: cloud

confluence-cloud
Approval request email notification
Asked by Mariusz Pakuszewski:

Is there any setting in Confluence to get email notification if anyone choose me as a content approver? I do not get such email notifications now....


Answers:
author: Patrick Haley
body: I think you can set this up with the Confluence app for Slack.


author: marc -Collabello--Phase Locked-
body: This function is not built into Confluence. There are a couple of addons on the marketplace (e.g. [Document Control for Confluence Cloud](https://marketplace.atlassian.com/apps/1217765/document-control-for-confluence-cloud?tab=overview&hosting=cloud) ) which offer this functionality.

We built this addon for this usecase, and there are also some other addons with their pros and cons available.
Why does \\ in folder paths turn into \
Asked by Anne Haumann:

We have had this issues for some weeks now.

Everytime we have a folder path like:

\\\\c69n056\\capital\\Data\\Equity......

On the Confluence page, the first "\\" disappear, so it appears as:

\\c69n056\\capital\\Data\\Equity......

It I go back to edit mode, I can see, that there are 2 "\\"'s. So it is only in non-edit-mode, that the first "\\" disappear.

It is quite annoying, since we cannot copy and open the folderpaths unless there are two "\\"'s.


Answers:
author: Bill Bailey
body: I think you are seeing the escape character.

[unable-to-use-some-characters-like-backslash-223904158.html](https://confluence.atlassian.com/confkb/unable-to-use-some-characters-like-backslash-223904158.html)
sharing a draft
Asked by alex.ragen:

I want to share a draft (edited, closed but NOT published) page with specific people on the product team, not with everyone. Can I do this, and if yes, how? Thanks.


Answers:
author: Marjorie
body: [@alex.ragen](/t5/user/viewprofilepage/user-id/4621563) I would copy it to a personal space, publish locally to that space, and then share with the users you want by creating a team and adding them to team. Allow team access to the space.


author: Roy Raz
body: I know it's an old subject, but maybe someone else will benefit more options of doing what you needed.

You can also do with 2 more valid ways:

1. Create a new page and wrap everything with a Show If macro. Then simply select the users that you want to see it. The rest will see an empty page.

2. Use the Restricted option (lock icon on the top of the page) to hide the entire page from everyone except those who need it


author: marc -Collabello--Phase Locked-
body: I believe there are 2 ways to accomplish this:

1. Just keep the page as draft, and share a link to the page. When someone the clicks "edit", they will see the draft.
2. Open a separate "Draft" space, and share the pages in this draft space with the specific people. Once a page is ready, move it into the published space.


Tags: cloud

confluence-cloud
Filter issues by label and include their children regardless of their labels
Asked by Tami Dubi:

Hi, I am looking for a method to filter pages containing a specific label and include their child pages regardless of their labels in the Confluence cloud.

I am starting an archiving and approval process, and based on the parent page, the children's pages' "fate" will be decided.

Thanks

Tami


Answers:
author: Ismael Jimoh
body: Hi [@Tami Dubi](/t5/user/viewprofilepage/user-id/4516201)

Can you please clarify what you mean here?

Are we speaking of Jira or Confluence? Issues are a term for Jira and pages are for Confluence. I'm not sure if your usage here are as per terms you use internally but as a standard Issues is a reserved term for Jira.

Also when you say filtering, confluence has a search and I'm unaware of it having filters which makes the whole description very confusing.

Clarify this and we will see how we can help.

comments: author: Tami Dubi
body: Hi,

Exactly updated my question. I am referring to the Confluence cloud and Confluence pages.


author: Ismael Jimoh
body: Thanks for the clarification. To my knowledge confluence doesn't have a functionality of showing you child pages of a page via a search even under advanced search. The option open to you is to add the same label to the child pages.

Regards.


Tags: cloud

confluence-cloud
Reverse proxy configuration for synchrony problem
Asked by Neil Anthony Morada:

Hi All,

We jut encountered synchrony error on our confluence. Our confluence was installed in our server. After searching some troubleshooting method in confluence, I saw this link on how to check the status of our synhrony.

<https://confluence.atlassian.com/confkb/how-to-check-the-status-of-synchrony-for-confluence-data-center-953651062.html>

And I did some methods on it like this:

    <confluence-base-url-without-context-path>/synchrony/heartbeat>

`I typed this on our browser and a ` "Page Not Found"` appeared.`  

`As said in this method, `If the above URL directs you to a Confluence page stating "Page Not Found": There is a misconfiguration of your reverse proxy which is directing the `/synchrony/*` traffic to your Confluence webserver instead of your Synchrony server.

Now, can I ask how to reconfigure our reverse proxy for our synchrony problem? Thank you!


Answers:
author: Nic Brough -Adaptavist-
body: Synchrony needs to use "websockets". I'm not going to pretend I understand the mechanisms that describes, but I do know how to make it work through a proxy. I tend to only work with Apache2 (and you need to be on 2.4 or above for this to work)

This system has offloaded the SSL to Apache, and the Apache is serving up a site made of several services, so it's got somewhere.com as the main page, and somewhere.com/jira for their Jira, somewhere.com/docs as their Confluence and so-on.

Their Apache2 is running on their web-server, and Confluence internally on the server 192.168.1.144:8090

So...

# Confluence proxy pass

ProxyPass /docs <http://192.168.1.144:8090/docs>  
ProxyPassReverse /docs <http://192.168.1.144:8090/docs>

# Synchrony as it's got a few funnies

ProxyPass /synchrony <http://192.168.1.144:8091/synchrony>  
\<Location /synchrony\>  
Require all granted  
RewriteEngine on  
RewriteCond %{HTTP:UPGRADE} \^WebSocket$ \[NC\]  
RewriteCond %{HTTP:CONNECTION} Upgrade$ \[NC\]  
RewriteRule .\* ws://192.168.1.144:8091%{REQUEST_URI} \[P\]  
\</Location\>

I'm not sure how to translate that to nginx or a load balancer off the top of my head, but hopefully it might give you some pointer!  

comments: author: Neil Anthony Morada
body: Hi [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454)   

Thank you for this information. I will try to work on this.


Tags: confluence-server

server
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Asked by Aryaka IT:

Atlassian Confluence: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CVE-2021-37412)  
The TechRadar app 1.1 for Confluence Server allows XSS via the Title field of a Radar.

We don't see any plugin installed, how to verify if its removed completely.


Answers:
author: Brant Schroeder
body: [@Aryaka IT](/t5/user/viewprofilepage/user-id/992370) I would suggest using the KB to manually remove the app from the plugins folder if you are concerned that it could still be causing an issue. <https://confluence.atlassian.com/confkb/how-to-manually-remove-malfunctioning-add-ons-113705118.html>

comments: author: Aryaka IT
body: We have verified the server plugin folders and confluence DB as per the above URL descriptions and could not find the "Tech Radar" app/plugin . Please advise how to troubleshoot further.


Tags: confluence-server

server
Curl request to update the page gives BadRequestException: A page with this title already exists: A
Asked by atalwar:

I'm trying to update a page. while running the curl request it gives me an error

```
BadRequestException: A page with this title already exists: A page already exists with the title
```

Code:-

```
echo '{"id":"xxxxxx","type":"page","title":"'${releaseVersion}'","space":{"key":"~xxxxxx"},"body":{"storage":{"value":"'$TEXT'","representation":"storage"}},"version":{"number":'$PAGE_VERSION'}}' > update1.json

 curl -u 'xxxxxx@xxxxxx.xxxx:xxxxxxx' -X PUT -H 'Content-Type: application/json' -d '@update1.json' https://xxxxxx.xxxxx.net/wiki/rest/api/content/xxxxxxx | python -mjson.tool

 rm update1.json
```

If I change the title to something NEW it creates a NEW PAGE. However, I don't want a new page, I want to update the same page.


Answers:
author: marc -Collabello--Phase Locked-
body: If you want to update the same page, you need to increment the version number, see <https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-id-put> .

comments: author: atalwar
body: Hi Marc,

I'm incrementing the version by 1. However, I keep the title as same.

```
"title":"'${releaseVersion}'"
```

Keeping the title as the same gives an error that the page already exists.


Tags: cloud

confluence-cloud
Jira Issue/Filter refresh intermittently fails
Asked by shelly:

The Jira filters we added to our Confluence pages frequently do not load. The refresh spins until it times out. This happens about 30% of the time.

We are using Jira Cloud. Any idea how to fix this when it happens?


Answers:
author: Fabian Lim
body: Hi [@shelly](/t5/user/viewprofilepage/user-id/4017534)

This is a known issue with atlassian for years. Link: <https://jira.atlassian.com/browse/CONFCLOUD-54985>

My recommendation is to separate the information into different pages to decrease the load. I.e. don't pull 1000 jql issues into a page.

Regards

comments: author: shelly
body: Thanks for the info, Fabian.

Our filters are pulling 20-30 records, and we have no more than 3 filters per page. The problem is intermittent. Since we're on Jira Cloud, maybe it's happening during high usage periods. I hope Atlassian is aware and monitoring so they address the issue.


Tags: cloud

confluence-cloud
Embedded video playback issues
Asked by Mili Herrera:

When I first embedded an internal video to the blog it plays fine, I am able to move across the video and select where I want to star playing it, after publishing it two things happen:

-The video never load and stays on "generating preview"

-The video will start playing when pressing on play but I am unable to scroll and chose where I want it to start playing from, and if I try it will go back to the beginning.

Can you please let me know if there is a way that the video can play with no issues and that I am able to scroll through the video without it going back to the beginning and choosing where to start and to replay a particular section

Thank you


Answers:
author: Owen Wallis
body: Hi [@Mili Herrera](/t5/user/viewprofilepage/user-id/4614277) I'm from the Media team (looking after files and images).

Looks like when you upload you are seeing the local preview.

After you publish we process the file (creating thumbnails, checking its in a format other people can see). This can take a few minutes sometimes before the file is ready.

I think that's what is happening here. Let me know what you think!

comments: author: Mili Herrera
body: Hi Owen,

Thank you for your reply.

The issue repeats itself only after I refresh the page, after publishing I am able to scroll through the video once, if I refresh the page or close out of it then the issue begins, I have let the whole video load yet I continue to be unable to scroll trough it, if I try to move along the video it will go back to play from the beginning.

Thanks


author: Owen Wallis
body: Hmm, very strange. We seem to be talking on the same timezone - so happy to jump on a call and figure out what is going on.

You can find a time with me here <https://calendly.com/owallis>


author: Mili Herrera
body: Hi,

Thank you for that, I will be grateful to jump on a call but I a tied up with meetings today. Can we schedule a call for tomorrow?. I am in New Zealand, I have got messages telling me that my time zone is not correct so just to be sure we are.


author: Owen Wallis
body: Hi, you can use the tool above to find a time when I am free. If I remember it should translate the times (i.e. if you find a slot at 4.30pm your time it means it has found a slot at 2.30pm my time).


author: Fabian Lim
body: Hi [@Mili Herrera](/t5/user/viewprofilepage/user-id/4614277)

Do you have details on the file you uploaded? What is the size and format?

comments: author: Mili Herrera
body: Hi Fabian,

The files are MP4 files that range from 251,569 to 2,278,707 KB.

Thank you


Tags: cloud

confluence-cloud
PAGE ID RELATED ERROR
Asked by samarth adhikari:

I am using the shell script provided in [Using the Confluence REST API to upload an attachment to one or more pages \| Confluence \| Atlassian Documentation](https://confluence.atlassian.com/confkb/using-the-confluence-rest-api-to-upload-an-attachment-to-one-or-more-pages-1014274390.html) to attach images to a certain confluence page. However, when I run the entire script as a whole on my terminal, I am getting this error: cat: target_page_id.txt: No such file or directory. I double checked the page id I provided and found it to be correct. What is this error due to? Please help me out


Answers:
author: Kishan Sharma
body: Hi [@samarth adhikari](/t5/user/viewprofilepage/user-id/4620832) Welcome to the Atlassian Community!

As mentioned in the document - have you created a text file named **target_page_id.txt** and added list of page IDs in it ? Looks like the file doesn't exist or it is not present at the path you mentioned in the script.

comments: author: samarth adhikari
body: Thanks [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) for your response! Yes now I created a text file and added the page ID to it and it seems to be reading it. However getting these errors for the following lines:

1) Line: ATTACHMENT_TITLE=$(curl -u $USER_NAME:$USER_PASSWORD \\ -X POST \\ -H "X-Atlassian-Token: nocheck" -F "file=@${ATTACHMENT_FILE_NAME}" -F "comment=File attached via REST API" \\ ${CONFLUENCE_BASE_URL}/rest/api/content/${PAGE_ID}/child/attachment 2\>/dev/null \\ \| jq -r '.results\[\].title')

Error: jq: command not found

2) if \[ ${ATTACHMENT_TITLE} = ${ATTACHMENT_FILE_NAME} \]; then

Error: \[: =: unary operator expected

This is the same code given on the page so not sure how these lines are erroring out?


author: samarth adhikari
body: Also, can that same script be used to attach text to a page? I would like to attach test next to an image I upload in a page


author: Kishan Sharma
body: Great that you got it working [@samarth adhikari](/t5/user/viewprofilepage/user-id/4620832)

Once you install jq, you should not see jq command related errors. You can download and install jq from <https://stedolan.github.io/jq/> or else you can modify the code in your preferred coding language.

For adding text to a page you will need to first get content using GET /rest/api/content and then PUT /rest/api/content/{contentId} to update the content of the page. You can refer documentation [on this link](https://docs.atlassian.com/ConfluenceServer/rest/7.14.0/).


author: samarth adhikari
body: Thanks kishan! All errors have disappeared now after I installed jq. But getting the message 'Failed to upload file to page \<page ID\>'. Is it to do with my credentials? I double checked my username, password, page ID and others. ![jq error.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/167899iA4E0BA76E612479D/image-size/large?v=v2&px=999 "jq error.PNG")


Tags: confluence-server

server
I've recently signed up to Atlassian, but now my desktop app won't work?
Asked by Rob Halhead:

I type in my email, go to sign in then it reverts back to a 'sign up' page for Trello instead of taking me to my boards. Does anyone know how to resolve this issue?


Answers:
author: Ang?lica Luz
body: Hello Rob,

Welcome to Atlassian Community!

Just to make sure that your Atlassian account was correctly created, please go to id.atlassian.com and try to log in.

Also, you mentioned about the desktop app, does it work if you log in on web version? Have you also tried the mobile app?

Regards,  
Ang?lica
Getting notified about adding an item to checklist
Asked by hassan_karimi:

Hi  
Is there any way that i get notified who has added an item to a checklist that has been made before? I mean how can i get notification who has added or deleted an item?


Answers:
author: Iain Dooley
body: [@hassan_karimi](/t5/user/viewprofilepage/user-id/3825454) this Butler command will notify all card members when a checklist item is added to any checklist:

![2020-03-24 at 8.51 pm.png](https://community.atlassian.com/t5/image/serverpage/image-id/87684i65EE849EAF28C808/image-size/large?v=v2&px=999 "2020-03-24 at 8.51 pm.png")

comments: author: hassan_karimi
body: thank you very much.
2FA in Trello does not ask for a code
Asked by Erwin_Welbergen:

We have turned on 2FA in Trello but the system does not ask for a code after the first login on a machine (PC or phone).

Is this intentional and how do we turn this off?


Answers:
author: Keli
body: Hi [@Erwin_Welbergen](/t5/user/viewprofilepage/user-id/3825343)

Hm, no, this doesn't sound like expected behavior. Can you reach out to us at <http://www.trello.com/contact> using the email address associated with your 2FA Trello account? We'll look into this with you!


Tags: 2-factor-authentication