youngmon/atlassian-qna huggingface dataset:
Space export to PDF is not working in Confluence
Asked by Shib Saha:

Hello guys,

Good Morning!!

I am facing some problem in confluence functionality. we have confluence server(6.2.0), when i was trying to export the complete space in PDF, it got stuck at 50% and nothing happens.

I need to delete two spaces from confluence and asked to have back up in xml and pdf both.

Please suggest any possible solution.

Thanks in advance.

Regards,  
Shib Saha


Answers:
author: Michelle Gumpelmayer
body: I am experiencing the same issue. Is there any solution?


author: Shannon S
body: Hello Shib Saha,

When you tail the logs in the server during the export, you should be able to obtain a few more details on why it may be getting stuck at 50%. Often times it continues in the background but does not complete on the UI.

Another thing you can try is to export instead just portions of the space in order to narrow down where it might be failing. For example, you can manually select the first half of the space, and see if it continues from there.

Let us know if you have any trouble or questions.

Kind Regards,  
Shannon

comments: author: Shib Saha
body: Hello Shannon,

Thanks for the suggestion.

I got the solution for this issue. It is getting stuck at 50% because of duplicate files/attachments due to this task is running for long time and cann't proceed further.

thanks,  
Shib Saha


author: Raju
body: Any other way to skip those duplicate attachments and go forward
Integrate Confluence with Bitbucket
Asked by vrgl:

What can be achieved through integrating Bitbucket with Confluence?


Answers:
author: Shannon S
body: Hello Virgil,

