youngmon/atlassian-qna huggingface dataset:
Can Organizations Link their AD to Confluence to Set Space Permissions via the Active Directory?
Asked by chris.grom:

Hi,

One of our managers asked if we could assign 'space' permissions using our own company's AD (Active Directory) credentials with Confluence Cloud. I read this support page, but found no AD related options:

<https://support.atlassian.com/confluence-cloud/docs/assign-space-permissions/>

Is this method of setting restrictions currently available?

Thank you.


Answers:
author: Carla Ann Rowland
body: No, this is not possible.


Tags: cloud

confluence-cloud
I am using a Python script to extract Confluence cloud space and permission data via the API
Asked by Steve Test:

Hi, I have a requirement to extract all space data and group permissions for all global confluence spaces on my instance. I have written a Python script, from various sources on the internet but I cannot get it to work. I would really appreciate if someone could cast an eye over it and let me have any feedback on where I am going wrong.

I need the script to:

* Pull in Space data for all global spaces
* Pull in group permission data for each one
* Print the results to a csv file

Here is my script so far:  

```
import requests
import csv
import base64

# Confluence API credentials and domain
api_token = 'my api token'
email = 'my email'
domain = 'my domain'

# Basic Authentication
auth_string = f'{email}:{api_token}'
token = base64.b64encode(auth_string.encode()).decode('utf-8')
headers = {
    'Authorization': f'Basic {token}',
    'Accept': 'application/json'
}

# Get space data
def get_global_spaces():
    url = f'https://{domain}/wiki/api/v2/spaces?type=global'

    response = requests.get(url, headers=headers)
    if response.status_code == 200:
        return response.json()['results']
    else:
        print(f"Failed to fetch spaces: {response.status_code}")
        return []

# Get permissions data for each space
def get_group_permissions(space_id):
    url = f'https://{domain}/wiki/api/v2/spaces/{space_id}/permissions'

    response = requests.get(url, headers=headers)

    if response.status_code == 200:
        permissions = response.json()['permissions']

        return [perm for perm in permissions if perm['principal']['type'] == 'group']
    else:
        print(f"Failed to fetch permissions for space ID {space_id}: {response.status_code}")
        return []

# Write the results
def main():
    spaces = get_global_spaces()
    data = []

    for space in spaces:
        space_id = space['id']
        space_name = space['name']
        group_permissions = get_group_permissions(space_id)
        for perm in group_permissions:
            data.append([space_id, space_name, perm['operation']['key'], perm['operation']['operation']])

    with open('confluence_spaces_group_permissions.csv', 'w', newline='', encoding='utf-8') as file:
        writer = csv.writer(file)
        writer.writerow(['Space ID', 'Space Name', 'Group Name', 'Permission'])
        writer.writerows(data)

    print("Data exported to confluence_spaces_group_permissions.csv")

if __name__ == "__main__":
    main()
```


Answers:
author: Mohamed Benziane
body: Hi,

do you have an error message ?


Tags: api

cloud

confluence-cloud

python
Is there a way to suppress or minimize the tool bar that appears at the bottom of the whiteboard?
Asked by Joan Milewski:

I would like to suppress or minimize the tool bar that appears at the bottom of the whiteboard. That is the large tool bar with the hand, select and other editting options. It is taking up a lot of space on the whiteboard screen and is cumbersome to work around. Appreciate your feedback. Thanks!


Answers:
author: Laurie Sciutti
body: Hi [@Joan Milewski](/t5/user/viewprofilepage/user-id/4629219) \~ I'm not seeing a way to do this either, nor is there much info in the documentation. As this is still in Beta, you might want to provide Feedback so that this can be rolled into a future release (click the ellipses in the upper-right of your whiteboard page and select "Give feedback"). HTH

comments: author: Joan Milewski
body: Hi Laurie! I appreciate your thoughtful feedback. I went to the '...' at the upper-right of the whiteboard page and don't see the feedback option. I have only 'copy, move, archive, delete, help, join and keyboard shortcuts'. The feedback option doesn't seem to appear on any of my pages.


author: Laurie Sciutti
body: Interesting! I don't see it in mine anymore \~ it was there yesterday! You may want to submit a Support request for guidance on this one, [@Joan Milewski](/t5/user/viewprofilepage/user-id/4629219) .


Tags: cloud

confluence-cloud

