youngmon/atlassian-qna huggingface dataset:
Getting 401 error
Asked by Dastagiri:

Hi everyone,

I am trying to get confluence page response using rest API in below format, but getting like 401 unauthorised. I can access in gui without any issues. I can see in few posts like basic authentication is deprecated. I don't have option to generate oauth. Is there any way that I can overcome this issue?

Curl -k -x get https:// url -u id: password


Answers:
author: Pramodh M
body: [@Dastagiri](/t5/user/viewprofilepage/user-id/4775329)

curl -k -u 'username:password's -X GET <https://url>

Does your password have special characters?

Encode with HTML parameters

<https://www.w3schools.com/tags/ref_urlencode.asp>

If your instance is not secured with HTTPS go with <http://url>

Ensure username is not Email ID and it is username you use for login and password is the one you use for login

Can you attach the screenshots of the error you are getting?

Let me know

Thanks

comments: author: Dastagiri
body: Hi pramod,  
Thank you so much for your response. I am using using https and my password have special characters in my password. So I replaced like "user":"password" then it's working. Now another issue when updating page using put its showing status code 500 internal server error. Below is the code i am using.  
content= [$(updated in link section]()[)]()  
response=$(curl -X GET url\\  
-H 'Content-Type:"application/json' -k \\  
-u "${username}":"${password}")  
version_temp=${response##\*'number":'}  
version=${version_temp%%%%','\*}  
version=$((version+1)) #increment version  
response=$(curl -X PUT ${confluenceurl} \\  
-H 'Content-type: application/json' -k \\  
-u "${confluence_user}":"${confluence_password}" \\  
-d '{  
"id": page id,  
"type": "page",  
"title": "page title",

"space": {"key": "Myspace"},

"body": {  
"storage": {  
"value": ","${content}",",  
"representation": "storage"  
}  
}')

Please let me know if I am making some mistake.

Thanks,

Dastagiri[awk -F',' 'BEGIN{ print "\<table border=1\>"; print "\<tr\>\<th\>Name\</th\>\<th\>Bounce\</th\>\<th\>Department\</th\>\</tr\>"} { print "\<tr\>\<td\>" $1 "\</td\>\<td\>" $2 "\</td\>\<td\>" $3 "\</td\>\</tr\>" } END{ print "\</table\>"}' input.csv]()


author: Dastagiri
body: you can find content= $(awk -F etc at the end of message, as it is not allowing to post html content. Is there anyway that I can make changes to code if it is wrong format?


author: Pramodh M
body: Hi [@Dastagiri](/t5/user/viewprofilepage/user-id/4775329)

Please find the example for updating a page

<https://developer.atlassian.com/server/confluence/confluence-rest-api-examples/#update-a-page>


Tags: confluence-server

server
No access to existing Installation
Asked by Bernd Broksch:

Dear all,

I am running Confluence since years on my local server. It works fine since today. The Browser shows the following page:

![Bildschirmfoto 2022-02-26 um 13.05.24.png](/t5/image/serverpage/image-id/185538i54B25886D5795459/image-size/large?v=v2&px=999 "Bildschirmfoto 2022-02-26 um 13.05.24.png")

So I am not able to logon to enter my new license key. Any Idea what's going on:

Many thanks in advance for your help.

Best Regards

Bernd


Answers:
author: Bernd Broksch
body: Hey,

Sorry for the late answer, but I was busy the last few days. I cannot find this file anywhere!

I haven't done any changes over the last few month.

I have 7.2.0 installed.

Cheers Bernd

comments: author: Vishwas
body: Hey [@Bernd Broksch](/t5/user/viewprofilepage/user-id/109390)

Check the dbconfig.xml file if it has the old database connection params

Regards,

Vishwas


author: Vishwas
body: Hey [@Bernd Broksch](/t5/user/viewprofilepage/user-id/109390)

Any changes were made to confluence on machine where it is installed ?, this seems like it is starting as new installer.

Can you check in confluence home directory if the dbconfig.xml is intact ?

What version of confluence is this ?


Tags: confluence-server

server
Conflunce Migration Server to Cloud TEST
Asked by Jaewoong Choi:

HI

My company is planning to migrate Confluence to Atlassian Cloud this time. So I'm trying to test, is there any way?

For example, you need a way to migrate from Confluence Server Or Data Center trial to Cloud trial.

thank you.


Answers:
author: edwin vasquez
body: Hello [@Jaewoong Choi](/t5/user/viewprofilepage/user-id/4535433) ,  

You can visit this site for a free trial of cloud products. This has information on the trial and you can get up to 12 months. This is only available for a limited time. I hope this helps!  

<https://www.atlassian.com/migration/assess/cloud-migration-trial>  


Tags: confluence-server

server
Why isn't a page publishing?
Asked by Greg Wolff:

When I click the "publish" button on my Confluence page, I just get a spinner forever with a comment "We're still saving your page."

![Screenshot 2022-02-25 122600.png](/t5/image/serverpage/image-id/185480i3018A418082B8EBB/image-size/large?v=v2&px=999 "Screenshot 2022-02-25 122600.png")

What do I do?

I can access the draft of the page, and I've tried creating other pages (just blank with a title) and have been able to publish them.

The page I'm publishing does have

\* A header image

\* A custom emoji

\* Images with captions

\* Enumerated list of steps to follow

(this is a process guide)


Answers:
author: Greg Wolff
body: Solved.

I closed my web browser tab that had the open draft that was in the "waiting to publish" state.

I then opened a new browser tab and navigated to my page drafts.

I opened the draft, and clicked Publish button

It worked!


author: Srinatha T
body: [@Greg Wolff](/t5/user/viewprofilepage/user-id/4777879) . Glad to hear that issue is resolved. Thank you for sharing this experience. It will help other users.


Tags: cloud

confluence-cloud
Missing Macros
Asked by Bryan NEff:

Does anyone have an idea of why I wouldn't have the Tabs/Controls macro in my "+" dropdown menu? I'm trying to add tabs to a wiki sheet and don't see it or another way to add tabs. Please help.


Answers:
author: Andy Gladstone
body: [@Bryan NEff](/t5/user/viewprofilepage/user-id/4777819) Welcome to Confluence!

The Tabs Macro has been removed in the new editor. Have you utilized that macro previously on this instance?

comments: author: Bryan NEff
body: Not on this instance. Is there another way to accomplish the same thing with a different macro?


author: Andy Gladstone
body: [@Bryan NEff](/t5/user/viewprofilepage/user-id/4777819) most people have started using the /expand macro for similar purposes. It's not the exactly the same as tabs, but is a visually appealing way to display text that does not need to always be visible on a Confluence page.


author: Bryan NEff
body: [@Andy Gladstone](/t5/user/viewprofilepage/user-id/3498028) thanks for the advice on the Expand option. You're right, it's not the same but the overall result was still achieved. This particular feature is one of the ways I'm convincing my company to adopt Confluence instead of Tettra. It allows me to get more information on the same page but not make them scroll forever to find what they are looking for.


author: Zoriana Bogutska_Adaptavist_
body: [@Bryan NEff](/t5/user/viewprofilepage/user-id/4777819) You can use tab macros in Confluence, but for that you need one of the solutions from Atlassian Marketplace <https://marketplace.atlassian.com/search?query=macros>


Tags: cloud

confluence-cloud
Problem with External Gadgets after HTTPS-Migration
Asked by Martin Schmalz:

Hello !

I have JIRA and Confluence running with http. Now i have migrate both to https. Today i setup Confluence with https - JIRA still with http. Everthings works fine. Connection between JIRA and Confluence is good - JIRA Macro is working.

But the External Gadgets are not. And i cant find why. Somebody maybe an idea?

thx.


Answers:
author: Thiago Masutti
body: Hi [@Martin Schmalz](/t5/user/viewprofilepage/user-id/705908)   
I hope you are well.

Based on your description, I believe this is related to this KB article: [Unable to Add External Gadget Due to Mixed Content](https://confluence.atlassian.com/confkb/unable-to-add-external-gadget-due-to-mixed-content-658178894.html).

Let us know if that's not the case.

Troubleshooting this type of problem might require some data that may have information private to your company, so a support request might be the way to go if that's not related to the above KB.

Kind regards,  
Thiago Masutti

comments: author: Martin Schmalz
body: Hey. Thanks for the Article - it worked.


Tags: server
If I'm using a template, why can't I make it my own and edit things like instructional text?
Asked by Adam Purcell:

Surely, if I've copied a template and applied it to one of my pages in a project, I should be free to edit all and any parts of it to suit my needs? e.g. I can't edit the instructional text. I know Instructional text can only be changed when editing a template, but it's not a template anymore, it's a new page with elements from a template? So weird!


Answers:
author: Clark Everson
body: Hi [@Adam Purcell](/t5/user/viewprofilepage/user-id/4775967)

Welcome to community! If you haven't introduced yourself in the Welcome Center!

For editing templates you actually need to modify the Space or Global Blueprints: <https://support.atlassian.com/confluence-cloud/docs/edit-a-template/>

Best,  
Clark


author: Carla Ann Rowland
body: need more info. are you on a cloud trial?

comments: author: Adam Purcell
body: Yes cloud trial.


Tags: cloud

confluence-cloud
How can we export Confluence documents in Russian?
Asked by Svetlana ZHVIRBLINSKAYA -WHSPB-:

Hello!

We always have a problem in downloading documents from Confluence in Russian Language. They look like this..

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

But should look like this...

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

Could you solve that problem, please?


Answers:
author: Pramodh M
body: Hi [@Svetlana ZHVIRBLINSKAYA -WHSPB-](/t5/user/viewprofilepage/user-id/4777492)

Here's the resolution on the same

<https://community.atlassian.com/t5/Confluence-questions/Export-to-PDF-does-not-work-with-Russian-language/qaq-p/761592>

Thanks,

Pramodh


Tags: download

export

russia
Space color scheme and fonts in PDF export
Asked by Lars Karstad:

I have changed color scheme, font and fonsize in one of our spaces, but these changes are not in the PDF export.

Is it possible to change the PDF export to use Space Color Scheme \& Stylesheet?

/Lars


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Lars Karstad](/t5/user/viewprofilepage/user-id/4336740) ,

in order to edit PDF stylesheet you can follow this how to guide <https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html>

In particular :

Change the PDF stylesheet {#toc-hId--1182606751}
------------------------------------------------

The PDF Stylesheet allows you to change the appearance of your PDF. This includes things like paper size, fonts, colours, spacing, and other styling.

To change the PDF stylesheet for the whole site:

* Go to ![](https://confluence.atlassian.com/doc/files/747833194/747833195/2/1517274813281/cog.png) \> **General Configuration** \> **PDF Stylesheet** .   
  You need Confluence Administrator [global permissions](https://confluence.atlassian.com/doc/global-permissions-overview-138709.html) to do this.   
  You need
* Choose **Edit**, then add your CSS.

To change the PDF stylesheet for a specific space:

* Go to the space and choose **Space tools** \> **Look and Feel** from the bottom of the sidebarYou'll need [Space Admin permissions](https://confluence.atlassian.com/doc/space-permissions-overview-139521.html) to do this.
* Choose **PDF Stylesheet**.
* Choose **Edit**, then add your CSS.

Hope this helps,

Fabio

comments: author: Lars Karstad
body: Hi [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528)

From what I can see I can only change Title, Header or Footer fields.  
All body text seems to be pre-defined and not possible to alter?

My need is to format the body text according the color scheme and fonts defined in the different spaces.

That said, I'm unfamiliar with CSS formatting and could do with some detailed guiding.

Lars


Tags: confluence-server

server
About the page property macro ID
Asked by ?? ?:

I have a page property macro that I'm using on a confluence page. If you refer to this page property macro with JSON format data, you will find the following IDs.

What does this ID mean? Is it unique? Is it a problem to use it on other pages?

ac: local-id = "3a139d21-2445-44c2-931d-3de06382f3e4"


Answers:
author: Pramodh M
body: Hi [@?? ?](/t5/user/viewprofilepage/user-id/4679103)

Macro ID is generated whenever you place the macro on the Confluence page and is persisted across new versions of the page.

If you need to get the contents of macro by ID, reference here

<https://developer.atlassian.com/cloud/confluence/rest/api-group-content---macro-body>

Thanks,  
Pramodh

comments: author: ?? ?
body: Yes, I haven't asked about the macro ID. The local ID (local-id) of the page property macro. Your answer is not helpful at all. It is out of alignment.


Tags: cloud

confluence-cloud
Page tree is missing in Space navigation sidebar once I set the home page
Asked by Anand:

Page tree is missing in the Space navigation sidebar once I set the home page and open the space. All the pages are there, If I go to the pages option I will be able to view all the pages. But on the pages tree, no pages will be displayed.


Answers:
author: Srinatha T
body: Hi [@Anand G P](/t5/user/viewprofilepage/user-id/4777376) ,

Welcome to Atlassian community.

Go through the below KB article and it should help you resolve the issue.

* [Page tree is missing](https://confluence.atlassian.com/confkb/page-tree-is-missing-in-space-navigation-sidebar-and-space-is-missing-homepage-1050548184.html#:~:text=Solution,with%20suggested%20page%20comes%20up)

I hope the above information helps. Have a good weekend.

Thanks,

Srinath T

comments: author: Anand
body: [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256), I had already done that even before posting the question. I didn't get any results.


author: Kotusenko Oleksandr
body: [@Srinatha T](/t5/user/viewprofilepage/user-id/4686256) , do you have another solution to fix that issue with the page tree?  
I have tried to follow your advice with [Page tree is missing](https://confluence.atlassian.com/confkb/page-tree-is-missing-in-space-navigation-sidebar-and-space-is-missing-homepage-1050548184.html#:~:text=Solution,with%20suggested%20page%20comes%20up) but it didn't fix my problem.


Tags: cloud

confluence-cloud
An error while submitting a confiform from person out side my company.
Asked by Aman Angural:

HI I am getting error " com.atlassian.sal.api.net.ResponseException: Error communicating with Jira, Status: 500 with message: and repsonse:'null'null "

After submitting a confiform. I have login details of another company and able to access confiform but when submit the form after completing all columns, I receive above error

Could you please advise what could be the issue.


Answers:
author: Alex Medved _ConfiForms_
body: Hi

It looks like you have a ConfiForms form that is set to create Jira issue, right?

Are you using <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-CreateJiraIssue> ?

When you say the user is outside your company - are we talking about unauthenticated users or users that dont have access to your Jira project (in case if you are using the above mentioned way of creating Jira issues from ConfiForms)?

Alex

comments: author: Aman Angural
body: HI Alex,

Correct, Confiform uses IFTTT with action to 'create Jira ticket' on submissions of confiform.

The user is legitimate as they have my company's domain login details. It might be the second part of your explanation that user may not have access to Jira project. Is there any alternate way that we do not provide access to Jira project to the external users and create Jira ticket through their confiform submission.

Please let me know if you need any further information.


author: Alex Medved _ConfiForms_
body: Hi

You can either switch to using <https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-WebServiceRequest> with configured connection to your Jira using a service account or something like that

Or ensure your users have enough permissions to create Jira issues in the project you configured ConfiForms to create your issues in

Alex


Tags: confiforms

confluence-server

server
Is there any REST API to get page details in once or filter pages created or updated after a date?
Asked by WebCherry Support:

Is there any REST API to get page details in once or filter pages created or updated after a date?


Answers:
author: Pramodh M
body: Hi [@WebCherry Support](/t5/user/viewprofilepage/user-id/4776870)

Welcome to Confluence!!

We need to follow the CQL

<https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/>

<https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-search-get>

Let me know if you have any queries

Thanks,  
Pramodh
Is there a way to pass the page title as the parameter in Confluence JIRA issue macro
Asked by Prasanta Mishra:

Hi,

I am creating a release plan template where I can create a Confluence page with the release name. (e.g APPXXX 11.2.9). This same "APPXXX 11.2.9" is also a tag in my JIRA project (e.g "fixversion"). Is there a way I can pass a property like "pageTitle" or similar in the JIRA issue macro that will translate to "APPXXX 11.2.9".

This way, whenever I create a new page for the next release from the template, I just have to change the page title and the macro should be able to fetch the JIRA tickets.


Answers:
author: Pramodh M
body: Hi [@Prasanta Mishra](/t5/user/viewprofilepage/user-id/4776839)

You could create a template and store it the next time you create a page

Please follow the guide here

<https://support.atlassian.com/confluence-cloud/docs/create-a-template/>

Thanks,  
Pramodh

comments: author: Prasanta Mishra
body: Thank you [@Pramodh M](/t5/user/viewprofilepage/user-id/3691224) . I will try having a variable in the template and see if that works. (I have to use the variable inside the JIRA issue macro).


Tags: macro
Use of macros and tables within bullet points
Asked by Beth Anne:

Hi Team,

In the old editor I was able to use macros within bullet points. This was crucial to providing information at the place needed. In particular the expand function. Now when I try to create a macro in the new editor I have to start the list from scratch after the macro. This makes it very difficult to format guides in the way we've been able to historically. Is this a known issue? Any chance of getting this functionality back?  

Edit: It's the same with tables, why would we not be able to put a table in a dot point?


Answers:
author: Pramodh M
body: Hi [@Beth Anne](/t5/user/viewprofilepage/user-id/4634781)

Here's the update on the same

<https://jira.atlassian.com/browse/CONFCLOUD-67862>

Thanks

comments: author: Beth Anne
body: Thanks Pramodh, looks like this one's gone the way of every other useful feature Confluence had over other documentation software - the "too hard lets forget it and assign a new person to it every 6 months" board


author: Pramodh M
body: I'm sorry to hear that [@Beth Anne](/t5/user/viewprofilepage/user-id/4634781)

For now you could get it working with workaround till the feature is released


author: Beth Anne
body: You mean - "until the bug has been fixed"

This shouldn't be considered a feature under consideration, this was an available feature and the fact that it's now missing should be considered a bug.

I don't want to use the workaround, it's completely pointless, why move from OneNote - where that is the exact workaround already in place for formatting user guides - to another platform with now the same level of editing functionality. The amount of features that have been stripped in this new editor make it actually unusable.


author: Beth Anne
body: Further, the workaround is completely insufficient as we are also not able to use nested tables.


author: Pramodh M
body: I'm sorry to hear that again..

Please consider the tool, it has so much to offer than what your editor feature you are looking for which has been assured will be released

Thanks


Tags: cloud

confluence-cloud
Confluence DC next Long Term Support
Asked by Michael Vidallon:

Hello,

With 7.13 as latest LTS DC version, do we know what the next LTS version be for confluence?   

We are assessing whether it makes more sense to upgrade to 7.16.1 as the latest instead of 7.13 LTS.

Any recommendations?


Answers:
author: Nic Brough -Adaptavist-
body: No. We will not know until Atlassian announce it formally.

We can guess a bit though. The cadence since Atlassian started doing LTS releases seems to average out at 15 months (I couldn't see useful patterns in release numbers)

7.13 was August 2021, so I don't think we'll see a new LTS release until we're heading to the end of winter 2022.

But the recommendation is to carry on doing exactly what you are - look at each (major) release and see if it improves things for your users. Balance the benefits for your people against the stability and not-having-to-upgrade-much of LTS releases.

comments: author: Thiago Masutti
body: Hi [@Michael Vidallon](/t5/user/viewprofilepage/user-id/4617037)

I addition to what Nic said, [here's a link to a community post](https://community.atlassian.com/t5/Data-Center-articles/We-ve-given-Enterprise-releases-a-new-name-Introducing-Long-Term/ba-p/1378251) that might have additional information on choosing the appropriate upgrade path for your environment.

Kind regards,  
Thiago Masutti


author: Michael Vidallon
body: Thanks [@Nic Brough -Adaptavist-](/t5/user/viewprofilepage/user-id/781454) and [@Thiago Masutti](/t5/user/viewprofilepage/user-id/1209618) .

We'll discuss these notes.


Tags: confluence-server

server
There is no "Remove tags" checkbox when moving cards
Asked by Igor Ponomarev:

Hi! When I want to copy cards I see checkbox "Tags(1)" to remove tags, but when I wanna move them there is no such checkbox. So when I want to move card to another board I need either:

- remove tags before moving

- copy and delete card

- move and then go to another board and clear unnecessary new tags

Is it a feature or a bug?


Answers:
author: Iain Dooley
body: [@Igor Ponomarev](/t5/user/viewprofilepage/user-id/4043014) this is a feature. When you copy a card, you get the option to copy it with or without some items being included. When you move a card, the assumption is that you want to keep the card in-tact.

You could use a Butler card button to remove all labels:

![2020-08-09 at 11.02 pm.png](https://community.atlassian.com/t5/image/serverpage/image-id/106082iF380B50A81221564/image-size/large?v=v2&px=999 "2020-08-09 at 11.02 pm.png")Depending on how many different boards you regularly move cards to, you could also include the instruction to move the card to a given board in the button, eg. you could have 3 buttons "Move Card to Board A", "Move Card to Board B", "Move Card to Board C" which would remove all the labels and then move the card to the required board.


Tags: label