youngmon/atlassian-qna huggingface dataset:
Public link toggle not visible in site settings
Asked by Ties Van der Linden:

I want to turn on public links for one of my spaces but when I go to site settings -\> global permissions, there is no where for me to turn on public links. I saw in the community before someone had to open a ticket with the atlassian team to fix this but I can't find where to create such a help ticket, would love to hear about solutions or if someone from the atlassian team could turn this on for my org. I am org admin btw


Answers:
author: Barbara Szczesniak
body: [@Ties Van der Linden](/t5/user/viewprofilepage/user-id/5314413) Welcome to the Atlassian Community!

According to this weeks release notes (<https://confluence.atlassian.com/cloud/blog/2023/09/atlassian-cloud-changes-sep-4-to-sep-11-2023#AtlassianCloudchangesSep4toSep11,2023-confluence>), public links are not yet available to all Cloud users, but should be rolled out this year along with a new feature to be able to toggle them on/off for an individual space, rather than your entire site.

comments: author: Ties Van der Linden
body: Thank you Barbara, is there a way to get notified (to your knowledge) when this is available to all users or do I need to continuously check the release notes? Thanks!


author: Barbara Szczesniak
body: I saw this today because I signed up to get an email with release notes. There may be a related Jira ticket that you could watch for updates. You can search in the Confluence Cloud Jira project here: <https://jira.atlassian.com/issues/?filter=115463>


Tags: cloud

confluence-cloud
Confluence and Slack
Asked by Louise G Godwin:

Can you link up comments made in Confluence with Slack?


Answers:
author: Teodora V
body: Hi [@Louise G Godwin](/t5/user/viewprofilepage/user-id/5314438)

I believe you can fine-tune your Slack notifications via Atlassian's app Confluence Cloud for Slack: [https://marketplace.atlassian.com/apps/1219518/confluence-cloud-for-slack?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219518/confluence-cloud-for-slack?hosting=cloud&tab=overview)


Tags: cloud

confluence-cloud
I can't get all the spaces using api on python
Asked by Zhinoo Zobairy:

```
import requests

import csv

import base64

# Define your Confluence Cloud API URL

base_url = ""

# Replace 'your-email' and 'your-api-token' with your email address and API token

email = ""

api_token = ""
```

```
# Create a list to store all spaces

all_spaces = []

# Initialize 'next' URL for pagination

next_url = base_url

while next_url:

# Combine email and API token with a colon separator

credentials = f"{email}:{api_token}"

# Encode credentials using UTF-8 encoding

credentials_bytes = credentials.encode("utf-8")

# Base64 encode the credentials

credentials_base64 = base64.b64encode(credentials_bytes).decode("utf-8")

# Construct the "Authorization" header with the base64-encoded credentials

headers = {

"Authorization": f"Basic {credentials_base64}",

 }

# Make the GET request to the next URL

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

# Check if the request was successful (status code 200)

if response.status_code == 200:

space_data = response.json()

spaces = space_data["results"]

all_spaces.extend(spaces)

# Check if there are more pages

next_url = space_data.get("next")

else:

print(f"Error: {response.status_code} - {response.text}")

break

# Create a CSV file and write the header

with open("confluence_spaces_xom.csv", mode="w", newline="") as csv_file:

fieldnames = ["Space Key", "Space Name"]

writer = csv.DictWriter(csv_file, fieldnames=fieldnames)

writer.writeheader()

# Write space data to the CSV file

for space in all_spaces:

space_key = space["key"]

space_name = space["name"]

writer.writerow({"Space Key": space_key, "Space Name": space_name})

print("Spaces exported to 'confluence_spaces_xom.csv'")
```


Answers:
author: Ansar Rezaei
body: Hello Zhinoo,  

Make sure that you have the latest version of the atlassian python api.

```
pip3 install --upgrade atlassian-python-api
```

Then try this code:

```
from atlassian import Confluence
import csv

confluence = Confluence(
    url='https://yoursite.atlassian.net',
    username = "your_email", 
    password = "your_token",
    cloud=True)

spaces = confluence.get_all_spaces(start=0, limit=500, expand=None)
slist = spaces['results']

csv_filename = 'confluence_spaces.csv'

with open(csv_filename, mode='w', newline='') as csv_file:
    csv_writer = csv.writer(csv_file)

    csv_writer.writerow(['Key', 'Name'])

    for s in slist:
        csv_writer.writerow([s['key'], s['name']])

print(f'Data exported to {csv_filename}')
```

You can read the Atlassian Python API documentation here for more information.:  

<https://atlassian-python-api.readthedocs.io/>  

I hope it helps.


Tags: cloud

confluence-cloud
Can't get the list of all spaces using the confluence api
Asked by Zhinoo Zobairy:

```
Although I am a confluence-admin, I still can't get the api using python. So here is my snippet:
```

```

import requests

import csv

import base64

# Define your Confluence Cloud API URL

base_url = "https://axelspringer.atlassian.net/wiki/rest/api/space"

# Replace 'your-email' and 'your-api-token' with your email address and API token

email = "....."

api_token = "...."

# Create a list to store all spaces

all_spaces = []

# Initialize 'next' URL for pagination

next_url = base_url

while next_url:

# Combine email and API token with a colon separator

credentials = f"{email}:{api_token}"

# Encode credentials using UTF-8 encoding

credentials_bytes = credentials.encode("utf-8")

# Base64 encode the credentials

credentials_base64 = base64.b64encode(credentials_bytes).decode("utf-8")

# Construct the "Authorization" header with the base64-encoded credentials

headers = {

"Authorization": f"Basic {credentials_base64}",

}

# Make the GET request to the next URL

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

# Check if the request was successful (status code 200)

if response.status_code == 200:

space_data = response.json()

spaces = space_data["results"]

all_spaces.extend(spaces)

# Check if there are more pages

next_url = space_data.get("next")

else:

print(f"Error: {response.status_code} - {response.text}")

break

# Create a CSV file and write the header

with open("confluence_spaces_xom.csv", mode="w", newline="") as csv_file:

fieldnames = ["Space Key", "Space Name"]

writer = csv.DictWriter(csv_file, fieldnames=fieldnames)

writer.writeheader()

# Write space data to the CSV file

for space in all_spaces:

space_key = space["key"]

space_name = space["name"]

writer.writerow({"Space Key": space_key, "Space Name": space_name})

print("Spaces exported to 'confluence_spaces_xom.csv'")
```


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

there is a specific rest api to retrieve all space in your instance <https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get>

Hope this helps,

Fabio


Tags: cloud

confluence-cloud
Help automating JIRA ticket creation on Confluence Page Publish
Asked by adam.felsch:

Hi,

I am wanting to automate the creation of JIRA initiatives when new pages are published under a specific parent page and have a specific label of "merchant_integrations"

Have created a button on the mentioned parent page which creates a templated requirements doc of sorts which is also auto-labelled

Can get it working without the specific IF conditions but adding those in causes it to not work.

Any suggestions?

![Screenshot 2023-09-12 at 5.04.57 pm.png](/t5/image/serverpage/image-id/280064i5FAA3B2612663EB3/image-size/large?v=v2&px=999 "Screenshot 2023-09-12 at 5.04.57 pm.png")


Answers:
author: Alex Koxaras _Relational_
body: Hi [@adam.felsch](/t5/user/viewprofilepage/user-id/5314219) and welcome to the community,

Parent will **search for child content of a particular parent page**. So that's why your CQL fails. Try the following:

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

Where you should replace my page id with your parent id.

Let me know if that worked!


Tags: automation

cloud

confluence-cloud

jira
Copy table from confluence to email with Jira links, user names, etc retained
Asked by sarah.kralovec:

I need to copy the table I created in confluence into Outlook to send to others on my team, but every way I've tried, I lose a lot of information:

* Jira ticket status and links
* User name links

It feels like I'm missing something. Can anyone please help?


Answers:
author: TC Wang
body: Hi [@sarah.kralovec](/t5/user/viewprofilepage/user-id/5314017) welcome to the community!  

Perhaps you can try the following:  

\* Copy (the table) from the page source. You can find more details [here](https://community.atlassian.com/t5/Confluence-questions/Copy-from-Confluence-and-paste-in-Outlook/qaq-p/1526837).  
\* [Export](https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html#:~:text=If%20you've%20got%20permission,still%20working%20on%20the%20page.) the Confluence page to PDF/other formats.   

Hope the above helps!

comments: author: sarah.kralovec
body: Oh thanks so much for the response. Page source didn't work but strangely exporting first to word, copying from there and pasting in an email did. Wild, but true. Thanks!


author: TC Wang
body: No prob. Glad that worked out!


author: Konstantin _DSR Corporation_
body: Hey there,  

This plugin should work like a charm for your use case: <https://marketplace.atlassian.com/1234910>


Tags: cloud

confluence-cloud
How to get Jira Component using the Confiform using Jira issue field
Asked by Sanket Salvi:

I am trying to get the the JIRA details in Confluence using Confiform Jira Issue Field but not able to get the correct syntax for the component. I am placing the fieldname as fieldname.fields.components.name but no luck. Can anybody tell me where am i going wrong?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Sanket Salvi](/t5/user/viewprofilepage/user-id/4555808)

This is a correct expression

See this little demo, I have 2 components set in the issue

![Screenshot 2023-09-12 at 09.20.53.png](https://community.atlassian.com/t5/image/serverpage/image-id/280049iFAAEE38C8EC50DDD/image-size/large?v=v2&px=999 "Screenshot 2023-09-12 at 09.20.53.png")

<http://recordit.co/uvEXFLjJui>

Alex


Tags: cloud

confiforms

confluence-cloud
Slack Notification permissions in Confluence
Asked by Alex Sramek:

I've noticed that anyone with only view and comment access to my space can add and edit Slack notifications, including editing ones that I've created.

Is there any way to modify these permissions? It seems odd that someone who doesn't even have Add access to my space can both add a Slack notification regarding one of my pages, and also edit MY Slack notifications.


Answers:
author: Vronik
body: Hi

Look at this

<https://support.atlassian.com/confluence-cloud/docs/use-slack-and-confluence-together/>


Tags: cloud

confluence-cloud
without license the excel spread sheet can import from system to confluence?
Asked by Senthamilselvan:

without license the excel spread sheet can be imported from system to confluence?  
![Screenshot_16.png](/t5/image/serverpage/image-id/280005i93FF94E473EB1009/image-size/large?v=v2&px=999 "Screenshot_16.png")


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Senthamilselvan](/t5/user/viewprofilepage/user-id/5107192) You'd most probably need a license for that, that is what the error message is indicating. You can reach out to Elements support to confirm:

* [Submit a support request](https://support.elements-apps.com/)


Tags: cloud

confluence-cloud
Recurring error in Confluence logs
Asked by Jeramy:

This morning our Confluence instance crash and while it was restarting, I started looking at the logs and discovered this error message 28 times.

```
2023-09-08 18:53:44,817 ERROR [http-nio-8090-exec-925] [[Standalone].[localhost].[/].[action]] log Servlet.service() for servlet [action] in context with path [] threw exception
java.lang.NullPointerException: Deflater has been closed
at java.base/java.util.zip.Deflater.ensureOpen(Unknown Source)
at java.base/java.util.zip.Deflater.deflate(Unknown Source)
at java.base/java.util.zip.Deflater.deflate(Unknown Source)
at java.base/java.util.zip.GZIPOutputStream.finish(Unknown Source)
at java.base/java.util.zip.DeflaterOutputStream.close(Unknown Source)
...
```

I've done some research, but I cannot seem to find a solution or a reason why it occurs.

Any suggestions?

Thank you.


Answers:
author: Brant Schroeder
body: [@Jeramy](/t5/user/viewprofilepage/user-id/5099791) Have you cleared the plugin/app cache? You can also try restarting after you put it in safe mode to see if the issue still exists.

comments: author: Jeramy
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) - I have not tried clearing the cache files yet. Unfortunately, I still see this error after restarting the Confluence service.

I will try that to see if it fixes the issue.

Thank you.


author: Brant Schroeder
body: [@Jeramy](/t5/user/viewprofilepage/user-id/5099791) did that resolve the issue?


author: Jeramy
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) - I will have to doublecheck. I lost track of time and moved onto different things. Thanks for checking up. :)