whiteboard
Atlassian Companion won't upload changes back into Confluence
Asked by Jennifer Fox:

I've made changes to documents stored in Confluence- mainly content updates and am able to click upload, but it doesn't actually upload back into Confluence. It just says "uploading" with literally now progress being made. Here's a screenshot of 2 files that have been trying to upload for approx. 4 hours.

![confluence error.PNG](/t5/image/serverpage/image-id/302035i15618642B6AC12A3/image-size/large?v=v2&px=999 "confluence error.PNG")


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@jennifer_fox](/t5/user/viewprofilepage/user-id/5412731) and welcome,

for my knowledge Companion App was removed from Confluence cloud a couple of years ago (<https://community.atlassian.com/t5/Confluence-articles/Removing-the-Companion-app-from-Confluence-Cloud/ba-p/1884657>).

Fabio


Tags: cloud

confluence-cloud
C3RB3R how to recover instance
Asked by Diego Villagra:

Hello, my confluence server was affected by the ramsonware commented. Is there any guide o recomendations to recover an instance infected?

I have a 3 months old backup. If i could recover some files i could start the confluence again? without do a full reinstall ?

It is neccesary to do a full reinstall?, i have to do with a clean linux installation? or just confluence ?

can i use the actual database?

thanks in advance.


Answers:
author: Kian Stack Mumo Systems
body: [@Diego Villagra](/t5/user/viewprofilepage/user-id/4011136),

There are some websites out there which claim to be able to recover the data. I haven't used them personally, but you could potentially look into them. The ideal scenario would be to restore from the last good state that you have. I understand that a backup from 3 months ago is not ideal, but if you cannot decrypt the file, there may not be another choice.

Have you checked to see if your DB is intact? I believe when they attack they actually overwrite your DB as well..

comments: author: Diego Villagra
body: [@Kian Stack Mumo Systems](/t5/user/viewprofilepage/user-id/853673) , i checked the database and it seems is working, i could see the information in some tables without any strange.

Do you remember some site?, i will try to install again confluence, but keeping the database and using my old data folder backup.

Thank you.


author: Kian Stack Mumo Systems
body: I would google it. Again, I don't actually know whether or not they can decrypt them, it was just something that came up when I was researching the bug.

If your database is still functional that is good news, but I seem to recall that they restore a blank backup which effectively overwrites your site and database.


Tags: confluence-server

server
Timeline Roadmapping release
Asked by Mahantesh Hooli:

Hi All,

On timepline planning we have release with start date and end date there still time for end date but its saying releaase out of track


Answers:
author: Mahantesh Hooli
body: ERROR ![Screenshot 2024-01-23 213616.png](https://community.atlassian.com/t5/image/serverpage/image-id/301999i10B176EA497162CA/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 213616.png")


author: Mahantesh Hooli
body: the error message


Tags: cloud

confluence-cloud
How can I retrieve the contents on a database element on a page using the REST API?
Asked by James Black:

I have created a database element which I wish to retrieve in a Python script. I am able to GET the page using Python requests as well as the atlassion-python-api. The problem is that I can't figure out how to access the contents of the database in the response and I'm not sure it is even there.

I have seen answers that usually correspond to looking in the response body-\>storage-\>value but this is always empty for me.

Any advice is appreciated.


Answers:
author: David Bakkers
body: Hello [@James Black](/t5/user/viewprofilepage/user-id/5412510)

There are no REST API endpoints for directly accessing the database objects on a page in Confluence.... yet.

Refer to the **Actions** section of [RFC-23 Confluence Databases](https://community.developer.atlassian.com/t/rfc-23-confluence-databases/72445) thread over in the Developers forum, and the subsequent discussion on availability of REST API endpoints.


Tags: cloud

confluence-cloud

database

rest-api
How to extract emails from User field multi select
Asked by Shah:

Hi,

I am new to confiform. I want to extract emails from User field multi select

I have set 2 confiform fields, named multiuser (for capturing users) \& usersemail (as Readonly field to display emails)

I have gone through below article but didnt find field where to use the expression - Can anyone assist?

<https://community.atlassian.com/t5/Confluence-questions/extract-emails-from-User-field-multi-select/qaq-p/2458823>


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Shah](/t5/user/viewprofilepage/user-id/5412477)

Do you want to set the read-only field with an emails of a selected users?

The easiest would be to use a ConfiForms Field Definition Rules

![Screenshot 2024-01-23 at 19.51.41.png](https://community.atlassian.com/t5/image/serverpage/image-id/302041i48788546F52D3132/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 at 19.51.41.png")![Screenshot 2024-01-23 at 19.51.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/302042i252C3BDE91F05148/image-size/large?v=v2&px=999 "Screenshot 2024-01-23 at 19.51.48.png")

usersemail=\[entry.multiuser.transform(email).asList\]

Alex

comments: author: Shah
body: Great! It worked - Thanks Champ.


Tags: confiforms

unknown-hosting-type
Confusion on use of Filter in Confiform
Asked by Stuart Wosika:

Hi guys,

bit confused by the filter when using 'ConfiForms IFTTT Integration Rules' Macro.

I have the following OnCreate event setup which works with the condition set to IHReqTypes.ids.3

\<ac:structured-macro ac:macro-id="c0359fb2-60d4-44af-afe8-f6350982f61d" ac:name="confiform-ifttt" ac:schema-version="1"\>  
\<ac:parameter ac:name="condition"\>IHReqType.ids:3\</ac:parameter\>  
\<ac:parameter ac:name="action"\>Add Page Label\</ac:parameter\>  
\<ac:parameter ac:name="event"\>onCreated\</ac:parameter\>  
\<ac:parameter ac:name="title"\>\[entry.pageId2.id\]\</ac:parameter\>  
\<ac:parameter ac:name="extras2"\>prospect\</ac:parameter\>  
\<ac:rich-text-body\>

BUT

my record has already been created with another OnCreated event so I was expecting that I would have to use the stored entry with \[entry.IHReqTypes.ids\]:3

I did waste some time working this one out. Not clear to me why the filter would not use \[entry.\].

Can someone explain please?

BR.

Stuart.


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Filetring in ConfiForms... you want to check the field IHReqTypes of a current entry (in context) gaianst the value 3...

Using \[entry.IHReqTypes\] means that you want to retrieve the value from a IHReqTypes field...

Alex


Tags: confiforms

confluence-server

server
How to cut and paste text in the app?
Asked by Adam Sagolla:

How to cut and paste text in the app?

With the standard keys "STRG+X" or "STRG+C" to "STRG+V" it doesnt works.

Can somebody help us and give an advice?


Answers:
author: Nikola Perisic
body: Hello [@Adam Sagolla](/t5/user/viewprofilepage/user-id/5370070) , not sure which key is STRG.

For windows is CTRL + X and CTRL + V

For macos is Command + X and Command + V

comments: author: Adam Sagolla
body: CTRL is in german STRG :)

Yes thanks for your answer. But these keys only work on confleunce in the desktop version, not on the app.


Tags: cloud

confluence-cloud
I have three teams in confluence but cant create any more - is there a limit ?
Asked by Roger Willison-Gray:

Why cant i create a team


Answers:
author: Jack Brickey
body: Hi [@Roger Willison-Gray](/t5/user/viewprofilepage/user-id/5412404) , are you by chance on the Free plan? I wonder if there is a limit in Free. Did you create one or more of the existing plans? If not, it may be a permissions issue.

comments: author: Roger Willison-Gray
body: yes i am on the free version


author: Jack Brickey
body: There may be a limit. I will attempt on my version later to see.


author: Jack Brickey
body: I just did a quick test and it seems to work fine. To be clear you are clicking on the teams drop-down in the menu and selecting create team, correct? What error message or behavior do you observe when you try to create the fourth team?


author: Roger Willison-Gray
body: yes i create a new team but it diesnt save


author: Roger Willison-Gray
body: I have discovered that it does save and I can search for it bu it doesnt appear in the teams menu dropdown


Tags: cloud
Migrate Confluence 6.9.0 to cloud facing issues
Asked by Ankit Jain:

Hi,

We have a on prem confluence 6.9.0 and want to migrate to cloud.We are using it with Solaris OS and Oracle 12C.We need to update many things before we are able to migrate to cloud using CLOUD migration assistant tool.

I am facing these issues, these are the things I have tried till now

Some background of the problem we are facing:  
1.) upgrade path from confluence 6.9 to latest version is not possible due to Oracle DB 12c no longer supported.  
2.) upgrade of Oracle DB from 12c to 19c is not possible because the underlying Solaris OS cannot be upgraded.  
3.) Tried installed CCMA 3.8.0 but it's incompatible.  
4.) Tried export xml of confluence but the backup stop somewhere between 1.0GB - 2.0GB (full size should be around 9.5GB), cannot be use for restoration as it's deem corrupted.

