youngmon/atlassian-qna huggingface dataset:
HTML edited in pdf layout is not working
Asked by Saidmurod Saidkhonov:

I'm trying to add an image to the header of the page and added HTML code to header block in "Space Settings -\> Look and feel -\> Pdf Export". However when I export the page I don't see anything on the header of the page:  
![image.png](/t5/image/serverpage/image-id/165870i672472130CFCDA0D/image-size/large?v=v2&px=999 "image.png")


Answers:
author: Brant Schroeder
body: [@Saidmurod Saidkhonov](/t5/user/viewprofilepage/user-id/4605473) Welcome to the Atlassian community

For the image can you please use the full URL and see if that resolves the issue. Documentation can be found here: <https://support.atlassian.com/confluence-cloud/docs/advanced-pdf-export-customizations/>

comments: author: Saidmurod Saidkhonov
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) Thank you for your response.  
Yes I've already tried that but nothing is shown. I think it's ignoring html code at all. I tried testing just texts, but that also not showing. Or am I missing something?


author: Brant Schroeder
body: [@Saidmurod Saidkhonov](/t5/user/viewprofilepage/user-id/4605473) I followed the directions listed in the link above and was able to get it to work. I had to make sure that I provided width and height on the image. It also will only work on full site exports and not page exports just in case you are doing a page export to pdf.


author: Brant Schroeder
body: Forgot to mention that this was key:

Follow these instructions to include an image on your page:

1. Attach the image to a Confluence page.

2. View the list of attachments on that page, then right-click the image and copy its location.

3. Paste the link into the appropriate src="" attribute in your PDF Stylesheet, as shown above.

4. Edit the image URL so that it is relative, by removing the first part of the URL before /download/....


author: Saidmurod Saidkhonov
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) Yes I'm doing a page export not full exports. Is there a way that it works for a page export?


author: Brant Schroeder
body: I do not believe so. I believe there are some apps in the marketplace that can help with that. [https://marketplace.atlassian.com/search?hosting=cloud\&product=confluence\&query=PDF%20export](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=PDF%20export)


author: Saidmurod Saidkhonov
body: [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) Thank you! You helped a lot.


Tags: cloud

confluence-cloud
KeyError on login
Asked by Faisal Ladak:

Hello All,

This could be a newbie question. I am trying to use Python to read the page content using the following code. My Confluence instance is on-prem. Please advise why I am getting the KeyError.

from atlassian import Confluence  
import os  
from bs4 import BeautifulSoup  
import pandas as pd

user = "name@confluence.mydomain.com"  
api_key = os.environ\["mytoken"\]  
server = "<https://confluence.mydomain.com/whateverpage>"

confluence = Confluence(url=server, username=user, password=api_key)  
page = confluence.get_page_by_id(page_id=123456)

```
\Anaconda3\lib\os.py in __getitem__(self, key)    673         except KeyError:    674             # raise KeyError with the original key value--> 675             raise KeyError(key) from None    676         return self.decodevalue(value)    677 
```


Answers:
author: Fabian Lim
body: Take a look at this post. It provides more details on what you need to do: <https://community.atlassian.com/t5/Confluence-questions/Confluence-API-How-get-page-content-with-Python/qaq-p/1459259>


Tags: api

authentication

confluence-server

login

python

server
Is there a way to control the Expand Macro through URL parameters or read permissions?
Asked by J4n5chmiddi:

Question is in the title, but it is planned that, depending on the logged in user or via URL parameters, another expand block will open. And the others remain closed. Are there one or more ways to do it?  

Kind regards  
Jan


Answers:
author: Bill Bailey
body: IFRC, the expand macro is controlled via client side script that is a part of the macro. I don't know of anyway of controlling its state via URL


Tags: confluence-server

expand

macro

server
Confiforms: Send E-Mail with variable image in mail body
Asked by Jan Priebe:

Hello Community,

I am in need for help regarding Confiforms:

With an IFTTT I am able to send an email for newly created records. I also managed to attach files using the attachments picker field type, easy.   
Is there any way to get images sent within the email body? Using the method mentioned above, images will be sent as attachments to the mail. We are using Outlook/Exchange - I am not really sure if my wish can be fulfilled by any setting or configuration in Confiforms anyway.. Thanks in advance for any hint :)


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Files (and images) are sent as attachments. We dont support inline images in ConfiForms at this point

