youngmon/atlassian-qna huggingface dataset:
SSL configuration not working - Ubuntu
Asked by Software Cloud:

I have configure SSL per the documentation and i cannot get a secure connection, are there any logs i can look at to get further information, there's not cert issues, the page just does not load at all!!

i have changed my server.xml to...

\<Server port="8000" shutdown="SHUTDOWN" debug="0"\>

\<Service name="Tomcat-Standalone"\>

\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"

maxThreads="48" minSpareThreads="10"

enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"

protocol="org.apache.coyote.http11.Http11NioProtocol" /\>

\<Engine name="Standalone" defaultHost="localhost" debug="0"\>

\<Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4"\>

\<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"\>

\<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>

\<Manager pathname="" /\>

\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" /\>

\</Context\>

\<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true"\>

\<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" /\>

\</Context\>

\</Host\>

\</Engine\>

\<!--

To run Confluence via HTTPS:

\* Uncomment the Connector below

\* Execute:

%JAVA_HOME%\\bin\\keytool -genkey -alias tomcat -keyalg RSA (Windows)

$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)

with a password value of "changeit" for both the certificate and the keystore itself.

\* Restart and visit https://localhost:8443/

For more info, see <https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS>

--\>

\<Connector port="8443" maxHttpHeaderSize="8192"

maxThreads="150" minSpareThreads="25"

protocol="org.apache.coyote.http11.Http11NioProtocol"

enableLookups="false" disableUploadTimeout="true"

acceptCount="100" scheme="https" secure="true"

clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"

URIEncoding="UTF-8" keystorePass="redacted" keystoreFile="/keystore/confluence2.jks"/\>

\</Service\>

\</Server\>

it's pretty standard but still does not work...

i had this working with no issues prior to an upgrade...


Answers:
author: Shannon S
body: Hi there,

What version of Confluence are you running currently, and what was your previous version when the SSL worked?

Where was the SSL generated?

Lastly, what exactly do you see when the page doesn't load. Is there anything in your logs/catalina.out file?

Shannon
Could I show in the sidebar the pagetree of another space
Asked by Simona Persico:

Hi ,

I've tried to configure the sidebar, from the menu 'Sidebar, header and footer'

and I have put in it {pagetree: space=AKC}, but it doesn't work...

Thank you!

simona


Answers:
author: Simona Persico
body: Sorry!!! I'm stupid!

spaces , not space


Tags: page-tree

side-bar
How use HTML macro through curl
Asked by Alok Singh:

Hi,

I am trying to update confluence page through curl command, but facing below issue.

Please assist me else let me know how to update html iframe tag using curl command.

Thanks

