youngmon/atlassian-qna huggingface dataset:
Update confluence page using rest API
Asked by Naveen Kumar_Appfire:

Hi team,

I wanted to edit the page and add some content to the page without deleting/removing the old content which is present on the page using rest API.

Could you please help me to achieve this using REST API?

Thanks,  
Naveen


Answers:
author: David at David Simpson Apps
body: First, you need to get the existing content using the REST API.

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

Then you need to append the new content to the end of the page and save it back

More details here:  
<https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-id-put>

Also take a look at this previous question for some more help:

<https://community.atlassian.com/t5/Confluence-questions/Append-content-with-Python-to-an-existing-Wiki-Page-via-REST-API/qaq-p/1509335>

comments: author: Naveen Kumar_Appfire
body: While appending the content to the confluence page using the above REST API URL you have shared, Getting the below error.

{  
"data": {  
"authorized": false,  
"errors": \[\],  
"successful": false,  
"valid": true  
},  
"message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: Content body cannot be converted to new editor format",  
"statusCode": 400  
}


author: Kishan Sharma
body: Hi [@Naveen Kumar_Appfire](/t5/user/viewprofilepage/user-id/4345260)

Have you already tried the example given in the [REST API documentation](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-wiki-rest-api-content-id-put) for confluence cloud ? You can try it first on a sample page to see how it works. If you are facing any issues please post here, will be glad to assist.

comments: author: Naveen Kumar_Appfire
body: [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)

Tried that and getting the below error.  
{  
"data": {  
"authorized": false,  
"errors": \[\],  
"successful": false,  
"valid": true  
},  
"message": "com.atlassian.confluence.api.service.exceptions.BadRequestException: Content body cannot be converted to new editor format",  
"statusCode": 400  
}


Tags: cloud

confluence-cloud

rest-api
Manage add-ons - An unexpected error has occurred. Please refer to the logs for more information.
Asked by tirupam1479:

Hi Team,

We are getting the below error,

Manage add-ons - An unexpected error has occurred. Please refer to the logs for more information.

Please help me with this.

Thanks,

Tirupam


Answers:
author: Nic Brough -Adaptavist-
body: When exactly are you getting this error message? As soon as you click on "managa apps", or when you click on one to install? Or click on one to manage it?


author: Kishan Sharma
body: Hi [@tirupam1479](/t5/user/viewprofilepage/user-id/3982424)