Alex

comments: author: Markus Hintzsche
body: It's a pitty :-( Are there any plans to do so? I'm currently facing the same issue. I want to send a confluence-Page (that contains images) per Mail with Send Mail IFTTT and Include Page Macro.


author: Alex Medved _ConfiForms_
body: To be clear - you can send emails that have rich text contents, including images.

However, images in this case are not sent with the email message body, but are "external contents".

My earlier answer was about embedded images (where an email is sent with a rich contents and the images are embedded right into the contents)

Alex


author: Fady Mousa
body: Hi [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630) Is there any update so far on this matter??


author: Alex Medved _ConfiForms_
body: What "update" are you looking for to get?


author: Fady Mousa
body: i mean if its possible now to sent an Email with a rich contents and the images are embedded right into the contents??


author: Alex Medved _ConfiForms_
body: You can send emails with a rich contents - emails sent via ConfiForms are always in HTML format

Alex


Tags: confiforms

confluence-server

server
During Installation System not running
Asked by Ralf Thmas:

### Cause {#toc-hId-1285650703}

com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: java.lang.IllegalStateException: Spring Application context has not been set  
at com.atlassian.spring.container.SpringContainerContext.getComponent(SpringContainerContext.java:48)


Answers:
author: Robert Wen_ReleaseTEAM_
body: Ralf:

Take a look at this knowledgeable article: <https://confluence.atlassian.com/confkb/confluence-does-not-start-due-to-spring-application-context-has-not-been-set-218278311.html>


Tags: confluence-server

server
Notifications without watching
Asked by Julie Peuten:

I created a few pages other people are working on. Im not working on or watching these pages, I didn't click the favorisation button or anything else. Either way..Im getting a lot of system notifications. No emails but for every change on a page i created i get a notification... help! Does anyone knows this problem?


Answers:
author: Kishan Sharma
body: Hi [@Julie Peuten](/t5/user/viewprofilepage/user-id/4604433) Welcome to the Atlassian Community! By default, Confluence will assign you as a watcher of any page or blog post that you create or edit. This behavior is called 'autowatch'. You can turn autowatch on or off, and set other notification options, in the email settings section of your user profile. See [Edit Your User Settings](https://confluence.atlassian.com/doc/edit-your-user-settings-1016023.html).

comments: author: Julie Peuten
body: Hi [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) thanks for your answer. Yes i know about autowatch and turned it off. The pages are not in my watchlist or anywhere else where it could cause these notifications. That is what drives me crazy :D


author: Kishan Sharma
body: Can understand, we can't do much about those unwanted notifications, I have recently discussed about similar case on [this thread](https://community.atlassian.com/t5/Confluence-questions/Stop-receiving-notifications-for-unwatched-pages-that-I-created/qaq-p/1795331) If you are a standard/premium plan user, I would suggest raising a support ticket to Atlassian to see if there's way we can disable notifications from pages where you are the author and no longer want to receive notifications about it on cloud.


author: Julie Peuten
body: Alright. Thanks :)


author: Kishan Sharma
body: Please also post here if you find a solution :)


Tags: cloud

confluence-cloud

notification
How to remove all watches from page programatically
Asked by JET CM Folks:

Hey everyone,

We have a space in our Confluence instance that contains sensitive data that has specific rules around getting sent via e-mail. Since there isn't a good way to natively set watches for a specific Space/Page I'm looking into periodically removing watches programmatically.

I have a way to gather all URLs that have watches, including the page ID, I just need a way to use this information to remove all watches from them.

Here's the SQL to gather the URLs that contain watches in our Controlled space:

```
SELECT um.username,
CONCAT ('https://www.ourjira.com/wiki/pages/viewpage.action?pageId=', c.contentId) AS URL,
c.title,
s.spacename,
c.contentID
FROM NOTIFICATIONS n,
user_mapping um,
SPACES s,
CONTENT c
WHERE n.contenttype = 'page'
AND n.contentID = c.contentID
AND um.user_key = n.username
AND c.spaceID = s.spaceID
AND s.spacename = 'Controlled';
```