author: Brant Schroeder
body: [@Jeramy](/t5/user/viewprofilepage/user-id/5099791) if this worked to resolve the issue could you accept the answer to help others?


Tags: confluence-server

server
I don't see the copy option on my tool bar?
Asked by Sreedevi Dasari:

I do not see 'copy' / 'paste' options on my confluence tool bar. How can I get them?


Answers:
author: Dan Breyen
body: Hi [@Sreedevi Dasari](/t5/user/viewprofilepage/user-id/5313877) welcome to the community. Based on this community article, [CopyCutPaste](https://community.atlassian.com/t5/Confluence-questions/Copy-cut-paste-columns-in-confluence-table-new-editor/qaq-p/1021686) they are not in the new editor, but you can still use Ctrl-X / Ctrl-C / Ctrl-V for Cut/Copy/Paste. You also have the Right-Click Copy options.

There a is a Jira suggestion for this on Atlassian's jira page(jira.atlassian.com). Feel free to vote for and watch here [CONFCLOUD-67594](https://jira.atlassian.com/browse/CONFCLOUD-67594) for further updates.


Tags: cloud

questions-for-confluence
How to integrate Jenkins and Confluence Publisher plugin
Asked by WebAutomationTesting:

I have created a free cloud confluence account and I am trying to integrate it with Jenkins.

I installed Jenkins Confluence Publisher 156.vf3597ca_9cf27 plugin

Jenkins Version is 2.387.3

I have created an API Token in Confluence

I added the API Token as Secret Text in Jenkins Credentials

I have tried to use the credential in Jenkins -\> Configure System but I have an error like following

\`\`\`  
Failed to login  

```
com.atlassian.confluence.api.service.exceptions.NotFoundException
	at com.atlassian.fugue.Option$2.getOrThrow(Option.java:389)
	at com.atlassian.confluence.rest.client.AbstractRemoteService.lambda$getFuture$0(AbstractRemoteService.java:82)
	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:131)
	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:74)
	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:82)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
	at java.base/java.lang.Thread.run(Thread.java:829)
