youngmon/atlassian-qna huggingface dataset:
How to use the File management capabilities via Rest API?
Asked by Jorge Saavedra:

How to use the File management capabilities via Rest API?

Is it possible to perform all the actions related to file management using just the REST API?


Answers:
author: Vamsi Kandala
body: Hi [@Jorge Saavedra](/t5/user/viewprofilepage/user-id/5113671)

Welcome to the community!

Can you please be specific about what actions you are looking to perform to file management? Do you mean the attachments or pages or blogs etc?

Thanks,  
Vamsi

comments: author: Jorge Saavedra
body: Hi, Thank you for the quick answer.

I refer the actions over the attachments, that includes to upload, delete, search and list, use metadata; and the idea is to have the pages or blogs as the logical grouping of the files but the focus is in the files (attachment) management.

Thanks,


author: Vamsi Kandala
body: Hi [@Jorge Saavedra](/t5/user/viewprofilepage/user-id/5113671)

You can check out the examples and API calls here:

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

Hope this helps.

Thanks,  
Vamsi


Tags: cloud

confluence-cloud
Anonymization
Asked by Robert Egan:

Does Confluence support the same anonymization of usernames that JIRA does?

How is Crowd involved if a JIRA user is anonymized and both JIRA and Confluence are in the same Crowd directory?


Answers:
author: Gerben Heinen
body: In our setup JIRA is connected to an external user directory, and Confluence is using JIRA as its user directory. I had an issue with a disabled user in the external directory, which didn't have a valid email address which could not be fixed anymore in the external directory, and that stopped my cloud migration. I then anonymized the user in JIRA, and then in Confluence it became a @\[deleted\].invalid user. Perhaps this helps you.


Tags: confluence-server

crowd

jira

server
Date picker in Confluence App (Android)
Asked by FrankTrautwein:

I cannot find a way to insert a due date in the Confluence for Android app.

With a single / I get all sorts of formatting and other options, but no date picker.

Assigning tasks to people with the @ works fine. How can I enter a due date to a task in Confluence app?


Answers:
author: Deepak Rai
body: In the Confluence for Android app, you can insert a due date by using the "/" command to access the formatting options and then selecting the "Date" option. This will insert a date picker into the page that you can use to select a due date.

To access the formatting options, tap the "/" icon in the formatting toolbar at the bottom of the page. This will display a list of formatting options that you can use to format your text and insert special elements into the page.

To insert a due date, tap the "Date" option in the list of formatting options. This will insert a date picker into the page. Use the date picker to select a due date, and then tap "Done" to insert the selected date into the page.

I hope this helps! Let me know if you have any other questions.

comments: author: FrankTrautwein
body: Thanks Deepak!

What I tried to say is, the "Date" option is missing from the formatting options here. Samsung Galaxy Tab S8+, Android 13, German UI, it shows:

* Task
* Mention
* Emoji
* Expand
* Table
* Code Snippet
* Info
* Remark
* Success
* Warning
* List
* Layout
* Link
* Numbered List
* Line
* Cite
* Headline 1-3

Items are translated back to English for the matter of this post. Should I be seeing "Date" in here?


author: Nic Brough -Adaptavist-
body: I'm afraid that answer was written by a chatGPT 'bot that has no understanding of Confluence.

It has been turned off now, but I would recommend asking the same question again - a lot of answerers won't look at questions that appear to have answers.


Tags: cloud

confluence-cloud
confluence should support integrating its editor in a iframe.
Asked by timmyaditya:

Hi Confluence Team,

As we know the confluence Editor is feature rich and heavily engineered. Hence they should also provide support to use it in an iframe.

As there is a rest API available for editing a confluence page, but there are a lot of limitations such as attachments are not supported while adding through rest API, custom css are also not supported, and the many more.

Although it would have been great if we could have just provided page id and the page content would be directly available in a iframe, with all content and confluence rich features.

Let me know your thoughts upon this, as it would be quite easy for you to develop this feature, creating a great impact on the developer community.

Thanks,


Answers:
author: timmyaditya
body: Hi,

I am trying to show/edit the confluence page via rest API. But confluence doesn't provide exact page content via their API, which results in UI distortion when I display/publish the content.

Hence I believe confluence should make it easy for us to integrate the editor, upon some sort of authorization.