This results in a table similar to the following:

|------------------|-----------------------------------------------------------------------|-----------------------------------|------------|-----------|
| watcher_username | page_url                                                              | page_title                        | page_space | page_id   |
| user1            | <https://www.ourjira.com/wiki/pages/viewpage.action?pageId=205094967> | 01-06-2016 Sustainment WG Minutes | Controlled | 205094967 |
| user2            | <https://www.ourjira.com/wiki/pages/viewpage.action?pageId=204603402> | 01-06-2016 Sustainment WG Agenda  | Controlled | 204603402 |


Answers:
author: Kishan Sharma
body: Hi [@JET CM Folks](/t5/user/viewprofilepage/user-id/1067569) You can remove watchers from a page by using DELETE method to REST API endpoint - /rest/api/user/watch/content/{contentId}

Please refer [this link](https://docs.atlassian.com/ConfluenceServer/rest/7.14.0/#api/user/watch-removeContentWatcher) for the documentation.


Tags: confluence-server

rest-api

server

watch
OfficeWord View Doc does not display properly in Edge/Chrome but does in Firefox
Asked by Prakash Paniker:

When viewing an Office document that has been attached in Confluence, the contents of the document do not completely show when using the ViewDoc

A 10 page document will have blank pages on pages 3 and 4 when viewed in Chrome or Edge but when viewing the same thing in Firefox, all the pages display correctly

Is there a setting specific to Firefox to allow this or does Confluence not work as well in Chrome?


Answers:
author: Kishan Sharma
body: HI [@Prakash Paniker](/t5/user/viewprofilepage/user-id/1808277) Chrome/Safari/Firefox/Edge(chromium) are all supported browsers. From the issue description i think It could be some compatibility issue and would suggest [raising a ticket with Atlassian Support](http://support.atlassian.com/contact) to advise. Please also post here if you get the solution to this problem.


Tags: confluence-server

server
BAckup Export in Confluece not works. Timeout BAd Gateway
Asked by Ralf Thmas:

Hello,

if i want Backup. i get always an Timeout

![Screenshot 2021-10-20 120404.jpg](/t5/image/serverpage/image-id/165795i24CC0ED6AD6FB932/image-size/large?v=v2&px=999 "Screenshot 2021-10-20 120404.jpg")


Answers:
author: Kishan Sharma
body: Hi [@Ralf Thmas](/t5/user/viewprofilepage/user-id/4323243)

If you repeatedly experience timeout errors, try creating the export directly from the server. This will speed up the process and prevent timeouts.

For example, use this URL: <http://localhost:8090/confluence/admin/backup.action> . directly from your server.

Also refer [this thread](https://community.atlassian.com/t5/Confluence-questions/Timing-out-when-trying-to-backup-Confluence-even-by-going/qaq-p/1217863) for a helpful answer.

comments: author: Ralf Thmas
body: in sandbox i copied sever with more ram . But if i click on Backup nothing is happen !


author: Kishan Sharma
body: Do you see any errors in application logs ?


author: Ralf Thmas
body: i upgraded to 7.13 than Backup works !


author: Kishan Sharma
body: Great, that's quite strange though, but glad that you were able to resolve it by upgrading confluence.


author: Jobin Jose
body: [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) How can I trigger this url in a Linux VM where no GUI is present.


author: Kishan Sharma
body: Hi [@Jobin Jose](/t5/user/viewprofilepage/user-id/3223043)

There is already a suggestion raised with Atlassian - [Add REST API endpoint for generating space exports](https://jira.atlassian.com/browse/CONFSERVER-40457)   

Although deprecated, you may still use the [RPC-API](https://confluence.atlassian.com/conf613/enabling-the-remote-api-964961434.html) to export the entire Space, you will find some examples/workarounds on the suggestion.


author: Jobin Jose
body: [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) Thanks for your response. Looks like when you export a space, the .zip file is placed at Confluence the \\local-home\\temp\\ folder. We can copy the backup from the node directly.


author: Ralf Thmas
body: Hello our 7.13 cradhed. I am again on 6.15.4 and not works.


Tags: confluence-server

server
Notifications not working
Asked by Martin_Apostolov:

Hi,

I have tried 100 of settings and I cannot make Trello send me any "live" notification on my devices. Can you help me set up Trello so I can get a notification when something happens to a board or a card that I am watching?

My setup:

- Trello free version

- A board that I am watching

- A card where I am watching and I am a team member

I have tried the following:

1. In Chrome browser, I have set the site to allow notifications - no luck

2. On Android mobile app - I have set sound and vibration notifications for boards and card - nothing happens

3. I have also installed the Windows Desktop app, no notifications and also the test for "Send Test Notification" doesn't not react in any way.

![](https://i.imgur.com/j3y8PTU.jpg)

I simply cannot believe that none of this works? pls help. Thanks.


Answers:
author: Michael Pryor
body: Just to check, you won't get notifications for things you do yourself on a card you are watching. Another user has to do the action or comment in order for it to make a notification happen. Does that make sense?

<https://help.trello.com/article/793-receiving-trello-notifications>

comments: author: Martin_Apostolov
body: Hi Michael, thank you very much for your response. No, I am not waiting on notification from my self, but from my team members. I ask them to do I change (a new checklist item is added) and I check Chrome based Trello, no notification, check with Windows Desktop App, no notification, check with Mobile Android App, no notifications (in 5-6 tests so far).

The strangest thing is that in the Windows Desktop App the Send Test Notification does not work at all. I cannot press the button.
Can I trial a Powerup in Trello Free?
Asked by ddev:

I'm a Trello free user hence have 1 Powerup; there are a couple that look interesting but I can't find any info on whether I get one and only one final choice or whether there's some kind of trial period. What if I select Powerup A and it turns out I don't like it? Can I uninstall A and try out B instead? If I had 2 Powerups I could take a gamble with 1 but don't want to take a gamble with "my one and only coin".

Feedback to Atlassian: having only 1 Powerup without any info on this has stopped me from trying Powerups in the past 3 months I've been using Trello. If you make it clear that people can try things out or at least give them a couple of Powerups you'd probably find more people experimenting and hence getting more value from your product.


Answers:
author: Vini
body: Hello there! Yes, you can test out any power-ups you want, and if you don't like it, you can deactivate it and activate a different one.

Sorry if this caused you any confusion. We try to make it clear it is possible to deactivate power-ups in our documentation, but I'll review them based on your feedback, to try to improve it for other users.

Thanks for sharing, and let us know if you need any additional assistance!

comments: author: ddev
body: Thank you Vini! I'm off to try out a couple of powerups now :-)


Tags: power-up
Are Tello Boards Backed up at all?
Asked by Ryan Yates:

Im a Network Admin and Im looking for methods to back up my Trello Boards. Are boards backed up on Trello's side at all? I know there is a method to export boards to JSON or csv, but does that include all of the board, or only just a portion of it? Is there a restore method where these files can restore a board back onto Trello?


Answers:
author: marc -Collabello--Phase Locked-
body: Maybe Trello does backup the boards, however for a normal user there is no way to access board backups. So you need to take care of that for yourself.
Lenguage
Asked by Manu Samper:

How can I change the language from English to Spanish?


Answers:
author: Seon Shakespeare
body: Hey [@Manu Samper](/t5/user/viewprofilepage/user-id/3769543),

Welcome to the community!

To switch language, log in to Trello, then go to the user profile menu in the top right corner of the page. Click on 'Change Language...' to choose your preferred language

Please see this documentation provided by Trello for further guidance:

<https://help.trello.com/article/745-is-trello-available-in-other-languages>

Hope this helps!


author: Manu Samper
body: The function of changing the language does not appear on the menu  

![Captura de pantalla 2020-02-19 a las 18.49.14.png](https://community.atlassian.com/t5/image/serverpage/image-id/83645iC35F2B842C49E773/image-size/large?v=v2&px=999 "Captura de pantalla 2020-02-19 a las 18.49.14.png")

comments: author: Manu Samper
body: [@Seon Shakespeare](/t5/user/viewprofilepage/user-id/2079193)


author: Seon Shakespeare
body: Hey [@Manu Samper](/t5/user/viewprofilepage/user-id/3769543) ,

Are you using Trello with your Atlassian account?

If so, your language setting is synced from Atlassian, so you won't see the 'Change Language...' option. You can change your language setting at <https://id.atlassian.com/manage-profile/account-preferences>

Hope this helps!


author: Manu Samper
body: It is done!

Thank you very much for your help
Error when loading card-buttons
Asked by Flavien Co?u:

Hello,  
I'd like to create a simple button on my Trello card.  
To learn, I followed the Trello tutorial (<https://tech.trello.com/power-up-tutorial-part-one/>) but I can't just get the button.  
So I decided to use the solution available directly on the git (<https://github.com/trello/glitch-power-up-tutorial-part-one>).

On their solution there is a manifest (not mentioned in the tutorial). I used it to add my Power-Up.  
However on loading I find this error in the console: "Error, timeout while initializing index iframe for <https://4facc5cc.ngrok.io/manifest.json>. Timeout=20000ms". The button loads then disappears because it can't create it.  
If someone has already encountered this kind of problem or would have an idea of what I did wrong, I'll take it!  
Thank you in advance.

Ps: the server is running during the whole time of the test.


Answers:
author: Flavien Co?u
body: I find the answer, i jsut should create my power Up with "[https://4facc5cc.ngrok.io](https://4facc5cc.ngrok.io/manifest.json)"


Tags: button

card
Keyboard Shortcuts Not Working (intermittently)
Asked by Mike Corbean:

Usually my keyboard shortcuts work fine but far too often, they do not. Nothing happens when I hit one of them. Any ideas?

OS: Win10 Pro  


Answers:
author: olliecaine
body: Found that the reason this was happening to me was because of a spellcheck plugin ( <https://chrome.google.com/webstore/detail/webpage-spell-check/mgdhaoimpabdhmacaclbbjddhngchjik> ). I've disabled it and my keyboard shortcuts are working again now.


author: John Peterson
body: This happens to me as well on the lastest versions of Chrome and Safari for Mac. It's been happening for a few months but too many other priorities to research until now.


author: Vini
body: Hi Mike,

We have had issues with keyboard shortcuts reported in the past, but we usually have a hard time reproducing them to be able to pinpoint exactly what the issue is.

Usually refreshing the page or restarting the Desktop app should get the shortcuts back to working again.

Do you mind sharing what is the version of the browser you are using, or if you are using the desktop app?

comments: author: Mike Corbean
body: Hi Vini,  
Wow, not sure how I missed your question at the end of your comment, sorry about that.  
I'm using Chrome Version 80.0.3987.162 (Official Build) (64-bit).


author: Vini
body: Hey Mike, and are you still facing those issues? I was unable to reproduce it with the same Chrome Version on my test environment.


author: Mike Corbean
body: Yes - intermittent but still happening.
Will external clients now cost us money?
Asked by Dan McLean:

After reading the new Trello updates I would like to know how this will affect us in regards to our external clients. We use Trello free to communicate with our clients and let them see change tickets without giving them access to our Jira projects.

Is this update saying that on April 14th we will now have to pay for these external clients and they will have to have an email associated with our company if they don't already use an atlassian product? I'm confused how this is going to effect our billing.


Answers:
author: Vini
body: Hi Dan, it is hard to give a very specific answer for your question in this channel. I will try to point out to some resources that may help you get a general idea:

<https://confluence.atlassian.com/cloud/blog/2020/02/managing-trello-accounts-from-your-organization>

<https://confluence.atlassian.com/cloud/manage-accounts-with-trello-access-980454116.html>

If you still have questions I would ask you to write us at trello.com/contact (Ask Trello Support) so we can discuss anything specific to your scenario.


author: marc -Collabello--Phase Locked-
body: Basically, user you add to a Trello board count as paying users.