Please tell me how should I migrate?

Asking here because I need alternative instead of pay to atlassian migration team.its exceeding our budget and time is almost over.


Answers:
author: Marc - Devoteam
body: Hi [@Ankit Jain](/t5/user/viewprofilepage/user-id/4875212)

The CCMA is available from version 6.13, this is an LTS version.

I do think this would still support Oracle 12c.

So if you upgrade to LTS version 6.13, you are able to use the CCMA.


Tags: confluence-server

migration-customer-care

server
Confluence Analytics: Information about viewers
Asked by evgenii.kolomoitsev:

Hello team!

I'm looking for the solution for the following inquires:

1) I need to find away how directly to export data (via API or SQL) about page viewers including names \& roles assigned to them in confluence

2) To connect Confluence and Jira, i.e. every time the new comment added within the confluence page -\> create a new Jira ticket

3) To get analytics about Jira ticket: who took a case, how long it took between the ticket_cfeated_time and until the first_response_time, + the AHT of the ticket

Thank you a lor in advance!


Answers:
author: Mattia _bitvoodoo ag_
body: Hello [@evgenii.kolomoitsev](/t5/user/viewprofilepage/user-id/5412293) and welcome.

I'm not sure if there is a ready-made solution for your use case in the [Marketplace](https://marketplace.atlassian.com/).  
If there isn't, the only option is to program a custom solution using the [Confluence API](https://developer.atlassian.com/cloud/confluence/rest/v1/intro/#about) and [Jira API](https://developer.atlassian.com/cloud/jira/platform/rest/v3/intro/#about).