Are you getting this error while connecting to the Atlassian marketplace ? In that case you can refer [this KB article.](https://confluence.atlassian.com/upm/problems-connecting-to-the-atlassian-marketplace-273875718.html) OR are you facing this issue while uploading a new app ?

comments: author: tirupam1479
body: Hi Krishna,

Thanks for your response.

I am getting this error while using

izi - LMS for Confluence - Courses \& Quizzes {#toc-hId--1214183293}
--------------------------------------------------------------------

Add-on.

Thanks,

Tirupam


author: Kishan Sharma
body: So you are trying to upload this add on ? Which browser are you using ? have you tried any alternate browser and see if you are getting the same error. Please also check atlassian-confluence.log for any errors while you are uploading the app.


Tags: confluence-server

server
Incorrect display of the "code block" macro inside the "include page" macro
Asked by Aleksey Khorkov:

Incorrect display of the "code block" macro inside the "include page" macro.

Example.

on original page:

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

on Include page:![2.png](/t5/image/serverpage/image-id/162857iB06EAF0814873896/image-size/large?v=v2&px=999 "2.png")

Can you please tell me what could be the problem? These are standard macros, there shouldn't be any problems. There is nothing like this on the server version.


Answers:
author: Logi Helgu
body: Good point...I think include breaks a lot of formatting...sometimes I've used it to my advantage but it's mostly annoyed me...I'd vote for the ticket...and then hold my breath \<3


author: Kishan Sharma
body: Welcome to the Atlassian Community [@Aleksey Khorkov](/t5/user/viewprofilepage/user-id/4579264)

You are right, in the source page if you have a code block macro and if you try to include that page using include macro, it breaks the formatting. This looks like a bug. I would suggest you to raise a [support ticket with Atlassian](https://support.atlassian.com/contact/) for help.


Tags: cloud

confluence-cloud
Restrict alle pages on a space
Asked by Chris Ackermans:

Is there a way to include editing restrictions to all pages of a space, without having to put these restrictions on each individual page?


Answers:
author: Kishan Sharma
body: Welcome to the Atlassian Community [@Chris Ackermans](/t5/user/viewprofilepage/user-id/4579392) !

If you are familiar with REST API, you can write a script to add restrictions to all your pages at once. Refer [this rest api endpoint](https://developer.atlassian.com/cloud/confluence/rest/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-post) for details. From the UI, you have to manually add restrictions on each page.


Tags: cloud

confluence-cloud
Cannot create or edit new pages after upgrading to 7.13.1 (from 7.5.2)
Asked by Andreas Ebneter:

After Updating Confluence (due to security reasons) to 7.13.1 from 7.5.2 I cannot create or edit pages anymore. Every time I try to create or edit pages I see the following error in catalina.out:

A servlet request, to the URI <https://admin.xxxxxx.ch/xxxxx/rest/table-filter/1.0/service/license?_=XXXXXXXX>, contains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected.

As this interrupts important processes, I would urgently need help.

Thanks.


Answers:
author: Andreas Ebneter
body: We found the problem in the meantime.

I had to cleanup the plugins cache, etc. directories because synchrony was not startet correctly after the update.

Thanks


author: Daniel Eads
body: Hi [@Andreas Ebneter](/t5/user/viewprofilepage/user-id/3280767) ,

I see you've got a couple Starter licenses on your account and are ineligible to open an Atlassian support case for these starter licenses.

The URL that's throwing the error is part of the [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server) app by Stiltsoft. First I would recommend updating the app in the **Manage apps**page in Confluence's administration. If it's already up to date, you could also try disabling the app temporarily.

Once that's done, give editing a page another shot and see if it works correctly.

If an app update itself didn't fix it but disabling the app did, I would recommend [reaching out to Stiltsoft support](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=support&hosting=server) for assistance with the app.

Cheers,  
Daniel \| Atlassian Support


author: Dominic Lagger
body: Hi [@Andreas Ebneter](/t5/user/viewprofilepage/user-id/3280767)

I would suggest you to contact to atlassian help:

<https://support.atlassian.com/contact/>

You have to be logged in.

Regards, Dominic


Tags: confluence-server

server
URGENT | System infected - CVE-2021-26084 does NOT bring any relieve
Asked by Nikolaus Rupp:

Hello everybody,

our system has been infected by the

**CVE-2021-26084 - Confluence Server Webwork OGNL injection**

We have a) updated the Confluence instance to version 7.13.1 (running on Debian), applied the patch and restarted the whole system multiple times.

We still have the same problem. Once Confluence is started, the infected script starts up and prevents Confluence from starting.

Any suggestions as to what we can do?


Answers:
author: Kishan Sharma
body: Hi [@Nikolaus Rupp](/t5/user/viewprofilepage/user-id/4579294) Welcome to the Atlassian Community!

Since the vulnerability has been already fixed in v7.13.0+ you shouldn't be facing any issues with it. I would advise raising a [support ticket to Atlassian Support](https://support.atlassian.com/contact/) for immediate attention.


author: Alexis Robert
body: Hi [@Nikolaus Rupp](/t5/user/viewprofilepage/user-id/4579294) ,

you will probably need to quarantine the infected server, and move your Confluence installation to a new system. You would have to copy the Confluence folders (installation and home folders), and adapt your configuration if needed.

Or you can get in touch with an antivirus specialist to get rid of the infected script. The patch is not intended to "cure" the system, but only to prevent further infection.

Let me know if this helps,

--Alexis

comments: author: Nikolaus Rupp
body: Hi [@AL](/t5/user/viewprofilepage/user-id/613614)

that's basically the worst case szenario I have strongly hoped to be able to avoid.

So you're saying, that I can backup installation and home folders and move to a new server? It was my understanding, that I would (at least) need to backup the confluence mysql db as well!?!?

***Furthermore:***   
I could not find detailed explanation on what the injection actually does. Is it "just" rendering the server useless, or is it actually stealing data from the confluence database?

Thanks in advance  

--Niko


author: bill_bailey
body: I got hit with this under Centos. Cryptominer scum. It chews up your memory and CPU so that your Confluence instance is starved. I was never able to fully remove the threat, but I was able to block the websites it was downloading from, so that I could kill the miner and it would not respawn.

My suggestion is to immediately perform a system backup. And I think it is easier to spin up a new instance and then restore your backup to the new instance.

Good luck.


author: Nikolaus Rupp
body: Thanks [@bill_bailey](/t5/user/viewprofilepage/user-id/4421243)for your input.

However, that does not resolve my problem / question regarding the backup / restore process and its safeliness regarding the injection.

[@Alexis Robert](/t5/user/viewprofilepage/user-id/1213386)Can you help?

Thanks a million in advance.


Tags: confluence-server

cve-2021-26084

server
Active spaces list
Asked by Roja Gurram:

Hi All,

1) How to see a list of ACTIVE SPACES in confluence using TSQL command.

2) How to see a list of IN-ACTIVE SPACES in confluence using TSQL command.


Answers:
author: Dominic Lagger
body: Hi [@Roja Gurram](/t5/user/viewprofilepage/user-id/3627350)

There is just one option to an inactiv space and this is when the space is archieved.

Here are the the SQL commands to get this:

```
SELECT * FROM SPACES where spacestatus = 'ARCHIVED';
SELECT * FROM SPACES where spacestatus = 'CURRENT'
```

Regards, Dominic


Tags: confluence-server

server
Limit to number of inline comments
Asked by Veerappan Senthil Kumar:

Hi,

In a page more than 250 inline comments were added, but from 251st onwards got deleted automatically and not listed. If I add a new comment, its getting added, after a while it disappears. Is there any limit on the number of inline comments? Is there a view to all comments?


Answers:
author: Kishan Sharma
body: Welcome to the Atlassian Community [@Veerappan Senthil Kumar](/t5/user/viewprofilepage/user-id/4579244)

Yes, There is a default limit of 250 resolved inline comments that the backend returns and currently, there is no known workaround for this behavior.

There is a [BUG](https://jira.atlassian.com/browse/CONFCLOUD-71410) raised already for this, I would suggest you to vote for it and start watching it for future updates.

comments: author: Veerappan Senthil Kumar
body: Thanks for your quick reply, how do I vote for it? I dont see the option. Thanks.


author: Kishan Sharma
body: You will need to login with your Atlassian Account and click on "**This affects my team** " to vote for it and "**Start watching this issue**" to watch it.

![2021-09-30_15_51_52.png](https://community.atlassian.com/t5/image/serverpage/image-id/162840iA4BD1CD198FCA9FC/image-dimensions/281x96?v=v2 "2021-09-30_15_51_52.png")


author: Veerappan Senthil Kumar
body: Thanks again.


author: Kishan Sharma
body: Glad to help :)


Tags: cloud

confluence-cloud
Looking for the opposite of "Recently Updated Macro"
Asked by Keve:

Hey there,  

So currently I am refreshing our whole Confluence space.  
Since we have alot of sites that haven't been touched in ages, I need a way to display them on a site for our users to view.  
So basically I need the opposite of the "Recently Updated Macro" which as the name tells, shows the most recent updated sites. Is there a way to change how this macro works or is there maybe another macro to use?  

Thanks in advance.


Answers:
author: Kishan Sharma
body: Hi [@Keve](/t5/user/viewprofilepage/user-id/4579120) Welcome to the Atlassian Community ! Are you using confluence server or cloud ?  
If you have access to the Database, you can easily determine the last modified date for spaces by querying it. For example:

```
SELECT spacename, spacekey, lastmoddate FROM spaces;
```

I am not aware of any such macro which can give you that information. If you are fine with third party addons you can explore [Reporting for Confluence](https://marketplace.atlassian.com/apps/186/reporting-for-confluence?hosting=server&tab=overview) from the marketplace.

comments: author: Keve
body: Hey [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)   
Thank you for your warm welcome.  
Since i am not from the IT, I can't tell you exactly if we are using server or cloud based Confluence. I am the space admin and would like to display that info on the front page. With that, our staff can more easily detect outdated articles and update them.  

It's not just me that needs this info, its the whole team and i was wondering if there is an easy way to display, thats all. :)  
Thank you again for getting back to me that fast and I am looking forward to your answer!


author: Kishan Sharma
body: Hi [@Keve](/t5/user/viewprofilepage/user-id/4579120)

Assuming that you have Confluence Server instance, you can create a user macro as mentioned [on this KB article](https://confluence.atlassian.com/confkb/how-to-display-modified-page-dates-in-a-table-1005791769.html) which will display modified page dates in a table.

If you are using Confluence Cloud, you can't create user macros at this point of time on cloud. You can use [this app](https://marketplace.atlassian.com/apps/1213090/cql-search?hosting=cloud&tab=overview) its free for now.


author: Keve
body: Hey [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)   

Thanks for helping me out. Seems like it is actually server based. :)  
With the help of our IT we could create the makro and it works like a charm!  
Thank you for your help.  


author: Kishan Sharma
body: Glad to help [@Keve](/t5/user/viewprofilepage/user-id/4579120) , please mark the answer as accepted if you have found it useful.
Butler Rule Not Working
Asked by Lizzy Colombo:

Hey fam,

I made a new board, created a few template cards for people on my team to copy then fill out a few custom fields into. I then went into Butler \> Rules and made a series of rules. They all flowed together and didn't seem overly complicated but I can't get them to trigger/work. I've tried triggering them as well as a teammate. I just don't know what's happening!

Here is a screenshot of the rules I have made:

![Screen Shot 2020-01-07 at 2.54.54 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/78115iFA96AEC071B8D294/image-size/large?v=v2&px=999 "Screen Shot 2020-01-07 at 2.54.54 PM.png")


Answers:
author: Ludo
body: Hi,

email sending is not available for free account. Replace this action by an another action like

```
post comment?@Lizzy Colombo
```

comments: author: Lizzy Colombo
body: Good to know! I made the change and swapped that command out for the one you suggested, but it's still not working :(

Ideas?


author: Ludo
body: Can you verify ran commands in Usage Log. Pick : Butler \>\> Account \>\> Usage Log.

Other modification to try : replace "is created" by "is added"


author: Michelle McIntyre
body: I found that my butler rule didn't apply when I created a card from the Template.

Eg. rule on board -

when a card is created in the board, set due in 24 hours, and add member @{username} to the card

When you create a card using +Add another card, rule works.

When you create a card using Create from template button, rule does not apply.

This seems to me a bug.

Can we have someone from Trello comment on this one please? thank you.


author: Ludo
body: Hi

For a better visibility with the community, you should post your question outside there. By using this discussion, only lizzy and me are notified about this new post.


author: Michelle McIntyre
body: Thanks Ludo :)

Found a spot to raise it with trello support.

Michelle


Tags: butler

comment

rule
How to undo template creation, or restore activity log & comments
Asked by Barry Nesbit:

I wanted to recreate a board I use with identical lists (but without the cards), so I clicked on the create template button. The result seems to be that my board was permanently turned into a template, and most distressingly, all the activity and comments in the cards have disappeared. This is a critical board in which I desperately need the data in those cards.

How can I undo the conversion of this board to a template and/or restore the activity and card comments?


Answers:
author: Barry Nesbit
body: After reviewing the documentation in further detail I learned I can convert a template back to a board from the same menu area in which the "make template" button is located. Phew.

comments: author: Garrett
body: Glad to hear you found that, Barry. Sorry we didn't catch this and jump in before you found it on your own.


Tags: template
Moving Cards Based On Pre-Existing Custom Field
Asked by Norman Buursma:

I'm trying to do something unique, we have this system where cards move through a board and once they are completed they are moved off the board to a separate "story" board.

The idea is that this "story board" has columns for different types cards (categorized by the custom field). The idea is we use the custom field to assign issue types or problems ie, "Office 365" or "Laptops" then have the cards moved into the columns for those types of problems and see at a glance what issues were having and easily see where hot spots were for the month and eventually the year.

The hope was to have cards move from the regular board directly to columns in story board based on the custom field we populated when we worked the card. I have a butler card button set up that moves cards from the regular board to a "Unsorted" column on the "story board". I then created a script on the story board that is the closest to what I want:

*when custom field "SDS Category (Add As Needed)" is set to "Office 365" in a card in list "Unsorted" by anyone, move the card to the bottom of list "Office 365"*

The issue I'm running into is it only works when the custom field is changed when the card is already in the "Jan - SDS 2020" board. (I mean duh right, it literally says that in the script) If the card is moved to the board with the custom field already populated - the butler script does nothing.

Is this possible? am I just trying to get it do something its just meant to do?


Answers:
author: Ludo
body: hi,

you can create a rule using "joker {\*}" and "{wildcard1}" variables :

```
when a card with custom field "category" set to "{*}" is added to the list "Done", move the card to the top of list "{wildcard1}" on board "story board"
```

See this for details

<https://help.trello.com/article/1156-pattern-matching-and-wildcards>

comments: author: Norman Buursma
body: \*


Tags: butler
Change multiple boards to business account
Asked by Euan Mclaren:

I have recently upgraded my trello account to a Business account from gold, is there an easy way to convert all my existing boards to team boards? I know I can do them individually but I have a lot of existing boards and it would be a lot easier to batch convert them.

thanks


Answers:
author: Esme Crutchley
body: Hi [@Euan Mclaren](/t5/user/viewprofilepage/user-id/1214604)

Unfortunately, as far as I know, you have to move each one individually.

Here's the help link: <https://help.trello.com/article/752-changing-the-team-to-which-a-board-belongs>

Thanks

Esme :)
How to change order of color labels?
Asked by ??????? ???:

Is it possible to change order in colors of labels?


Answers:
author: Adrian Stephen
body: Hi [@??????? ???](/t5/user/viewprofilepage/user-id/3694102)

I believe that your question has been answered here:

* <https://community.atlassian.com/t5/Trello-questions/Is-there-a-way-to-change-order-of-colors/qaq-p/865538>

> No, there's not a way to change the order of labels. Mostly because the labels are all assigned a shortcut key

comments: author: Esteban L?pez Betancourt
body: bad answer anyway. Is there a way to suggest this kind of thing to @\[deleted\] people in order to get a next better version of the software? maybe the ability to disabled shorcuts for colours and drag and drop the colours when you click labels, so simple, users don't even need an explanation, just the drag and drop symbol at the left or the right of colours, as you wish, but please, listen the community,

It will be a simple very great next feature ;)