```

\`\`\`  

![image](https://europe1.discourse-cdn.com/business20/uploads/jenkins/optimized/2X/1/14e8a52160d040218566bf06d54c116e585d2d7a_2_690x361.png)  

I also tried to create Credentials in Jenkins like username - password

I also tried to create Credentials in Jenkins like email - password

I also tried to create Credentials in Jenkins like userId - password

all of them returning the same error in Jenkins -\> Configure System page when I try to configure Confluence Sites

Additional information; Jenkins instance runs on docker container. I have created certificate and added to Jenkins credentials even but no luck.

Different Jenkins and plugin versions are not working as well.


Answers:
author: karthik Panuganti
body: Initially, we faced a similar issue following steps fixed the issue in our case.  

* Firewall issue, which is more of a connection timeout.
* Adding NAT ip address on Atlassian Ip allowlist.
* Using the correct confluence URL in our case https://\<organization\>.atlassian.net/wiki
* Using the correct authentication "user_email_address" and "access token".


Tags: cloud
Can I use variables for macro names while creating a template?
Asked by sridhar vaidyanathan:

I am creating a template where I am using several Table Excerpt macros which all need to share a common prefix. I tried using a Name=$prefix_name, while setting up this Table Excerpt macro but that doesn't seem to work as I expected. Is there a way to get these macro names to use a variable? If so, how would I do that?


Answers:
author: Stiltsoft support
body: Hi [@sridhar vaidyanathan](/t5/user/viewprofilepage/user-id/5137415) ,

Unfortunately, can't think of anything to help your case. The Table Excerpt/Table Excerpt Include macros are not supposed to work with native Confluence template variables.

comments: author: sridhar vaidyanathan
body: Thank you. I workaround around this requirement.


Tags: cloud

confluence-cloud

filter

table
Export Post Incident review to confluence template
Asked by Michael:

Does anyone know if its possible to change the template when it exports ?


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Michael](/t5/user/viewprofilepage/user-id/4355727) can you explain further on what you are trying to achieve? if you want to edit the Post Incident review template in Confluence then yes that is possible:

* <https://support.atlassian.com/confluence-cloud/docs/edit-a-global-template/>

comments: author: R?bert Szab?
body: I think Michael is referring to this function of JSM:

<https://support.atlassian.com/jira-service-management-cloud/docs/create-and-publish-a-post-incident-review/>

And how to modify the PIR Confluence export template.


Tags: cloud

confluence-cloud
Accessing the site
Asked by Mark A Parker:

Wondering about access to the site. Is it as easy as just signing up and making an account?


Answers:
author: Teja
body: Hi [@Mark A Parker](/t5/user/viewprofilepage/user-id/5313766)

Welcome to Atlassian Community!

Confluence is a SaaS based tool and you can just sign up for an account and start exploring the tool.

However confluence comes with different [pricing and plan](https://www.atlassian.com/software/confluence/pricing)for your reference.

Please accept the answer if this helps you.

Thanks,

Tejaswini


Tags: cloud

confluence-cloud
How to add due dates for card's each checklist using butler?
Asked by Navin Kumar:

I am trying to add the due dates for each checklist in a card automatically based on the card start/end dates but could not find a way to do that.


Answers:
author: milynnus
body: [@Navin Kumar](/t5/user/viewprofilepage/user-id/3012707)

[@Dreamsuite Mike](/t5/user/viewprofilepage/user-id/5153180) 's idea is quite interesting

I have just converted an older implementation to adjust checklist item due dates ..en masse and made it into an app <https://deta.space/discovery/@milynnus/taco_bump>

it addresses cases.


author: Dreamsuite Mike
body: I'm not sure if this will work for you, its a very simple example:

1. Create a custom date field
2. Automation: "When card due date is set, set the Date custom field to {cardduedate}"
3. Automation: "When an item containing ?{\* } is added to checklist Tasks, set the item due on date in custom field "Date" minus {wildcard1} days  

   ![Screenshot 2023-02-21 224036.png](https://community.atlassian.com/t5/image/serverpage/image-id/241588i0BBC9B8F662C3BD6/image-size/large?v=v2&px=999 "Screenshot 2023-02-21 224036.png")  

   ![Taskdates.gif](https://community.atlassian.com/t5/image/serverpage/image-id/241587iBF5DCC016D608A47/image-size/large?v=v2&px=999 "Taskdates.gif")

This could be enhanced to pull in pre-configured checklists

Personally I would probably go down the route of converting the checklist items into linked cards, which opens up a lot more flexibility
Trello Gmail Add on not working
Asked by Jesse Turner:

I have about 5 users currently using this Trello gmail addon and they have been using it for a while now, however it no longer works, it shows to login but then it pops open a windows saying something went wrong try again later. Is Trello addon no longer supported or is something down?


Answers:
author: Cody C.
body: Hi Jesse! We've been seeing this a fair amount recently too.

We rely on a specific bit of Google's code for that portion, and it's not quite working as expected. We have a ticket open with Google engineering and we're hoping they can help with a fix as soon as possible.

In the interim, we've seen some users have success when they retry again later, but unfortunately it's pretty sporadic. This add-in is still supported though! It's unfortunately a bit of a waiting game right now.


Tags: gmail
Card Face Custom Fields White Text
Asked by Enertech:

Hello, it appears that the custom fields on our cards face are now white text. Previously they were black.

All I can see on the face is the Cover color and "Title" field.

As you can see the top image is if I highlight over the card, and the bottom image is just a normal view of the card.

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


Answers:
author: Francisco Duron
body: We are also having the same issue

comments: author: Andrew Carlson
body: Same issue


author: Richard Godfrey
body: Same here - just logged in and all our data cant be seen on the cards - big issue!!!


author: Braeleen Ballard
body: I have a colleague experiencing the same issue, but so far it is only affecting him, and not the entire team.


author: Lara Gibb
body: Same Issue... Unable to read due to white font.


author: Braeleen Ballard
body: We had 2 people experience this. Logging out and back in fixed the problem for them.


author: Francisco Duron
body: Seems the issue has been fixed on our end.


author: Pamela Gerstner
body: same issue here i cant find what the problem is :(


author: Richard Godfrey
body: Same as above - logged out fully and after re-login the cards are back to black font ... had also raised as a fault to Atlassian so maybe they've un-done what they did!


Tags: custom-field

text
I can't see my cards in my lists...I typed a shortcut by accident
Asked by Irene Duma:

Hi, I miss-typed and must've hit a keyboard shortcut by accident, and now the Lists on one of my boards have all shrunk to be just one little box at the top, and all it has in the box is the Title of my List, and under it it says the number of cards under it: e.g. "4 cards" -

But I can't figure out how to get the view to look regular again, and I can't even open these cards!  

What have I done?

is there a History or Revisions to go back to a previous version?

What kind of view is this? and what is it good for?   

Help! yes, I hit z a number of times. I looked in the activity, I see nothing.


Answers:
author: Irene Duma
body: I found it in a Facebook Group for trello. It was a filter.


author: Irene Duma
body: anybody?