**Code** :  
curl -u user:passwd -X PUT -H 'Content-Type: application/json' -d'{"body": {"storage": {"representation": "storage", "value": "\<ac:structured-macro ac:name=\\"html\\" ac:schema-version=\\"1\\" ac:macro-id=\\"9b345ba9-a013-4984-9eb3-d4c3f89d3986\\"\>\<ac:plain-text-body\>\<iframe width=\\"100%\\" height=\\"225px\\" style=\\"border: none\\" src=https://test.in:28185/CR/CR1777871\>\</iframe\>\</ac:plain-text-body\>\</ac:structured-macro\>\<ac:structured-macro ac:name=\\"html\\" ac:schema-version=\\"1\\" ac:macro-id=\\"95a008e2-1831-4405-8a32-73ddffa89495\\"\>\<ac:plain-text-body\>\<iframe width=\\"100%\\" height=\\"225px\\" style=\\"border: none\\" src=https://test.in:28185/CR/CR1777870\>\</iframe\>\</ac:plain-text-body\>\</ac:structured-macro\>"}},"space": {"key": "KEY_NAME"}, "title": "TEST1", "version": {"number": 8}, "type": "page", "id":"168016254"}' [https://confluence.in/rest/api/content/168016254](https://confluence.hk.hsbc/rest/api/content/168016254)  

**Error** :  

{"statusCode":400,"data":{"authorized":false,"valid":true,"errors":\[\],"successful":false},"message":"Error parsing xhtml: Unexpected character 'h' (code 104) in start tag Expected a quote\\n at \[row,col {unknown-source}\]: \[1,511\]"}


Answers:
author: Minh Tran
body: [@Alok Singh](/t5/user/viewprofilepage/user-id/1204020) Has you tried to update the above bodyContent via an external json file? I guess your above json having some invalid format.

Try it with a json file and you don't need to escape it like the direct json string for curl


Tags: atl-dev
confluence deployment
Asked by Relog:

I have problems with deployment confluence on my own server.

185.195.24.219:8090 - it's my confluence server.

<http://doc.relog.kz/> - it's the same server, but with domain name.

First problem:

when I login via doc.relog.kz, it goes to <http://www.doc.relog.kz/> , but it's not working, So I need go to <http://www.doc.relog.kz:8090/>  
Second problem:

<http://www.doc.relog.kz:8090/> - here I have this error: "batch.js?analytics-enabled=true\&analytics-uploadable=true\&anonymous-access-enabled=true\&healthcheck-resources=true\&hostenabled=true\&is-server-instance=true\&isSystemAdministrator=true\&locale=en-GB\&nps-acknowledged=true\&nps-enabled=true:1392 POST <http://doc.relog.kz/rest/webResources/1.0/resources> 403 (Forbidden)"

Can you help me?


Answers:
author: Relog
body: Resolved problem!
Confluence Licence key needed for renewal
Asked by kjoyal:

Hi,

I did install confluence server in the past with no issue. Was and is still not for corporate use.

I renewed my licence today but never get the licence key displayed from my purchase information like last time insteand I got this :

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

I couldn't figure how to get my licence key from source tree. I did upload the Sourcetree, but I have no clue what I'm dealing with. Am I missing something ? As I said it's not for corporate use, I guess I might have done a mistake at some point. Is there's anyways to get the licence key easily ? Otherwise if I should proceed with sourcetree to generate the licence key any procedure to do so ?

Thanks


Answers:
author: Shannon S
body: Hi Kaven,

Once you paid for maintenance renewal of your Confluence license, you should have received your new license in your email.

If you did not, you can obtain it from [my.atlassian.com](https://my.atlassian.com).

As for Source Tree, that's not where you would get your license keys. Source Tree is a separate product from Atlassian that is to be used to work with your git repositories.

Let me know if you have any questions.

Regards,

Shannon

comments: author: kjoyal
body: Hi Shannon,

Thanks to answer me back.

I guess then that the issue was with my confluence installation as I was having

"XSRF check failed" when trying to paste the licence key I received. I open the confluence install program again and did an upgrade which resolved the issue.

Have a good day

Kaven


author: Shannon S
body: Kaven,

Thank you for confirming you were able to insert the license and upgrade.

Take care, and have a pleasant week.

Shannon


Tags: sourcetree

licence
Confluence showing JIRA isuues with descriptions
Asked by minghua:

The JIRA issues macro can do a list of issues by JQL search with custom fields. Is it possible to add also the description of each issues to the display? Ideally I'd like each issue is shown with a line of custom fields, followed by the description of the issue in multiple lines.

If the builtin macros cannot do it, any other plugins?


Answers:
author: Anup
body: The JIRA issues macro has two main display options.

1. **Display as table**
2. Display as total issue count

If you choose to display as table, then the last configuration available under the Display Options configuration is **Columns to Display**. Here, you can select what all you'd like to show including the Description.

comments: author: minghua
body: Yes, this works for me. Except that it shows the descriptions in the same row. An ok solution. Thanks.


Tags: jira
Passing parameters to Jira filter
Asked by Navya Reddy:

I have a list of priority 1 and priority 2 issues across all projects displaying on a confluence page. Is it possible to add user filters on top of this that will dynamically filter the list based on the project?

Example: 10 issues are visible across project A, project B and project C. I want to be able to click the button/link to show just the issues related to project B.


Answers:
author: Anup
body: The exact solution to your problem can be resolved with an add-on. It is a popular add-on that allows a free trial but will eventually cost you.

See

For cloud, <https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview>

For server,

<https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/server/overview>

If you want a cost-free solution, try using a two-dimensional filter on a Confluence page where you can see if Project is an option to have on one axis and the other axis can be Priority.
Special Characters for Confluence Rest API content
Asked by Lawrence Chase:

When using the confluence REST API and posting HTML for the content when I have a \> or \< in the content it errors out. When I read a page content with a \> or \< I see it come out as \&lt; and \&gt; respectively. When I switch my content post to use the same representation, they show up literally as \&lt; and \&gt; in the page instead of the \< and \>.


Answers:
author: Boris Berenberg - Atlas Authority
body: What content type are you submitting your request body as?


Tags: atl-dev
Is it possible to create a text Box and limited the content / Text in pixel or percent?
Asked by Christian Weiss:

I want to Show the User a preview of the content. If the User click to ?more" they will see the rest of the text/content


Answers:
author: g
body: Hi Christian, have you considered using built-in [expand macro](https://confluence.atlassian.com/doc/expand-macro-223222352.html)? If you need something more elaborate, you will need to add html and css to page with use of [html macro](https://confluence.atlassian.com/doc/html-macro-38273085.html).

comments: author: Christian Weiss
body: Hey, thank you for your answer. The expand Macro Shows only a word or a sentence. The ?new" macro should show a preview automatically because of the Settings. I want to show the content like this

<https://en.m.wikipedia.org/wiki/Main_Page>

Like: Today's featured article

but i do not know the html user macro.

thank you!
Spaces order
Asked by Kimo Fouts:

Hi there. I would like to re-order my spaces to facilitate client workflows. Is that possible?


Answers:
author: Suren Raj
body: Hi, Kimo.

Are you referring to the way the spaces are displayed in the Space Directory? If so, as default, the spaces are displayed in alphabetical order.

What we could suggest is to label the space accordingly so that you are able to navigate the space conveniently. You could do it by the following documents.

\* <https://confluence.atlassian.com/confcloud/use-labels-to-categorize-spaces-724764814.html>

But in case that is not what you are seeking for, are you trying to reorder the spaces in your left sidebar? If Yes,

There's a suggestion ticket to enable the customization of this list though, for example, drag \& drop as you can see here:

\* <https://jira.atlassian.com/browse/CONFCLOUD-56005>  

However, until then, you may consider customizing this list by navigating to \*Space Directory\* and un-checking the star icon for all of them. After that, you can click each star - related to each Space - in any order you'd like. This would enable to add the spaces to the list and they would be displayed accordingly to the order you've 'starred' them.

comments: author: Annina Chrystal
body: Hey Suren

I've tried the manual method you suggested of un-checking and checking the stars in order, however this does not work for me. They just refresh into alphabetical order (even if I refresh after selecting the stars one at a time).

Do you know of any other work around?

Thanks!
How can I automatically update a Confluence page via a script
Asked by Lakshman:

I want to use a Confluence page that can run a script to display the version of a file upon refresh in a table format.( the file is located another application (<https://---.com/foldername/filename.pdf> )  
For instance if a new file is uploaded then this Confluence page table will also be updated is it possible?.

We are currently installed Confluence 6.1.2 version (server)

Thanks,

Lakshman


Answers:
author: Minh Tran
body: [@Lakshman](/t5/user/viewprofilepage/user-id/560011) You can try to include HTML Macro on your page with your custom javascript to retrieve the version of the file and put that onto the table

Please check it out its usage here: <https://confluence.atlassian.com/doc/html-macro-38273085.html>


Tags: atl-dev
Confluence Search Prototype - Not working
Asked by Peter Reid:

I have signed up for the search early access testing pilot.

I've installed the chrome extension and I'm experiencing an error when using it on my confluence instance.

```
AJS.$(...).auiSelect2 is not a function
```

I am running Confluence server 6.8.0, Chrome version Version 65.0.3325.181 (Official Build) (64-bit). No ad-blocker is enabled for my domain on my machine, and I have tried loading this in an incognito window having signed in and out of confluence and only having the extension enabled.

Search functions normally without the chrome plugin enabled.


Answers:
author: haff
body: Hi Peter

Thanks for reaching out, it's great to have so much information to go on. I have a couple of other questions that I'd like to ask to see if we can locate this error...

1. Which version of the prototype are you running currently?  
2. Does you Confluence instance have any plugins or customization?  
3. Which pages have you tested the search with (Dashboard, view page, blogpost etc)?

Thanks in advance  
Steve Haffenden
Batch PDF import via Confluence API
Asked by Gregory Levine:

Hello -

I'm in need of converting thousands of PDF's into Confluence content. I'm wondering if my team can use the Confluence API to "convert" the PDF documents into a Confluence repository.

Additionally, I need to map a global permissions set for multiple user types (I'm less concerned about this and more about the possibility of importing PDF content and converting in through a "batch process.)

I welcome any feedback or suggestions.

Thanks.


Answers:
author: Minh Tran
body: [@Gregory Levine](/t5/user/viewprofilepage/user-id/1202701) what do you mean "converting thousands of PDF's into Confluence content"?

Do you mean that all pdf content will be converted into Confluence pages?


Tags: content

import
Easy Dropdown Menu Error 200: OK
Asked by Audra Bonacki:

Anyone know what this error means in Confluence? I'm trying to save the EasyDropdown Menu Space Configuration page and keep getting this error "Easy Dropdown Menu Error 200: OK".


Answers:
author: Nic Brough -Adaptavist-
body: It means you have broken config for an add-on, or there's a bug in it. The add-on is <https://marketplace.atlassian.com/plugins/eps.focuspro.EasyDropdownMenu/server/overview> if that helps.


author: EPS Software Engineering AG
body: Hi Audra,

Thank you for opening your ticket on our service desk and our team is working on the solution.

Regards,  
Stephan (CEO of EPS Software Engineering AG, vendor of the Easy Dropdown Menu)


author: Audra Bonacki
body: Well yes, that's the one I downloaded. So now what?

comments: author: Nic Brough -Adaptavist-
body: I'd ask them for support. That could well lead you back here to the community, but there are no tags or anything here to help them find your question. If you follow their support process and do land back here, it should pre-populate the tags at least.


author: EPS Software Engineering AG
body: Hi Nic,

Thank you.

Regards,  
Stephan
What method are you using to manage your Confluence backlogs?
Asked by Benji Kauth:

My team is migrating all documentation, from three other systems, to Confluence.

As there are hundreds of documents needing review, we prioritize them in a list and migrate the highest priorities first.

Currently, I am using a SharePoint form with an inline frame so we can add items to the "needs creation" list.

Additionally, there are many articles that we need which don't exist in any form. These needs are submitted to our team via a SharePoint form and added to a "request" list.

I'm wondering if there is a Confluence plug-in or defined method that others use to manage backlogs for Confluence.


Answers:
author: Miles B.
body: Hey [@Benji Kauth](/t5/user/viewprofilepage/user-id/1203691) - There are a few solutions available in the [Marketplace](https://marketplace.atlassian.com/categories/document-management) that I recommend checking out. Based on your comment, I believe you're using Confluence Cloud? If so, these might help:

* [Comala Workflows Lite:](https://marketplace.atlassian.com/apps/1215729/comala-workflows-lite-for-cloud?hosting=cloud&tab=overview) Add Review and Approval Processes to Your Confluence Cloud documents
* [Comala Canvas:](https://marketplace.atlassian.com/apps/1211538/comala-canvas-for-confluence-cloud?hosting=cloud&tab=overview) Visually manage projects, backlogs and pages

There are lots of other solutions on our [Document Management page](https://marketplace.atlassian.com/categories/document-management)that might be worth reviewing as well. Marketplace apps include a free 30-day trial, so feel free to try/test them out before rolling out to the rest of your team.


author: Benji Kauth
body: Whelp, I was hoping to hear about other's experiences since there is no review or approval queue built in to Confluence.

I'll keep on with the current method and figure out something that is more inline with Confluence features and will survive our migration to Confluence Cloud.


Tags: backlog

forms

queue
Jira reports visible for publick
Asked by Nerijus Petrauskas:

Hi

I am creating a page where our freelance team could see the progress of our service, updates and issues. I don't know where I need to edit permission, Anonymous is not good enuff.


Answers:
author: Ryan Kearney
body: I think this should be possible. You need to make sure the group, project, filters, and dashboard all have the appropriate settings and permissions.   

This post has some other details:

<https://community.atlassian.com/t5/Jira-questions/Anonymous-users-access-to-dashboards/qaq-p/92610>


Tags: jira-service-desk
Adding fixVersion "Release date" into a Jira query on Stories (for Confluence)
Asked by Bob_Kennison:

I am using Jquery to pull in key data on a set of Stories, including the linked fixVersion for each story into Confluence. I am looking for a way to pull in the Release date associated with the fixVersion into the data results, however unclear on how to construct the jquery to pull in the data. I'm trying to use the Issue function and linkedissueOf argument but not able to successfully get to data. Honestly now sure if I have constructed it correctly since I have only used the issue function query once before. Here is my query

"project = xxxxx and issuetype = Story and issueFunction in linkedIssuesOf("Release Date is not Blank", "relates to fixVersion")

thanks


Answers:
author: O C
body: Hi Bob,

Have you find the answer? I am looking for the same solution.

Thanks,


Tags: jira

release-date
How to list limited number of recent page attachments
Asked by Ilze Karklina:

I would like to display a limited number of the last-modified/uploaded page attachments. For example, to generate a list of the latest 3-5 documents that have been attached to the page. If I use "Attachment table" I can limit the number of attachments to retrieve but the problem is that it's sorted by File name and not by modification date. However, "Attachments" macro allows sorting by date but then I have to display the complete attachment list. I can achieve the desired result by using "Content by Label" macro but I would like to avoid labelling each file.

Would you happen to know any work around to this?

Thanks,


Answers:
author: Lauretha Rura
body: Hey [@Ilze Karklina](/t5/user/viewprofilepage/user-id/1203637),

one of the workarounds that I could think of is by embedding [SQL for Confluence plugin](https://marketplace.atlassian.com/plugins/org.swift.confluence.sqlexpress/server/overview) into your Confluence page:

```
select c.TITLE as Attachment_Name
from CONTENT c
join CONTENT c2 ON c.PAGEID = c2.CONTENTID
join CONTENTPROPERTIES cp on c.CONTENTID = cp.CONTENTID
join SPACES s on c2.SPACEID = s.SPACEID
where c.CONTENTTYPE = 'ATTACHMENT' 
AND propertyname = 'FILESIZE'
AND c2.title = '<pageTitle>'
AND s.spacename = '<spaceName>'
ORDER BY c.lastmoddate
LIMIT 5;
```

I limit the results to 5 in this query, but you could modify the value too.

Hope this helps :)

comments: author: Ilze Karklina
body: Thanks! I will try this! :)


Tags: attachment

developer
Shortcut for instructional text
Asked by Daniel Seegr?ber:

Hi,

is there a shortcut for switching to instructional text while creating a Confluence template?

Cheers daniel


Answers:
author: Jonny Adams
body: [@Daniel Seegr?ber](/t5/user/viewprofilepage/user-id/597878) there doesn't appear to be a built in keyboard shortcut to insert instructional text when creating a Confluence template, but you can create your own by following this [tutorial](https://developer.atlassian.com/server/confluence/adding-confluence-keyboard-shortcuts/).

comments: author: Daniel Seegr?ber
body: All right. Thanks!


author: Jincy Chacko
body: It would be a very useful feature to have this built in.

comments: author: Sushant Mongia
body: +1 would be really helpful!


author: Tim
body: I would like this feature as well. New Confluence editor seems heavy on mouse clicks.


Tags: template
How to find out if confluence server REST API uses prototype or context in URIs?
Asked by stonecoldcrazyx:

So I've tried to use basic REST call on my local server instance started version 6.4.3 from atlassian SDK with atlas-run-standalone command, and it works like a charm

```
curl u admin:admin "http://myVmName:1990/confluence/rest/api/content"? | python -mjson.tool
```

I get a JSON answer and it's all nice. Also works when I type URI in a browser.

Now, at work we also use confluence, one test instance and one prod let's call it. Test is on version 6.6.2 and prod on 6.4.3 (like the one I used in SDK). On both of them similar curl call doesn't work - says page not found. Instances are behind HTTPS so I call curl with -k and -L also (I don't know if there's any loadbalancers or something in front of them). When I'm logged in in browser I try the same thing and get same answer. Now, I've managed to find somewhere the older "prototype" api and I've managed to get

```
https://confluence.myCompany.domain/rest/prototype/1/content/57934140
```

where 57934140 is ID of an existing page and that works!!

So my question is? What is the difference, some configuration, settings, missing something? Once again, same confluence versions 6.4.3 - standalone one and SDK. In the docs it says that [API is applicable to Confluence server 5.5 and later.](https://developer.atlassian.com/server/confluence/confluence-server-rest-api/)

Is the problem related to "context" [mentioned here](https://docs.atlassian.com/ConfluenceServer/rest/6.8.0/)? How can I find out should I use it or not?


Answers:
author: Minh Tran
body: I replied the answer for this question here <https://community.atlassian.com/t5/Confluence-questions/How-to-find-out-if-confluence-server-REST-API-uses-prototype-or/qaq-p/761692#M103485>


Tags: atl-dev

developer