Also Is there any API from where I can get the exact HTML Content?

I tried

**for fetching content:-**

/wiki/rest/api/content/{pageId}?expand=body.storage, body.editor, body.view, body.export_view,body.styled_view,body.atlas_doc_format,body.editor2,body.anonymous_export_view,body.dynamic

but non of the above gives the exact html same as that of confluence.

**for publishing content:-**

/wiki/rest/api/content/{pageId}  
{  
"version":{  
"number":3  
},  
"type": "page",  
"id": "9240633",  
"title": "content by lighting keyboard with that title",  
"body":{  
"editor"\[as well as "storage"\]:{  
"value"content got from fetch content api along with some of my updates",  
"representation": "storage"  
}  
}  
}


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

Why? What problem would this solve?


Tags: cloud

confluence-cloud
Dashboard after Update 7.19.1
Asked by Thomas Beckmann:

Hello,

After the update to 7.19.1, the news on our Dashboard can no longer be opened. The only way to do this is to right-click and then open in a new tab.  
Anyone have a new idea?

Regards Thomas


Answers:
author: AAMIR ANSARI
body: Hi [@Thomas Beckmann](/t5/user/viewprofilepage/user-id/5113230)

Perform the below steps and check if this solves your problem. .

1. Check if anything is added in Confluence Administration --\>**Sidebar, header and footer**. Take backup of contents and remove it from confluence, refresh the page and check.
2. Check if any custom HTML is added in Confluence Administration --\> **Custom HTML** sections. If added, take a backup of it in notepad or other apps, remove from the confluence and check .
3. Enter **[safe mode](https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html#Disablingandenablingapps-Disablingorenablingallapps(usingSafeMode))** (i.e. disable all user installed add-ons), refresh the page and check. If Issue doesn't exists, then enable add-ons one by one, refresh the page and check which plugin is causing the issue.

Hope this helps.

Thanks,  
Aamir


Tags: confluence-server

dashboard

server
Need to know license cost for My local setup of confluence
Asked by Venkata Bhanu:

Hi

I am planning to buy the confluence product but i dont see the details of cost regarding license for Individual local setup.

I would like to setup confluence on my local windows/linux folder and would like to use it for my content writing purposes and update of videos ,attachemnets etc.

Please could you share us the license cost for same and how long this license would be available


Answers:
author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

See <https://www.atlassian.com/software/confluence/pricing?tab=data-center> for the pricing of server/dc installations.

I suspect you would probably be better off going to Cloud, if you need a lot fewer than 500 users.


Tags: confluence-server

server
Collaborative editing
Asked by Diana:

This page says to head to general configuration and to find collaborative editing there, but it doesnt show up.

I belive the synchronizity setting is on managed by confluence.

<https://confluence.atlassian.com/doc/administering-collaborative-editing-858772086.html>

Anyone knows why it doesnt show up at all?


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

welcome to the Atlassian community!

Your link is referred to a Data Center instance but probably you are on a cloud instance.

At cloud level, collaborative editing is managed by Atlassian and it is activated by default.

Hope this helps,

Fabio

comments: author: Diana
body: Ok thats great, I hope we do.

However on our jira tickets, we dont have collaborative editing, sometimes we lose info when two people dit ticket descriptions. Is there any setting for that to be shared?


author: Fabio Racobaldo _Herzum_
body: Hey [@Diana](/t5/user/viewprofilepage/user-id/5113125) ,

collaborative editing is related to Confluence pages and not to JIRA tickets. For jira tickets the last update will be saved. You can retrieve old changes in the tab history.

Hope this clarifies your doubts,

Fabio


Tags: cloud

confluence-cloud
Chart from Table filtering
Asked by Manouil Gioulountas:

I am using a chart from table macro to present my table data visually. My table has some merged cells.

The issue is that when the user clicks on items in the chart that represent data from the singular rows, the (what should be) joint content from the merged cells is not shown in the filtered source table results.

It is hard to explain in words.

Examples:

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

Is this a known issue and is there a workaround to fix it? T

Thank you


Answers:
author: Stiltsoft support
body: Hi [@Manouil Gioulountas](/t5/user/viewprofilepage/user-id/5020123) ,

As for now, it's expected behavior for the macro. But we've created a ticket for our roadmap and linked your question to it. Once the feature is implemented, we'll notify you here.

Meanwhile, you may use the following workaround: reuse your merged table if required with the help of the Table Excerpt/Table Excerpt Include macros and place the Table Transformer macro before the Chart from Table macro,

Don't change the default SQL query inside the Table Transformer macro. The macro will help you to get rid of merged cells automatically and the filtration within the Chart from Table macro will be done as expected.

comments: author: Manouil Gioulountas
body: Thank you for you prompt reply. I will eagerly await a fix.

Sadly, workaround will not work for me as the merged data is extensive. Though I may use this trick for quick unmerging of large tables.


author: Stiltsoft support
body: Hi [@Manouil Gioulountas](/t5/user/viewprofilepage/user-id/5020123) ,

The fix for the issue has been just released.

For Server/Data Center you need to upgrade to the 9.6.2 version, for Cloud the updates will be pushed automatically but it may take 1-2 days to reach all the instances.


Tags: chart-from-table

filter

table

table-filter

table-filter-and-charts
How to create Pages out of a existing form database with ConfiForms
Asked by migosens IT:

Hi community,

we are using the ConfiForms Plugin to create multiple Pages with customer data out of a csv-File. We create an forms data Entry and a Page for every customer per IFTTT-Rule.

Is it possible to recreate the customer pages from the existing form data without reimport the csv-File?

e.g. we change something in the form, or add a new field to it, we want to apply this change to our existing customer pages which contains views to the existing form.

The actual process for applying the changes ist to change something in the form, export the form data as csv, deleting the existing customer pages and reimport the csv.

That's very annoying because we then need to reassign the fields to the columns at import.

Is there a better way to apply changes?

Best Regards

Robert


Answers:
author: Alex Medved _ConfiForms_
body: Hi

You can set up an IFTTT to recreate your pages that reacts on a change in ConfiForms record (onModified with a condition set to track some field change that you can change via REST API update, for example)

Alex

comments: author: migosens IT
body: Hi Alex,

thanks for the helpful response.

Robert


author: Alex Medved _ConfiForms_
body: There is a "Do not report error" parameter (in the IFTTT macro) that you will need to enable, so it will not report the error when the page with the same title exists, but will just update it with a new contents


Tags: confiforms

confluence-server

server
How to update the page content in confluence?
Asked by atlassianaccount:

How to update the page content in confluence?

I tried the below code but I am getting error at this line$UpdateConfluence = Invoke-WebRequest -Method PUT -Uri ($ConfluenceURL + $Call) -Body $Body -ContentType $ContentType. Could you please help me find the resolution?

$Credentials = Get-Credential  
$MaxJsonLength = 67108864  
$ConfluenceURL = "<https://confluenceurl/wiki/rest/api/>"  
$ConfluencePageID = "xxxxx"  
$Headers = @{"Authorization" = "Basic "+\[System.Convert\]::ToBase64String(\[System.Text.Encoding\]::UTF8.GetBytes(($Credentials.UserName+":"+\[System.Runtime.InteropServices.marshal\]::PtrToStringAuto(\[System.Runtime.InteropServices.marshal\]::SecureStringToBSTR($Credentials.Password)) )))}  
$Call = "content/$($ConfluencePageID)?expand=body.storage,version,space,ancestors"  
$CurrentConfluence = Invoke-WebRequest -Method GET -Headers $Headers -Uri ($ConfluenceURL + $Call)  
$JSONSerial = New-Object -TypeName System.Web.Script.Serialization.JavaScriptSerializer  
$JSONSerial.MaxJsonLength = $MaxJsonLength  
$CurrentConfluence = ($JSONSerial.DeserializeObject($CurrentConfluence))  
$Body = @{  
"id" = ($CurrentConfluence.id)  
"type" = "page"  
"title" = ($CurrentConfluence.title)  
"version" = @{  
"number" = ($CurrentConfluence.version.number + 1)  
}  
"status" = "current"  
"space" = @{  
"id" = ($CurrentConfluence.space.id)  
"key" = ($CurrentConfluence.space.key)  
"name" = ($CurrentConfluence.space.name)  
"type" = ($CurrentConfluence.space.type)  
}  
"ancestors" = @{  
"id" = ($CurrentConfluence.ancestors.id)  
"type" = ($CurrentConfluence.ancestors.type)  
"status" = ($CurrentConfluence.ancestors.status)  
"title" = ($CurrentConfluence.ancestors.title)  
}  
"body" = @{  
"storage" = @{  
"value" = "This is a newly-posted Confluence page"  
"representation" = "editor"  
}  
}  
}  
$Body = $Body \| ConvertTo-Json  
$ContentType = "application/json"  
$Call = "content/$($ConfluencePageID)"  
$UpdateConfluence = Invoke-WebRequest -Method PUT -Uri ($ConfluenceURL + $Call) -Body $Body -ContentType $ContentType  
$JSONSerial = New-Object -TypeName System.Web.Script.Serialization.JavaScriptSerializer  
$JSONSerial.MaxJsonLength = $MaxJsonLength  
$UpdateConfluence = ($JSONSerial.DeserializeObject($UpdateConfluence))


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

welcome to the Atlassian community!

Please take a look to some examples provided in the rest Api section <https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-wiki-rest-api-content-id-put>

Hope this helps,

Fabio

comments: author: atlassianaccount
body: I have already gone through the site but couldn't find an solution for the above script.


Tags: cloud

confluence-cloud
no or invalid license
Asked by ???:

When I use 'Numbered Headings',

'no or invalid license' messages appears.

I used that function until few weeks.

But I can't use Numbered Headings function now.

I have another account and another space(It's also free space).

In that space, I can now use Numbered Headings now.

How I can use Numberd Headings option in my space( <https://lawai.atlassian.net/> )?![??? 1.png](/t5/image/serverpage/image-id/232946i28E60FF256F0855E/image-size/large?v=v2&px=999 "??? 1.png")


Answers:
author: Zoriana Bogutska_Adaptavist_
body: Hi [@???](/t5/user/viewprofilepage/user-id/4965590)

I'm sorry, but there is no built-in feature for Confluence users. You can vote for it <https://jira.atlassian.com/browse/CONFCLOUD-1732>.

Also, you can consider other ready-to-use solutions from Atlassian Marketplace. One of them is [Content Formatting Macros for Confluence](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?tab=overview&hosting=cloud&utm_source=Atlassian-Community&utm_medium=referral&utm_campaign=Comment_no-or-invalid-license_20230104)or the app that @Fabio recommended

Hope it helps. If you have any questions about the first app - let me know, it is developed by my Adaptavist team.


author: Fabio Racobaldo _Herzum_
body: Hi [@???](/t5/user/viewprofilepage/user-id/4965590) ,

probably, you need to add/renew a license for [https://marketplace.atlassian.com/apps/16063/numbered-headings?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/16063/numbered-headings?tab=overview&hosting=cloud)

Try to add a trial license using "Try it free" button on the linked page.

Fabio


Tags: cloud

confluence-cloud

licence
confluence upgraded to 7.19.4, footer has bug
Asked by Syamalatha Mallavarapu:

I have upgraded confluence to 7.19.4.  
when I try to open in browser, on UI I could see

[Terms of Use](http://nimble-s055:6391/display/wiki/Wiki+Terms+of+Use) printing 100 times in the bottom of UI page.

need help to fix this.


Answers:
author: Rilwan Ahmed
body: Hi [@Syamalatha Mallavarapu](/t5/user/viewprofilepage/user-id/5112914) ,

Welcome the community !!

Perform the below steps and check if this solves your problem. .

1. Check if anything is added in Confluence Administration --\>**Sidebar, header and footer**. Take backup of contents and remove it from confluence, refresh the page and check.
2. Check if any custom HTML is added in Confluence Administration --\> **Custom HTML** sections. If added, take a backup of it in notepad or other apps, remove from the confluence and check .
3. Enter **[safe mode](https://confluence.atlassian.com/upm/disabling-and-enabling-apps-273875716.html#Disablingandenablingapps-Disablingorenablingallapps(usingSafeMode))** (i.e. disable all user installed add-ons), refresh the page and check. If Issue doesn't exists, then enable add-ons one by one, refresh the page and check which plugin is causing the issue.
4. Check if someone modified **footer-content.vm** (<https://confluence.atlassian.com/confkb/how-to-edit-the-footer-in-confluence-163415355.html>) and **ConfluenceActionSupport.properties**` files (`<https://confluence.atlassian.com/doc/modify-confluence-interface-text-197745.html>`). `
5. Stop confluence, clear [plugin cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) and **restart**. Check if still issue exists.

Share the screenshot if issue still exists.


Tags: confluence-server

server
How to restore Confluence Cloud Site backup greater than 200MB?
Asked by Bill Skoda:

I have a Aug 2019 Confluence site that I'm attempting to restore.

According to Confluence, "Site import supports zip files with a maximum 200 MB of data (the uncompressed XML files inside the backup zip file) and an unlimited amount of attachments".

My Confluence site backup unzipped is 906MB with the attachments folder being 800MB so I thought I would be fine, however the site imports fails due to size. The restore refers me to "alternative method to restore data", but the link appears dead (<https://confluence.atlassian.com/display/ConfCloud/Migrate+from+Confluence+Server+to+Cloud#MigratefromConfluenceServertoCloud-Step4.Checkthesizelimits>).

Any suggestions on how to proceed? I've poked around and haven't found any paths forward. Thanks.

Bill


Answers:
author: Ollie Guan
body: Hi [@Bill Skoda](/t5/user/viewprofilepage/user-id/22581) ,

Start watching this issue

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

comments: author: Bill Skoda
body: Great thank you I'll check it out.


Tags: cloud

confluence-cloud
Advanced Roadmap won't load
Asked by Jonathan Kerr:

#### I keep getting a "Something went wrong" message every time I try to load my plan. Viewing the logs, I get: {#toc-hId-202852978}

#### Stack Trace {#toc-hId--1604601485}

**{"error":"unexpected-error","errorMessages":\[\],"exception":{"type":"java.util.concurrent.CompletionException","message":"com.atlassian.rm.jpo.env.issues.search.basic.BasicJiraIssueSearchException: com.atlassian.jira.issue.search.SearchException: com.atlassian.jira.issue.search.vsearch.SearchInternalException: Failed to run query","stackTrace":\[{"className":"java.util.concurrent.CompletableFuture","methodName":"encodeThrowable","line":314},{"className":"java.util.concurrent.CompletableFuture","methodName":"completeThrowable","line":319},{"className":"java.util.concurrent.CompletableFuture$AsyncSupply","methodName":"run","line":1702},{"className":"com.atlassian.workcontext.api.WorkContextFunctionWrapper","methodName":"lambda$withContext$0","line":43},**  
**...**

#### The underlying query loads fine so I don't understand why there'd be a BasicJiraIssueSearchException. There should really be some more detail in the exception. {#toc-hId-882911348}


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Jonathan Kerr](/t5/user/viewprofilepage/user-id/5112857) and welcome to the community,

Sorry for asking, but are you on cloud on on premise?

Are you talking about advanced roadmap, or roadmap planner macro on confluence?

The tags you have chosen during the creation of this post, along with what you write on your post, is a little bit confusing.


Tags: cloud

confluence-cloud
Oversized page. How to restore default viewing settings of Confluence, or another fix?
Asked by Krister Gustafsson:

Hi,

I'm using Confluence on the latest version of Chrome (I updated Chrome just now to see if that would fix this bug).

**Problem:**

I zoomed out in a confluence page. Since zooming back in, the text has increased in size but the dimensions of the whole page remain the same. It means that the tool and publish bar up the top of the page remains way off left and right into the margins. I have to scroll to the top of the page and then left quite far if I want to use the text tools, or far right if I want to hit "publish" or "edit".

**Question:**

Is there a way to restore the default viewing settings of Confluence?

Warm regards,

Krister


Answers:
author: Aron Gombas _Midori_
body: Set the zoom level to "100%" in your browser, that's it.

Zooming happens in your browser, Confluence itself has nothing to do with it.


author: Fabio Racobaldo _Herzum_
body: Hi [@Krister Gustafsson](/t5/user/viewprofilepage/user-id/5112852) ,

welcome to the Atlassian community!

If you zoom in all the items, including text, buttons and page layout will increase, so probably you need to scroll up and to the right in order to click publish or edit buttons. To restore the original view you need to zoom out. This is something that happens at client side and it can be managed by the application itself.

Fabio


Tags: cloud

confluence-cloud