Best Regards!


author: MKS1
body: Totally agree - want to group them by order that makes sense to me. PLEASE make it WYSIWYG
Invert kanban boards by team members
Asked by ??????? ???:

I have Trello kanban board grouped by process stages (todo, in progress, in review, done). But it is not clear how many tasks have each person in a department (and usually it is a problem to manage all tasks right). Is it possible to invert my kanban board by team members? It would be better to do it with all boards for this team.

May be some powerups have already developed?


Answers:
author: Ludo
body: Hi,

This change option is not avalaible on Trello.

You can only filter by member from an existing board.

<https://help.trello.com/article/972-filtering-vs-searching>
email address question
Asked by Andr?s J?nosi:

Hello Trello Communinty,

Is there any way to make Trello totally forget an email address that was used before?

We have a nwe collegue, who has the same email address (but different name of course :)) like we had for an other collegue before. We would like to invite her, but Trello does not allow us to give a new name to the old, deleted email account.

Thanks for your help,

Bests,

Andr?s J?nosi


Answers:
author: Vini
body: Hello Andr?s,

Can you please send us an e-mail to support@trello.com with that request? Make sure you are sending the e-mail from the address you want to use.

With that we will be able to analyze your request further.
autoically sending emails
Asked by Maxine Hadley:

Hi I am new to trello and setting up a board for my dance school enquiries. This involves many different options of classes taught by various teachers. And I wondered if there is a way of automatically sending a team member when the enquiry reaches booking in stage?


Answers:
author: Ludo
body: Sending email is available oney for paid account.

Replace this action by a butler rule like "post comment".