Currently, there is no integration between Confluence and Bitbucket. You can review our list of applications that have integrations between Bitbucket from [Integrating Bitbucket Server](https://confluence.atlassian.com/bitbucketserver/integrating-bitbucket-server-with-atlassian-applications-776639863.html).

There is currently a feature request at [CONFSERVER-30924](https://jira.atlassian.com/browse/CONFSERVER-30924) for integrating Bitbucket and Confluence. If this is something you are are interested in, please vote on the linked issue and provide your feedback there for what sort of features you would like to see in the integration.

Let us know if you have any questions!

Kind Regards,  
Shannon


Tags: bitbucket
Not able to create a new space for Project
Asked by Yashwanth Vittal:

There seems to be a big problem when creating new spaces, the pop-up window does not complete - Unable to Create Pages (The Create Page Popup Loads Forever). This is only a problem if we are using the https URL (external). I tried this internally, on the jump host


Answers:
author: Christoph Sch?tz
body: Hey - usually Confluence has an application base URL. You have to access Confluence using this URL otherwise some functions won't work. So please make sure that you are always using the same URL to access Confluence and set this URL as application base URL.

Cheers

Christoph

comments: author: Yashwanth Vittal
body: we have binded with local url to exter url to access globally. This is same way we work with our tools. But I see I couldnt access only confluence URL after binding.


author: Nic Brough -Adaptavist-
body: You say "we have binded with local url to exter url to access globally"

Does that mean all users use the same url no matter where they are? Everyone internally and externally goes to the base-url of your Confluence on something like <https://yourcompany.com/confluence> ?


author: Yashwanth Vittal
body: Hi All,

Yes we have binded with internall with external base URL of our company. However, my issue got resolved as I have update .keystore file in server.xml filekeystoreFile="\<MY_CERTIFICATE_LOCATION\>"/\> instead of .jks file. In Bitbucket we have genrated .jks and updated the same in server.xml file followed the same here. Thanks guy for support....!!!

Note: In the confluence documentation they have given as we should install as a user with sudo permission, but when I am trying to genrate certificate with normal user only .jks file is genrated but when I did the same with root user I got two files .jks and .keystore certificates. So please when your are trying to genrate certificate plz look carefully that all certificate are genrated or not.
Is there possible to find documentation for AJS js module?
Asked by levitskaks_lev:

I found that it is possible to change a lot in confluence macros using and overring methods in AJS.

But where I can find docs what AJS can do?


Answers:
author: Ron Elazar
body: I would like to add to the mistery of the missing documentaion:

there are more undocumented abilities like this 1-liner for adding a label to a confluence page:

```
AJS.Labels.addLabel( "mylabel", AJS.params.pageId, AJS.params.contentType);
```

i found that in an answer in the forum , where is the acctual documentation for it ?


author: Andy Heinzer
body: I believe you will want to take a look at the <https://docs.atlassian.com/aui/> AUI documentation site for that.


Tags: ajs

confluence-development

developer
How to add a custom code block macro?
Asked by Brayden:

Verilog is one of the widely used language for hardware design. Currently, Code Block Macro doesn't support verilog for syntax highliting. Is there any plan for support this lanugages?

I think many companies uses verilog or VHDL for hardware design. And there are a lot of syntax hightling code for thouse languages. I think the job to support these languages is a quite simple for developers of code block macro.


Answers:
author: Stephen Deutsch
body: ??? ?? ????!

You're in luck, because there is a solution. The Code Block macro uses syntaxhighlighter brushes in the background, and these can be installed manually (if you are using the server version).

Here is a brush for Verilog:

<https://plugins.trac.wordpress.org/export/1702796/syntaxhighlighter-evolved-vhdl-brush/trunk/shBrushVerilog.js>

and here is a brush for VHDL:

<https://plugins.trac.wordpress.org/export/1702797/syntaxhighlighter-evolved-vhdl-brush/trunk/shBrushVhdl.js>

Save those files to your computer, then go to the General Settings (you must be Confluence Admin)

1. Click "Configure Code Macro"
2. Click "Add a new Language"
3. Browse and choose the brush file you saved
4. Name the brush
5. Click "Add" (repeat steps 2-5 for each brush)
6. Done! Now the syntax highlighting should be visible in the code block macro.

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

Are you using the Cloud version of Confluence? In that case, it's even easier. Just install the free [Better Code for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.connect.better-code-macro.prod/cloud/overview) add-on, and that has VHDL and Verilog syntax highlighting built-in.

??? ??? "???" ??????!


Tags: code-block
How to get UserId in Confluence
Asked by ODW SW Account:

I'm trying to use CLI to disable bulk users use below command:

./confluence.sh --action runFromCsv --common "--action removeUserFromGroup" --file /home/lcong/Desktop/1.csv --server <http://confluence.com.cn> --user user1 --password \*\*\*

# cat 1.csv

userId,group  
user1,test

Whant I'm understanding is that the userId is the username, and I can got the username list user --action getUserList command. But when I doing disable action, it says

Client error: No user with id 'user1'.

I also tried other users are got the same error, anyone can help to give some advice? Is the username not userId?

Thanks.


Answers:
author: AnnWorley
body: From the looks of the [examples from Bob Swift's site](https://bobswift.atlassian.net/wiki/display/SCLI/Examples+-+6.9.0-SNAPSHOT), the userId is the username:

```
--action removeUserFromGroup --userId "testuser3" --group "testgroup2"
```

If you run the action without the file do you still get the error? (I am suggesting this for troubleshooting, not as a resolution. I understand we need to be able to bulk update via the csv.)

comments: author: ODW SW Account
body: Hi Ann,

Yes, still get the same error, from the [Examples from Bob Swift's site](https://bobswift.atlassian.net/wiki/display/SCLI/Examples+-+6.9.0-SNAPSHOT) the userId seems is the username, and I'm able to run bellow command to get all the user list, so I'm not sure why it is keep saying no user with the listed userID.

{code}

--action getUserList

{code}

{code}

./confluence.sh --action removeUserFromGroup --userId "syiyi" --group "confluence-users" --server <http://confluence.com.cn> --user admin --password \*\*\*

{code}

Output:

{code}

Client error: No user with id 'syiyi'.

{code}


Tags: addon-org.swift.confluence.cli
Gap at top of Confluence pages - how to remove it?
Asked by Abhay Patil:

With latest upgrade (Confluence cloud) the pages suddenly show too big a space (gap) between page title and the first line (especially when an "Info" panel is used as the first thing at the top). In the edit mode one can see a line space above info panel, but it can't be removed. When info panel is not there - there is no space seen in edit mode. (See images below.)

The gap doesn't look elegant - is it a bug, or is there a workaround to not have it?

Top picture shows the gap. The next screen shot shows that page in edit mode - there is no gap.

![pageview.png](https://community.atlassian.com/t5/image/serverpage/image-id/3566iAD8DD2101FE14577/image-size/large?v=v2&px=999 "pageview.png")![pageedit.png](https://community.atlassian.com/t5/image/serverpage/image-id/3567i95D2A08BAB2193D8/image-size/large?v=v2&px=999 "pageedit.png")


Answers:
author: Christoph Sch?tz
body: Hey - two suggestions here:

1) please contact the Atlassian support and make sure this is works as designed and not a bug.

2) if it is not a bug/not fixed soon, use additional CSS site wide or space wide to override the CSS style creating the gap (use something like developer tools/inspector to find the right elements/style to override).

Cheers

Christoph
Create From Template macro
Asked by Kelvin Johnson:

Help with CONFLUENCE Macro  

When I want to insert a Create From Template macro, I am unable to select the template -- it looks like there is supposed to be a drop-down list, but it doesn't expand. Can't type in anything, either. I copied a Create From Template macro from another space that uses the Meeting Notes template, but need to be able to use this macro and select any template (right now just using the blueprint templates -- I have not created any custom templates)  

The space I'm trying to do this in is Affiliate Partner Management. I am the space creator. To test if this was a problem with that particular space, I created a personal space and tried there. Same problem. I also checked the Affiliate Partner Management space to be sure all of the blueprint templates are available - they are. I searched the online documentation, knowledge base and Google for a solution, but found none.  

Help, please?


Answers:
author: Christoph Sch?tz
body: Hey - can you please post some screenshots to better illustrate your problem? Is any other macro configuration working? Are you using Server or Cloud? If using Server - is there anything in your log? Can you edit the page and the macro in the space you copied it from? Can anybody else edit it? Which browser are you using (if you use IE please use another one)?

Cheers

Christoph


Tags: macro

template
I would like to download a confluence Chinese package where to download
Asked by zhang haodong:

I would like to download a Chinese language package below the link can not download

<https://translations.atlassian.com/dashboard/download?lang=zh_CN#/Confluence/6.3.0-beta2>


Answers:
author: Nic Brough -Adaptavist-
body: You don't need it - it's built into Confluence now.


Tags: language-zh
I am using the Roadmap Planner Macro and the Link functionality does not work
Asked by Dawn:

I can only get the Link functionality to occassionally work. If you click on the Bar you should be able to link a document to the bar. It will successfully seach for a page to link and when I click on the page to link.. nothing happens. I have even tried in edit mode.


Answers:
author: MattS
body: Which version of Confluence? And Cloud or Server?

comments: author: Dawn
body: Server - Confluence 6.2.2
Confluence not getting the rigth Jira version
Asked by David Riega:

I have confluence 5.9.11 integrated with Jira 7.1.7, this has been working just fine, but a few days ago I changed the Jira Embedded data base to a PostgreSQL data base to have it on my production server.

<br />

The problem is that when I try to create a Jira Status Report in confluence I get the error: "Status report is not available for your version of JIRA. Upgrade to JIRA 6.1.1 or later to use this report.", even though, I have the 7.1.7 version.

This also occurs with the pie charts, everything else works fine.

![imagen.png](/t5/image/serverpage/image-id/3564i7D24C6A3A1A6BD81/image-dimensions/516x278?v=v2 "imagen.png")


Answers:
author: Christoph Sch?tz
body: Hey - have you looked into <https://community.atlassian.com/t5/Confluence-questions/Status-report-is-not-available-for-your-version-of-JIRA-Upgrade/qaq-p/63310> and <https://confluence.atlassian.com/confkb/jira-issues-macro-jira-charts-are-not-available-for-your-version-of-jira-777004808.html>?

Cheers

Christoph
time out when adding new user
Asked by Manny Durazo:

Confluence Wiki - Unix/Linux platform: When adding new user, I get "session has expired" and am unable to add new user. I clear cookies, restart IE or Firefox and reboot. Sometimes it works OK other times it does not let me add new user. Any configuration I can change in "Administration"


Answers:
author: AnnWorley
body: There is not a change in Adminstration, but you might check the web.xml file to see what the session timeout is - it should be an hour: [How to adjust the session timeout for Confluence](https://confluence.atlassian.com/confkb/how-to-adjust-the-session-timeout-for-confluence-126910597.html)

Another guess - are you logging into JIRA in another tab of your browser? Please see [Logging into another Atlassian application logs me out of Confluence](https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html)

comments: author: Manny Durazo
body: Hi,

Thanks for the response. I am not logging into anothere application, but I will check the web.xml file for the session timeout.
Does enabling SAML SSO for the existing LDAP dir based Confluence affect the Restrictions?
Asked by Rajarajan Pandurangan:

We have Multiple user dir associated Confluence and Jira environment, Does enabling SAML SSO with our enterprise ADFS could cause any issue on PErmissions and Restrictions? confluence 5.9.1


Answers:
author: AnnWorley
body: If the groups and user names used in the permissions and restrictions don't change, it will not matter if they are logging in via SSO. It sounds like they will still be the same AD users, so it should be ok.

I recommend trying it in a test environment first, to avoid surprises in Production.
How do I add text without having to switch to edit page mode?
Asked by Maria Ticca:

I created a table where I want users to input some text without going on edit mode. Is it possible, and if so, how can I implement it?


Answers:
author: Nic Brough -Adaptavist-
body: No, you need to be in edit mode to edit content.

There are a couple of table add-ons which pop their own edits independently of the page - take a look in the marketplace.

comments: author: Maria Ticca
body: Thanks Nic! I will do.
How to redirect Help-Links and "Whats-new"-Dialog wich have target http://docs.atlasian.com/...
Asked by Armin Dittrich:

How I can configure the URLs to Helpdocuments and Videos, who are hosted on <http://docs.atlassian.com> and shown to users after Login (eg.).

Reason: our Confluence has no Internet-Access! I like to redirect the URLs to a reachable target in our Intranet.

My idea is, to redirekt to one (or more) internal Confluence-Pages, where I can show all needed informations, which Atlassians Internetdocuments and Videos (if possible and allowed) have.


Answers:
author: Nic Brough -Adaptavist-
body: My instinct would be to set up a fake domain on your network, so that when the users click on a link going to Atlassian, they land on a simple web-page saying "You're not allowed to visit Atlassian, so here's some internal stuff instead". You could embed a coupe of lines of "redirect" in javascript perfectly easily too.
How can I edit the page at the new interface?
Asked by ando:

I dont see any edit button on the page.


Answers:
author: Stephen Deutsch
body: Do you see anything that looks like a pencil in the upper right corner of the screen?

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

If you click on that icon, then you should be able to edit the page. Otherwise you can press the "e" key when on a page, and it should load up the editor.

If neither of those work, then you might not have the right permissions to edit the page.

comments: author: ando
body: It appears that the pencil icon seldome appears but pressing "e" solved the issue.

Thank you very much


author: Stephen Deutsch
body: You're very welcome!


author: Jobin Kuruvilla [Adaptavist]
body: Do you have the permissions to Edit? Check the space permissions. If you have it, check if there are any page restrictions on the page you are trying to edit.


author: ando
body: I dont see any "page tools" which used to be on the top of the page. so that I am having a problem editing the page.
Confluence Cloud: Command list.
Asked by Jen:

Confluence Cloud: What is the command that will allow me to insert a user name into the New User welcome email?


Answers:
author: Shannon S
body: Hello Jen,

When adding the [Invite Message](https://confluence.atlassian.com/cloud/invite-edit-and-remove-users-744721624.html), there is not a way to automatically insert the username you've chosen for the user, so you will want to manually type any details you wish to include when setting the message.

Please also be advised that the username is now no longer used in the login process, so the users only need to know their email address you used to create the user in order to log in. They will be able to see this when they click the **Join them now** button from the email.

Let us know if you have any questions.

Kind Regards,

Shannon

comments: author: Jen
body: Great, thank you!

Jen


author: Shannon S
body: You're welcome, Jen!

Take care and Kind Regards,  
Shannon
Code Block Macro not works with XML format
Asked by Hananya Beck:

"code block" macro works fine for C# and SQL and more.

But when i use it for XML it display me empty content.

I tried with and without the next header:  
\<?xml version="1.0" encoding="UTF-8"?\>


Answers:
author: Stephen Deutsch
body: Which version of Confluence are you using (Server/Cloud, if Server, which version number)?  

In general, the Code Block macro works for XML, but it might have something to do with your particular version of Confluence and/or what kind of XML you are trying to display.

comments: author: Hananya Beck
body: Cloud.  

i tried many simple XML.

Please try it to verify it is works now in the Cloud version.


author: Stephen Deutsch
body: Have you switched to the new interface?

I tested it in the old interface, and it worked fine.

I tested it in the new interface, and it didn't work to paste the XML code (the tags got stripped out), but typing the XML code directly worked ok.

Another option might be to install the Better Code Macro (free from Atlassian Labs), and that might work better for you.


author: Hananya Beck
body: How can i know if i used the old or new interface?

I am new user 2 weeks ago.

(my tags also got stripped out).

I will use the Better Code Macro.

Thanks


author: Stephen Deutsch
body: If you are a new user, then you're probably on the new interface. It's the one with bright blue instead of dark blue, and with the main menu on the left side instead of the top.

I figured out a workaround to get past the XML pasting issue:

Put the cursor where you want the code macro to go, then click "? ?", and "Markup".

In the box that pops up, make sure Confluence Wiki is selected, then type {code}, paste your XML, and then type {code} again.

Click the "Insert" button, and then you should have the code macro with the code inserted properly, and you can edit the options to choose "HTML and XML" to highlight the content properly.


author: Hananya Beck
body: Hi  

Yes. i with the new interfcae.  

**Great** workaround. Works fine.  
Thanks.  

If you will fix the problem it will be excellent.
vsds and xml file and some pictures are opening on confluence page
Asked by Shib Saha:

Hello guys,

Good afternoon!!

We are using confluence server(6.2.0), restored the backups due to some reason.

After successful restore xml and vsds file are not opening and showing error "We can not preview this file" and some pictures are also not dispalying on the confluence page.

Please suggest any possible solution.

Any comments are most appreciated!!

Thanks and Regards,  
Shib Saha


Answers:
author: Christoph Sch?tz
body: Hey Shib,

Confluence needs some time to generate a preview image - when did you restore it?

Have you stored files in your database or on the file system? If on the filesystem - have you restored these too?

Is there any message in the logs?

Cheers

Christoph

comments: author: Shib Saha
body: Hi Christoph,

Thanks for the quick response.

I restored the backups last saturday. No, i have not stored any file seperatly and dont know how to do this.

Could you please explain a little bit more about storing file on database or on file system.

Thanks in advance.

Regards,  
Shib Saha


author: Christoph Sch?tz
body: Hi Shib, so I guess you have another problem. You can find more about where your attachments are stored here:<https://confluence.atlassian.com/doc/attachment-storage-configuration-166876.html>

Please try to preview an attachment or open it and look into the Atlassian-confluence.log and share your findings with us.

Cheers

Christoph


Tags: jira
Is there any way that you can filter search results by a custom field ?
Asked by EN IT:

in Confluence, how can we use custom fields to refine our search results. is this doable?


Answers:
author: Stephen Deutsch
body: Of course it's possible:

<https://confluence.atlassian.com/jirasoftwarecloud/advanced-searching-fields-reference-764478339.html#Advancedsearching-fieldsreference-customCustomfield>

If you are searching in the basic mode (you will see an "Advanced" link next to your search), then you'll probably have to click on "More ?" and then find the custom field. If it doesn't appear there, then you'll have to click on "Advanced" and search for the field by name using JQL.


Tags: custom-field

developer
Global Alert Resolution
Asked by ????? ???????:

I'm using confluence 6.2.  
How can I make sure that page changes are not sent by default, only when it is needed by the editor when the appropriate checkbox is activated? Interested in global settings, not for an individual user.


Answers:
author: Shannon S
body: Hello!

Are you referring to the \*Notify Watchers\* setting at the bottom of the Confluence editing page?

If so, you can disable it [by default](https://confluence.atlassian.com/confkb/how-to-uncheck-notify-watchers-check-box-on-confluence-editor-by-default-314449908.html) using Custom HTML.

Let us know if you have any questions about this.

Kind Regards,  
Shannon

comments: author: ????? ???????
body: Thank you. Worked.  
And can you turn off the default notification setting for new users?


author: Shannon S
body: Hello!

This sets the setting as the default so it will apply to all users. Are you having any difficulty?

Kind Regards,  
Shannon


Tags: email

notification