youngmon/atlassian-qna huggingface dataset:
Rest API (Confluence Server) Authentication
Asked by EmadAfaqKhan:

I cant seem to authenticate using curl. I get 404, Page, content, space exists but no access.

curl -D- -u username:password -X GET -H "Content-Type: application/json" https://\[domain\]/confluence/rest/api/content/

Did base 64 encoding and just went to a single page and tried to authenticate etc. it connects but doesn't authenticate. Please advise. I a very new to APIs  
I also had to use -k in my curl command as it gave me this

"curl failed to verify the legitimacy of the server and therefore could not

establish a secure connection to it. To learn more about this situation and

how to fix it, please visit the web page mentioned above."

Thanks


Answers:
author: Shannon S
body: Hi Emad,

I would recommend having a look at the example below:

* [Confluence REST API Examples](https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/)

As well as information from [Using the Rest APIs](https://developer.atlassian.com/server/confluence/using-the-rest-apis-prototype-only/), specifically:
> **Use HTTP basic authentication** (Authorization HTTP header) containing '`Basic username:password`'. Please note however, `username:password` must be base64 encoded. The URL must also contain the '`os_authType=basic`' query parameter.

Regards,

Shannon


Tags: atl-adm

rest-api
Can I attach a certain point in a confluence page into an email?
Asked by Juliane Wetzel:

Hi,

I would like to send an email to my colleagues. In this email the colleagues should click on a link. This link should refer to a certain point on a Confluence page.

Is this possible? If so, how does it work?


Answers:
author: Alexis Robert
body: Hi [@Juliane Wetzel](/t5/user/viewprofilepage/user-id/2020472),

you can use a macro called Anchor in your Confluence page to create a link to a specific location. The documentation is [here](https://confluence.atlassian.com/doc/anchors-139442.html).

Once you have created the anchor, you will be able to send its link to your colleagues and they will land directly on the anchor location.

Let me know if this helps,

--Alexis

comments: author: Juliane Wetzel
body: Hi [@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386),

thanks for your support. Unfortunately I don\`t want to link the anchor within confluence but send an email with the link to the exact position within a confluence page.


author: Alexis Robert
body: [@Juliane Wetzel](/t5/user/viewprofilepage/user-id/2020472),

the Anchor macro will let you get a link that you can share afterwards.

You can test it easily:

* Edit a Confluence page and put the cursor where you want the Anchor to be located
* Look for the [Anchor Macro](https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html#InsertLinksandAnchors-Linktoananchoronapage) and insert it, with the name "testanchor" for example
* Add a link, select Advanced and type the anchor name "testanchor" in the Link field

After saving the page, you can see the link on your page and copy/paste it to share it with your colleagues


Tags: developer
How to make Confluence Dashboard private?
Asked by Michael Luthardt:

Since the dashboard is not a regular page or space, I can't find any option to hide it from "anonymous" users (users that are not logged in to confluence).

How can this be done ?


Answers:
author: Nic Brough -Adaptavist-
body: You can't. It's a system page that should be accessible to all.

Restricting the main landing page for a Confluence is a really bad thing to do anyway. Giving users a landing point that's just a permissions error page with no useful content is incredibly unfriendly and off-putting.

You could change the "landing page" to be a page within a space though, then restrict that. But don't, because it will annoy your users.


Tags: confluence-server

server
Trying to install Confluence 6.10 in standalone Azure server using below link but its not working.
Asked by Gunjan Yadav:

Hi All,

I am trying to install Confluence 6.10 in standalone Azure server using this link <https://confluence.atlassian.com/doc/installing-confluence-on-linux-from-archive-file-255362363.html> but unfortunately the site(Confluence) is not coming up through DNS whereas when we use IP and port it is working. Please help to resolve this issue?


Answers:
author: Nic Brough -Adaptavist-
body: If Confluence is working when you use an IP address, but you can't reach it with the DNS name, then your DNS is not working.

There's nothing we can help you with here really - we're Atlassian users and the Atlassian stuff is working fine, it's your DNS setup that needs fixing. Talk to your DNS admins.


Tags: confluence-server

server
confluence
Asked by Padmasree P:

how do I setup https in confluence, I'm trying to install a new instance. I read below link, but it seems to be for confluence which is already set up. please help

<https://confluence.atlassian.com/conf610/running-confluence-over-ssl-or-https-952623240.html>


Answers:
author: Sid
body: [@Padmasree P](/t5/user/viewprofilepage/user-id/1845915),

Is this solved? Are you using any proxy/ load balancer in front?


author: Nic Brough -Adaptavist-
body: Start at <https://confluence.atlassian.com/doc/confluence-installation-guide-135681.html>

comments: author: Padmasree P
body: hi Nic,

i have manually installed confluence and I'm able to get the setup wizard when I try with ip:8443. but when I edit server.xml for https , site setup is not coming up with domain name


author: Nic Brough -Adaptavist-
body: Ok. What have you done incorrectly in your server.xml?


author: Padmasree P
body: Hi Nic, please find below server.xml entry, please help whether I have to correct anything

\<Service name="Tomcat-Standalone"\>  
\<Connector port="8090" connectionTimeout="20000"  
maxThreads="48" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"/\>

<br />

\<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" sslProtocol="TLS" sslEnabledProtocol="TLSv1.2" SSLEnabled="true" URIEncoding="UTF-8" keystoreFile="/confluence.pfx" keystoreType="PKCS12" keystorePass="abcd"/\>


author: Nic Brough -Adaptavist-
body: Oh, hang on, "not coming up with domain name", but it does work when you use the ip address - it's nothing to do with your server.xml, you need to set up your network to name and route the domain correctly.


author: Padmasree P
body: network mapping(DNS) is already done by the team. if I ping the dns name I'm able to get the correct ip. is my server.xml entry correct or should I edit it.


author: Nic Brough -Adaptavist-
body: If you can ping, but you can't get to Confluence service, then your networking is blocking the access over that port. It might also be a firewall on the confluence server.


author: Padmasree P
body: Hi Nic,

network team confirmed that firewall is opened for the port 8443. is there anything else I should check on.please help


author: Nic Brough -Adaptavist-
body: The rest of the networking system. If the service is working on localhost, but not on the hostname, the networking is blocked. It might not be a firewall. What is the error message?


author: Padmasree P
body: we are not getting any error, it just says page cannot be displayed.


author: Nic Brough -Adaptavist-
body: Ok, so you need to find out what is blocking it on your network. That error, combined with the fact it works locally, means the network is not letting the traffic through.


Tags: confluence-server

server
How do I get completed user stories from JIRA to show in confluence?
Asked by Megi Alexander:

I have created a sprint report in Confluence and need to populate it with the completed user stories from JIRA. Is there any way of setting this up so it is automatic and just updates the report in Confluence once the user story has been completed in JIRA?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Megi Alexander](/t5/user/viewprofilepage/user-id/2019043),

Yes, there is a way to insert and automatically update completed Jira issues on a Confluence page. You can use the 'Jira Issues' macro. This enables you to use Jira Query Language (JQL) to fetch required issues from Jira. JQL helps you filter the issues based on the defined query, which in your case should be something like -

*Project = XYZ AND fixVersion = x.xx AND Resolution = Closed* (or Complete or whatever status is defined in your Jira).

Also, you can define the sorting order of the issues list using JQL.

To understand more about this macro, please refer to <https://confluence.atlassian.com/doc/jira-issues-macro-139380.html>. This article also navigates you to JQL help, where you can learn more about the query.

Hope you found what you are looking for!

Thanks

Sireesha


Tags: jira
Confluence had problems starting up
Asked by Pieter-Jan Vanhoutte:

Hello,

I have confluence server, but today he's offline. Does anybody has a solution, I looked into the links on the error-page, but I don't understand a lot of it... ?

Server is working normal ...

thank you,

kind regards,

Pieter-Jan

![starting up problems confluence.JPG](/t5/image/serverpage/image-id/33062i9235033BB311663B/image-size/large?v=v2&px=999 "starting up problems confluence.JPG")


Answers:
author: Tobias Anstett _K15t_
body: Hi,

The error message indicates that the collation level of your database (MySQL) is not setup correctly.

If this is a production system please check <https://confluence.atlassian.com/kb/how-to-fix-the-collation-and-character-set-of-a-mysql-database-744326173.html> on more details and what your database admin should check and do.

Best,  
Tobias

comments: author: Pieter-Jan Vanhoutte
body: Hello,

thank you for your answer. I have no experience with mysql database ... So could you advise where I can get support for this?

kind regards,

Pieter-Jan


author: Tobias Anstett _K15t_
body: Hi,

Atlassian provides a good and detailed resource on how to setup MySQL at <https://confluence.atlassian.com/doc/database-setup-for-mysql-128747.html>

Best, Tobias


Tags: confluence-server

server
Draw.io diagrams show the wrong version when using the Include Page macro
Asked by Maxim Hansen:

We have a page that has a Draw.io drawing as part of its content.

We then included that page from another Space, and noticed immediately that the very first version of the drawing was showing up on the page that referenced the original one.

An interesting observation, is that there seems to be some offset going on here, since we tested pressing "Save" on the Draw.io editor a few times on the original page, and we could then see that on the included page, the drawing started to progress through the version.

So every press of "Save" on the original page, bumped the version on the included page by one, so we could actually see it "go through" the old versions of the drawing.

This might be related to [this question](https://community.atlassian.com/t5/Confluence-questions/Draw-io-not-showing-latest-diagram-version-in-Confluence-page/qaq-p/654771), seeing as how the last commenter in that question seems to have the exact same problem as us.

Any known workarounds or fixes? (Except having to press "Save" a bunch of extra times on the original page...)


Answers:
author: Tobias Anstett _K15t_
body: Hi Maxim,

If you haven't already please report this issue to the draw.io support team. They usually respond really quickly and fix such issues.

Best,  
Tobias


Tags: atlassian-marketplace

cloud

confluence-cloud

draw.io
ExcerptType Rest api rich content
Asked by Cristina del Amo:

Hi

I'm having an issue when creating a page in confluence with a macro inside.

I'm using the macro "children" and this is my code:

\<ac:structured-macro ac:name="children"\>  
\<ac:parameter ac:name="all"\>true\</ac:parameter\>  
\<ac:parameter ac:name="style"\>h1\</ac:parameter\>  
\<ac:parameter ac:name="page"\>  
\<ac:link\>  
\<ri:page ri:content-title="'.$cliente_nombre_corto.'"/\>  
\</ac:link\>  
\</ac:parameter\>  
\<ac:parameter ac:name="sort"\>creation\</ac:parameter\>  
\<ac:parameter ac:name="excerpt"\>true\</ac:parameter\>  
\<ac:parameter ac:name="excerptType"\>rich content\</ac:parameter\>  
\</ac:structured-macro\>

The page is created ok except the **excerptType** of this macro that has always the "**simple**" value.

I want to include the rich content of the children pages. Am I doing something wrong?

Thanks a lot!


Answers:
author: Gonchik Tsymzhitov
body: Hi!

Could you check your prepared example in Confluence storage format?

I mean, often **excerptType**not needed.

Cheers,

Gonchik Tsymzhitov

comments: author: Cristina del Amo
body: Hi Gonchik, thanks for your quick answer.

In Confluence storage format I have this code

```
 <ac:structured-macro ac:name="children" ac:schema-version="2" ac:macro-id="f6e20cfc-a276-44cc-98ad-8f73c94f2346"><ac:parameter ac:name="all">true</ac:parameter><ac:parameter ac:name="style">h1</ac:parameter><ac:parameter ac:name="page"><ac:link><ri:page ri:content-title="Name of the page" /></ac:link></ac:parameter><ac:parameter ac:name="sort">creation</ac:parameter><ac:parameter ac:name="excerpt">true</ac:parameter><ac:parameter ac:name="excerptType">simple</ac:parameter></ac:structured-macro>
```

I need the excerptType to be "rich content" instead "simple". The page is created with the rest Api with the excerptType = simple and when I edit this page I can change without problem the macro to change the excerptType = rich content. And it shows me all the content of the child page.

But I want to create since the start, the page with rick content.  
It's not viable to me to edit every page I'm creating with rest Api to change this value of Excerpt Type.


Tags: cloud

confluence-cloud
Developing Confluence Cloud Editor Plugin
Asked by Gavin Bunney:

We are an addon company looking to expand our addons from Confluence Server to Confluence Cloud.

One type of addon's we have integrate into the tinymce editor (through an editor context). From what I can find, these types of addons aren't supported in Confluence Cloud; as there are only really macro/blueprint/content addons supported.

Is there any chance of these types of editor plugins being supported, or if they are now, how to about wiring it up into the editor flow? Thanks!


Answers:
author: Stefan Kleineikenscheidt _K15t_
body: There is no extension point to do this for Confluence Cloud.

The only options/workarounds are browser extensions.

-Stefan

comments: author: Gavin Bunney
body: Thanks! Here's hoping the Connect SDK will keep improving ;)


Tags: app

cloud

confluence-cloud

development
Browser Spell Check not Working in Confluence
Asked by Mark:

Hey guys,

We had an issue with the browser spell check (Chrome, Firefox) not working in Confluence in the main text body of a document, for some time now.

We assumed this was just an issue with the version of Confluence we had installed, but just upgraded to the most recent version and the problem still remains.

For context, the spell check works in both the document title and also the title and body in the template creator, but not in the main body of a newly created document.

Does anyone have any idea how to solve this so I can finally get our team bought into the solution and get away from Google Docs!!

Thanks in advance,

Mark


Answers:
author: berudil
body: This needs to be fixed!


author: Shannon S
body: Hi Mark,

I've seen a few issues similar to this, such as:

* [CONFSERVER-54441](https://jira.atlassian.com/browse/CONFSERVER-54441)

It appears it can occur in large text boxes or if you have a larger amount of text.

I'm testing it on my own instance and it does appear to be working, so it may be the issue you're running into.

If so, you could try a 3rd party add-on, such as [Spellproof](https://marketplace.atlassian.com/apps/1215047/spellproof-confluence-spell-checker?hosting=server&tab=overview) in order to do your spellchecking.

Regards,

Shannon

comments: author: Mark
body: Hey Shannon,

Thanks for this! So, we resolved the issue today.

Prior to the upgrade, the browser spellcheck was not working at all, regardless of the volume of text. We installed Spellproof to counter this.

Upon upgrade, we noticed it was still not showing and assumed the problem still existed. However, after disabling Spellproof it came back!

We still notice that an app such as Grammarly, does seem to be able to affect the pages, unfortunately, but this one is still resolved.

Best,

Mark


author: Shannon S
body: Mark,

Thank you for letting me know that. If you have determined Spellproof is causing the issue, my recommendation would be to [report this to the vendor](https://marketplace.atlassian.com/apps/1215047/spellproof-confluence-spell-checker?hosting=server&tab=support) so it can be addressed.

Regarding Grammarly, we have known this add-on not to work properly when combined with Confluence's collaborative editing tool. There is a suggestion below to support using Grammarly in newer versions of Confluence:

* [CONFSERVER-44321](https://jira.atlassian.com/browse/CONFSERVER-44321)

If you encounter any issues while using Grammarly then it is our recommendation to disable it while using Confluence.

Regards,

Shannon


Tags: confluence-server

server
Two users of Confluence were editing a page. The merge process failed. Draft recovery.
Asked by Richard Lethin:

Two users were editing a page.

The first user worked over several hours, developing an analysis, researching sources, and writing this into the page - but not saving intermediate copies.

The second user wrote two quick changes and saved them while the other user was editing.

Then the first user went to save the page of edits hours of work. I don't know exactly what happened, but apparently the merge did not go smoothly and the first user clicked something and their page of hours of work appear to be lost.

Presumably Confluence saved versions of the Draft of the first user. Perhaps they are available under the "Drafts" item when the first user clicks on their icon. But if they are not right there - is there a way to see the intermediate automatically generated drafts, even to have an administrator grab a temp file of them on the directory of the server?

I am not looking for the history of successfully saved edits, but rather the history and content of the automatically created intermediate Drafts.

Ideally there is an easy way to recover the work rather than have the first user repeat those many hours of work.

Any other advice?

Thank you.

(I should probably put in a suggestion for a feature in Atlassian for multiple editors on the same page to be shown simultaneously, like in Google Docs, so this bulk merge problem is not a future problem.)


Answers:
author: Bjorn Boisschot
body: I'm a bit afraid the one colleague that wanted to undo his changes, actually did a discard changes to previous version. If this is the case, this means that he discarded all changes from all users working on that page. This is "normal" behaviour for COnfluence but is actually quite disturbing for users. Certainly because one person can delete hours of work of someone else.

I dont think you can recover any of his changes

comments: author: Richard Lethin
body: I don't think it was so much "adversarial" in the sense that the first second user was informed that the first user had edits in progress, and figured that they'd get merged in automatically after he saved, and then the first user saved, as Confluence usually does. So he made the edits he needed to make and saved them, while the first user was working.

But somehow later the first user's changes didn't merge in, or save, when the first user tried to save.

Presumably the first user's changes were being saved automatically as Drafts before she tried to save. I am trying to recover those Drafts, even if they don't appear when the first user looks for her Drafts.


Tags: confluence-server

server
are there good examples of Pages that I can refer to or copy from?
Asked by Alif B:

Hi, I am looking to create pages in Confluence. The templates available in Confluence are not sufficient and I would really like to see some good examples of Confluence pages that I can probably replicate.

Thanks


Answers:
author: Ollie Guan
body: Hi [@Alif B](/t5/user/viewprofilepage/user-id/2015388),

The following articles have various Confluence templates shared by community partners, Hope it helps.  

<https://community.atlassian.com/t5/Confluence-discussions/We-want-to-see-the-templates-you-ve-created-in-Confluence/td-p/841132>

comments: author: Alif B
body: Thanks a lot Ollie. This is quite useful.


author: Ollie Guan
body: If you feel like I answered your question, kindly accept my answer??
How to check if my confluence is Confluence Cloud or Confluence Server
Asked by Senthilkumar:

How to check if my confluence is Confluence Cloud or Confluence Server


Answers:
author: Nic Brough -Adaptavist-
body: The easiest way is to look at the url - if it is https://\<something\>.atlassian.net you are on Cloud, if it's not got the atlassian.net in it, then it's Server.


Tags: team-calendars-for-confluence
Add calendar to Confluence page.
Asked by Senthilkumar:

Hi Everyone,

I need to add a Calendar for my Confluence page. I have a few questions on it.

1) Is the Calendar is default plugin for Confluence?

2) where should i check in the Calendar plugin is already installed in my space.

It would be very helpful if someone can answer it.

Thank in advance.


Answers:
author: Ollie Guan
body: Hi [@Senthilkumar](/t5/user/viewprofilepage/user-id/1575866),

Team Calendars is not a plugin installed by default.

You can refer to the following documents.

<https://confluence.atlassian.com/teamcal/install-team-calendars-241566248.html>

comments: author: Senthilkumar
body: Thanks Ollie


author: Ollie Guan
body: If you feel like I answered your question, kindly accept my answer??


Tags: team-calendars-for-confluence
How to add additional labels to an attachment?
Asked by Terry:

I have an attachement that I need to add an additional label but there in no label icon on the Space Settings\>attachement\>list. It shows the the ones that I hade fixed the macros before uploading new attachments but I cannot fix the older ones that no longer show in the proper attachment macro.![2018-09-21_15h51_59.png](/t5/image/serverpage/image-id/33020iC2CD919294407E6D/image-size/large?v=v2&px=999 "2018-09-21_15h51_59.png")


Answers:
author: Shannon S
body: Terry,

Can you confirm which version of Confluence you're using?

I'm on the latest and each attachment has the label symbols as specified from this article:

* [Add, Remove, and Search for Labels](https://confluence.atlassian.com/doc/add-remove-and-search-for-labels-136419.html)

> Label an attachment {#toc-hId-1824911134}
> -----------------------------------------
>
> 1. Do either of the following:
>    * Go to the page that contains the attachment and choose Go to ![](https://confluence.atlassian.com/doc/files/704577869/704577870/2/1517274795952/ellipsis.png) \> **Attachments**
>    * Go to the space and choose **Space tools** \> **Content Tools** from the bottom of the sidebar, then choose **Attachments**
>
>    You'll see a list of attachments, with any existing labels listed in the **Labels** column.
> 2. Choose the**Edit label** icon ![](https://confluence.atlassian.com/doc/files/136419/945098795/1/1517274855801/label-icon.png) beside the list of labels and type in a new label (existing labels are suggested as you type)
> 3. Choose **Add**
>
> You can also add labels in a list of attachments displayed by the [Attachments macro](https://confluence.atlassian.com/display/DOCM/Attachments+Macro), by choosing the edit icon ![](https://confluence.atlassian.com/doc/files/136419/945098795/1/1517274855801/label-icon.png) beside each label.

Regards,

Shannon