Questions about these APIs and for support are better asked in the [developer community](https://community.developer.atlassian.com/).

Kind regards

Mattia


author: Dmitri Bukovski
body: Hi, not sure whether you use Server(DC) or Cloud, so here are suggestions for Server(DC)

<br />

1. As for page viewers you can use confluence-access logs with entries like "GET /pages/viewpage.action" or "GET /display/", then you can parse them and map to specific spaces or pages. Regarding the user info you can try "GET 'your_url/rest/mobile/1.0/profile/user_id'

3) As for case with ticket analytics I would choose search API and expand "changelog" field, there you will find the info you need. I would also first see what custom fields exist, maybe some of the info is already configured as a separate field there.


Tags: analytics

api

cloud

confluence-cloud

jira

sql
How can I completely unlink a Jira Epic from a Confluence page?
Asked by Petra Hasler:

Hello everyone,   

so we had a page in Confluence that had an Epic linked to it, hence it said "1 Jira Link" on top of the page.   

Now we removed the link from the page because it is not needed any more, but on top of the page "1 Jira Link" is still visible. (see screenshot)

![1 Jira Link Screenshot.PNG](/t5/image/serverpage/image-id/301907iF140E038432D0C8C/image-size/large?v=v2&px=999 "1 Jira Link Screenshot.PNG")

Does anybody know how I can remove this link completely or why this is still shown when the link is not on the page any more?

Thank you in advance and best regards,   
Petra


Answers:
author: Rebekka Heilmann _viadee_
body: Hi Petra,

The "1 Jira link" on top of the page is referring to one incoming Jira Link. So my best guess is, that the Epic still has the Confluence page linked even though it's not mentioned on the Confluence page itself.

Linking between Confluence and Jira is bidirectional. So you can create a link on either End and deleting one side, doesn't delete the other.

comments: author: Petra Hasler
body: Ah I see! Thank you for your answer Rebekka!


author: Marc - Devoteam
body: Hi [@Petra Hasler](/t5/user/viewprofilepage/user-id/5037413)

Remove the issue on the Confluence page, via editing the page and remove the link on the Epic issue to the Confluence page in Jira


Tags: cloud

confluence-cloud
Bring in confluence knowledge base pages into external application
Asked by Shubham Ambekar:

We are planning to use the confluence knowledge base, and bring the knowledge base to our application.

When a user clicks on the widget, the user can find and access all relevant info and documents in the widget without leaving the application.

To develop such integration I want to know the feasibility of it and what are all possible way to do?

If we develop a custom widget in our app can we fetch all documents or info using REST API....is this the way?

Please suggest possible ways I would appreciate.


Answers:
author: Max Foerster - K15t
body: Hey [@Shubham Ambekar](/t5/user/viewprofilepage/user-id/5323490) , welcome to the community!

First of all, let me compliment you on your decision to maintain your documentation in Confluence! ? Before you run off now, make your Confluence instance public and develop your own widget that makes the content in your app available to the user; I would like to propose an alternative solution.

As a Marketplace partner, we at K15t offer a solution called [Scroll Viewport for Confluence](https://marketplace.atlassian.com/apps/1211636/scroll-viewport-for-confluence?hosting=cloud&tab=overview). It enables you to publish your documentation from Confluence to a customizable online help center (public or with authorized access) with improvements to the content (Formatting, SEO), a powerful Elastic search, and integrations with our document management app to offer you docs in different versions and variants to your users. And the big advantage is that you don't have to make your Confluence available to customers.

To get a feel for what I mean, just take a look at the [Atlassian documentation](https://confluence.atlassian.com/alldoc/atlassian-documentation-32243719.html), our own [app documentation](https://help.k15t.com/), or [this documentation center from our customer Emplifi](https://docs.emplifi.io/platform/latest/home/).

Why the long intro? You can use Viewport to embed your documentation in your app in various ways, namely via a widget or iframes. I'll link you to two articles from our documentation that explain both approaches.

* [Embed In-App Help](https://help.k15t.com/scroll-viewport/how-to-embed-in-app-help)
* [Using iframes to Implement Custom In-App Help](https://help.k15t.com/scroll-viewport/advanced-in-app-help-customizations#AdvancedIn-AppHelpCustomizations-UsingiframestoImplementCustomIn-AppHelp)

Perhaps this is an easier way to achieve your goal. If you have any further questions, I will be happy to help you. :) Have a great day!

Best, Max


Tags: cloud

confluence-cloud
Can Confluence Groups be imported or integrated from Google Workspace?
Asked by Chonnakan Thammawichan:

I want to create a group in Confluence that is the same as a group in Google Work Space, so I want to know if it is possible to connect data between Confluence and Google Work Space.


Answers:
author: Nikola Perisic
body: Welcome to the community [@Chonnakan Thammawichan](/t5/user/viewprofilepage/user-id/5412072)

You may want to refer to this page: <https://community.atlassian.com/t5/Confluence-questions/Confluence-amp-Google-Drive-Integration/qaq-p/2438322>


Tags: cloud

confluence-cloud
Confluence Space to space migration
Asked by Ethan:

we are preparing to migrate confluence space by space and we have found different plugin\\macros in both the confluences, and we know when we migrate it will show as content not found when a macro is missing for that we have to go for edit of the page and fix it accordingly. this is all manual work

Do we have any automation process for this to reduce manual effort


Answers:
author: Brant Schroeder
body: [@Ethan](/t5/user/viewprofilepage/user-id/5107136) are you migrating the space between instances or is it on the same instance?


Tags: confluence-server

server
Page name error - Export
Asked by Peter John Delle ALTA:

Hello,

can you please help me as I am trying to export a page on my Confluence cloud?

This is the error showing when trying to publish it..

![Confcloud.png](/t5/image/serverpage/image-id/301868i058C75ED4BE28F8F/image-size/large?v=v2&px=999 "Confcloud.png")


Answers:
author: Jeroen Poismans
body: Hi there and welcome to the Atlassian Community!

Somewhere in your space, there is a page with exactly the same name (title). This is not possible in Confluence. Try prefixing the page with some text, making it unique and try publishing again.

Regards

comments: author: Jeroen Poismans
body: Here is a related article:

<https://community.atlassian.com/t5/Confluence-questions/How-to-create-two-pages-with-the-same-name-in-different/qaq-p/875755>

There is an example there somewhere like this:
> **Product X**
>
> * Intro
> * Pricelist
> * How to use
>
> **Product Y**
>
> * Intro
> * Pricelist
> * How to use

Here you would also have non-unique page name, but you could fix it like this:
> **Product X**
>
> * X \| Intro
> * X \| Pricelist
> * X \| How to use
>
> **Product Y**
>
> * Y \| Intro
> * Y \| Pricelist
> * Y \| How to use

Hope this helps!


Tags: cloud

confluence-cloud