youngmon/atlassian-qna huggingface dataset:
creating a page in confluence using the Curl PHP
Asked by Chris Johnson:

Hi this is my sample code to test adding a new page.

```
$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, "https://*******.atlassian.net/wiki/rest/api/content/");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, '{"type":"page","title":"inserttitle","space":{"key":"insertspace"},"ancestors":[{"type":"page","id":insertancestor}],"body":{"storage":{"value":"<p>This is a new page</p>","representation":"storage"}}}');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_USERPWD, "myemail" . ":" . "mykey");

$headers = array();
$headers[] = "Content-Type: application/json";
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

$result = curl_exec($ch);
if (curl_errno($ch)) {
  echo 'Error:' . curl_error($ch);
}


```

it gives me an error:

string(316) "{"statusCode":500,"message":"org.codehaus.jackson.JsonParseException: Unexpected character ('i' (code 105)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')\\n at \[Source: com.atlassian.plugins.rest.common.limitrequest.jersey.LimitingRequestFilter$1@2305a82c; line: 1, column: 102\]"}"

Any ideas what the issue is?

Thanks


Answers:
author: Chris Johnson
body: Ok so I have resolved this:

insertspace

is not the name of a space on my instance of Confluence.

I changed it to a valid space name and it worked.

Thanks


author: Chris Johnson
body: I also made the ancestors into an empty array.

Thanks


Tags: cloud

confluence-cloud
Access to the Confluence I created
Asked by Florence Tribolet:

Hello, I lastly created a Confluence for my team and was therefore the admin. I disconnect to see what happens and now, I cannot access my confluence anymore. It tells me that I need to be allowed in the team, but I created it...it's not logical, I think.

Why does it happen? what could I do?

Thank you!


Answers:
author: Srinatha T
body: Hi [@Florence Tribolet](/t5/user/viewprofilepage/user-id/4834076) ,

Welcome to Atlassian community.

When you say created confluence, I believe you mean you installed the confluence by yourself and its a new setup. If you are confident that you are the admin of the site then you can try recovering your password / rights. You can refer the below KB for steps

* [Restore passwords to recover admin user rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html)

I hope the above information helps. Have a good day.!

Thanks,

Srinath T

comments: author: Florence Tribolet
body: Hello, many thanks for your answer!

I tried to suppress my question because in fact, I used the wrong mail address so, it was logical it didn't work...sorry you take time for such a "beginner's mistake" \^\^

Have a nice day!


Tags: cloud

confluence-cloud
Document Approval in Confluence
Asked by Diana Botez:

Hello,

Is there any macro available in Confluence which allows document approval (possibility to add reviewers to docx/xlsx/pdf documents saved in File lists and allow individual file approval)?

Thank you!


Answers:
author: Vronik
body: Look at this

[https://marketplace.atlassian.com/apps/1216387/approvals-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1216387/approvals-for-confluence?tab=overview&hosting=cloud)

[https://marketplace.atlassian.com/apps/144/page-approval-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/144/page-approval-for-confluence?tab=overview&hosting=cloud)

<https://community.atlassian.com/t5/Confluence-questions/Document-approval-process-in-Confluence/qaq-p/1108576>


Tags: server
Database is not running
Asked by balan:

We have observed that database is running. while accessing Jira/Confluence getting below error.

#### Database: Database connection failed {#toc-hId--478980145}

Confluence failed to establish a connection to your database.  
This could be because:

* Your database isn't running
* The configuration of your confluence.cfg.xml file is incorrect (user, password, or database URL etc.)
* There is a network issue between Confluence and your database (e.g. firewall, database doesn't allow remote access etc.)

![JIRA_confluence_db issue.JPG](/t5/image/serverpage/image-id/189505i382B8C8BCDAE6C12/image-size/large?v=v2&px=999 "JIRA_confluence_db issue.JPG")


Answers:
author: balan
body: *** ** * ** ***

The issue is resolved now.
pagetreesearch macro not working as expected
Asked by Ron Kaledas:

I am using the {pagetreesearch:root=root page name} macro in the sidebar...it usually works, but when I'm in certain pages in the space it only searches the attachments on that page, rather than the whole space.

I tried "rootPage=" as I found here in the questions, but that then said "root page not found" and the search button was greyed out.

What am I doing wrong?


Answers:
author: Ron Kaledas
body: (I hope this is okay to add more info this way?)

as possible additional information, I've noticed when I search that the search string comes up as ancestorIds:167714191 AND mysearchstring.

I'm not sure what the "ancestorIds" is supposed to be, other than some type of page id, but if I copy "ancestorIds:167714191 AND" from a search that works, and replace it in the search within a page that doesn't work (i.e. doesn't search the whole space as expected), then click the magnifying glass to redo the search, then the search works. So, how do I get the search to force that "ancestorIds" every time? I thought ":root=my page name" would do that, but no...

Also - it acts like I'm using ":root=@self", even though I put in "my page name" and also tried "@home".


author: Srinatha T
body: Hi [@Ron Kaledas](/t5/user/viewprofilepage/user-id/4817079) ,

Welcome to Atlassian community.

I myself need to explore this macro but i went through the documentation [here](https://confluence.atlassian.com/doc/page-tree-macro-163414255.html#PageTreeMacro-Changethemacroparameters). I think you should specify the space name to search on that entire space. Also, you might be interested in this [Livesearch](https://confluence.atlassian.com/doc/livesearch-macro-163415902.html) macro.

I hope above information helps. Have a good day.!

Thanks,

Srinath T

comments: author: Ron Kaledas
body: I actually am specifying my space name (where I specify "root page name" in the question), which is why I'm wondering why it isn't actually searching the space name when I'm within certain pages.

I also saw livesearch, but that seems to search all spaces, or at least more than what I'm looking to search.

So, still wondering why it's not starting from my root page no matter what page I may be looking at...

Thanks!


Tags: cloud

confluence-cloud
How to use Page Properties Report to refer to same page?
Asked by Peter Wilhelm:

I want to use Page Properties Report in a template to summarize content found elsewhere on the same page. The idea here is to bubble important information here up to the top of the page for something of an executive view while allowing that content to live on the page where it makes sense section-wise.

I've found that if I create the Page Properties Report to specify the label I'm using, specify space as "Current Space", and specify title as the exact page title I'm creating (when testing as just a normal page), this works fine and I get the desired single row of data summarized where I want it. However I can't figure out how to refer to the page more dynamically so users don't have to remember to go specify the exact title within this macro each time they create a page using the template I'll create. I see that the "with parent" and "with ancestor" options for this macro now have a "Current Page" option, which I thought would do the trick, but apparently a given page's "parent" and "ancestor" doesn't include itself -- I tried this both using the "Current Page" option as well as just specifying the exact current page via the dropdown selection, but in those cases it just says "No content found". (To be clear here, I don't want to create child pages under this page to contain the content that I want to pull from for the report - I want the content on the page itself.)

I don't see anything like "Current Page" in the "with title" filter, or any other way to do this. Can anyone enlighten me on options I haven't considered?


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Peter Wilhelm](/t5/user/viewprofilepage/user-id/178209) ,

The [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) app (the add-on that we develop) provides the [Table Excerpt/Table Excerpt Include](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Excerpt+and+Table+Excerpt+Include+macros?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) macros that work similar to the standard Page Properties/Page Properties Report but allow you to collect multiple-row tables.

Our macros allow you to collect excerpts with a certain names from the current page as a location (you can choose this option in the menu).

Maybe this may help.


Tags: confluence-server

page-properties-report

server
Submit a Request on Confluence
Asked by Sreekanth:

Hi,

I am looking for information on how to submit a request on the confluence page and track it through JIRA. example: User can submit a request to the team asking to update fields.

How it can be done in Confluence, do we have any forms ?

Thanks


Answers:
author: Srinatha T
body: Hi [@Sreekanth Reddy Ankilla _CONT_](/t5/user/viewprofilepage/user-id/4833057) ,

Welcome to Atlassian community.

You can do with many apps available in the atlassian market place. One recommendation would be to check out on [ConiForms](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=cloud&tab=overview).

But do not restrict yourself to this one and explore all the other options available in market place. Here is the [list.](https://marketplace.atlassian.com/search?product=confluence&query=form)

I hope the above information helps. Have a good day.!

Thanks,  
Srinath T
Permission on pages
Asked by Robert Pineres:

Hello,

Two questions.

1. Are the permission adjustments made via the bottom left permissions or the padlock on the top of the page?

2. How can I publish a page for only one person to see besides myself. If I add a child page and publish, everyone can see it.

Thank you.


Answers:
author: Peter Wilhelm
body: Use the padlock at the top of the parent page and set the value in the dropdown at the top of the Restriction popup to "Viewing and editing restricted". Then you should see Everyone "has no access" and you can add individuals below that to grant access to either view or edit as needed. Then on child pages, you should see the padlock icon is there too. Click that and it should say "There are inherited view restrictions." That's referring to the parent page's restrictions, meaning all children/below will have the same restrictions as the ancestor page where you initiated them. You can set additional restrictions on certain children/below if you like also.

comments: author: Robert Pineres
body: Thank you for your explanation. Greatly appreciate it! :)


author: Mikael Sandberg
body: Confluence is using three different permissions, global, space and page restrictions. Permissions on a space is adjusted under space settings, and if you have the right permission you can set page restrictions on who can view and edit a page. View permissions are inherited down to child pages, edit permissions are not inherited down.

So for you second question, all you would have to do is add the other user to the page restrictions and give them at least view permission.

comments: author: Robert Pineres
body: Thank you for the great explanation on different levels of permissions.

Let me explain better my 2nd question. I am learning to be an admin. I want to create a page for someone and myself to create this page with no one else to have view access. Will, it be better to put it in my personal space for now and then move it once done to a public page to inherit permissions as a child page?

Or

Is there a better and easier way?


Tags: cloud

confluence-cloud
Table Excerpt & Filter with multiple tables, only display filtered data
Asked by jacque_french:

Hello, I have a Table Excerpt and Table Filter setup on my page. The table Except includes multiple child pages containing similar tables and notes from different teams. The Table Filter is set to only display notes from weekstart to weekend. Is there a way to hide the header columns from tables that do not fit within that filter constraint? I've received feedback from users that the view is great, but the additional header information means user has to scroll thru many options in order to find notes from this week.

Screen shot for visualization. I want to "hide" or not render charts where relevant date is not found, highlighted in yellow here. I want to only display rows with a date within this week

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


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@jacque_french](/t5/user/viewprofilepage/user-id/4832843) ,

I'm afraid there is no such option - I get your idea, but the header line is used to filter/aggregate your data, it's a crucial line for the source table and it can't be hidden for this case.
Confluence content space/page translators - English/Japanese
Asked by Steve Bain:

I'm looking for a method to translate English content spaces/pages into Japanese. Is there a recommended compatible plugin and/or list of available translation vendors able to provide this as a service?


Answers:
author: K. Yamamoto
body: Hi [@Steve Bain](/t5/user/viewprofilepage/user-id/4772162) - I'm Kenta from Japan Support. Are you looking for a service provided for Confluence Server/DC?

Other than the ones included in [Srinatha](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4686256)'s marketplace list, we've heard some successful use cases achieved with [Scroll Translations for Confluence](https://marketplace.atlassian.com/apps/1211616/scroll-translations-for-confluence?tab=overview&hosting=datacenter). FYI: the Cloud EAP appears to be ongoing, tracked at [DOCS-58](https://k15t.jira.com/browse/DOCS-58). Hope this helps!

comments: author: Steve Bain
body: Thanks [@K. Yamamoto](/t5/user/viewprofilepage/user-id/690171) . Yes, I'm looking for a translation management plugin that supports English-Japanese and works well with Confluence DC and vendors with experience working directly with Confluence bulk content (read: spaces) translation.


author: Srinatha T
body: Hi [@Steve Bain](/t5/user/viewprofilepage/user-id/4772162) ,

Welcome to Atlassian community.

I do not have any specific suggestion but there are some apps in atlassian market pace which does this. I do not want to restrict to one app but to explore some and decide which one suits you the best. To be honest I have not used one and tested. Buthere is the [list](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=translate)

I hope the above information helps. Have a good day.!

Thanks,

Srinath T


author: Marek PIORKOWSKI
body: hi [@Steve Bain](/t5/user/viewprofilepage/user-id/4772162) ! TextUnited has a solution which combines machine translation with post-editing and which integrates with Confluence. TextUnited can also provide professional translators, including Japanese translators. Please contact me if you need more help.


Tags: confluence-server

language-ja

server

translate
How to best track Exported pages?
Asked by Kevin Meehan:

I was wondering whether an export event might show up as a notation somewhere, perhaps within the Page History...   

The purpose is not to restrict, but in the spirit of the collaboration, it would be useful to know if someone needed to export a document to work on it offline... then those who access the page can see that the present version may be in the process of being updated...  

We can always update with a notation within the page itself. Moving it elsewhere might create confusion as to its absence. Create a label for this temporary status?

I am new to the system, so perhaps there is a more obvious way to do this?  

Thank you


Answers:
author: Srinatha T
body: Hi [@Kevin Meehan](/t5/user/viewprofilepage/user-id/4832204) ,

Welcome to Atlassian community. Hope your doing fine.

I think you can use the Audit logs and check for page exports. You might want to check on the same. To be honest we never had the requirement to audit for page exports because confluence is a collaborative tool . So, you will have to experiment on that . Below URL will help you.

* [Auditing in confluence.](https://confluence.atlassian.com/doc/auditing-in-confluence-829076528.html)

Also, you might want to vote for the below feature request.

* [CONFCLOUD-62555 - Audit the page export](https://jira.atlassian.com/browse/CONFCLOUD-62555)

I hope the above information helps. Have a good day.!

Thanks,

Srinath T

comments: author: Kevin Meehan
body: Thank you, Srinatha.

It seems that page export is indeed available as an auditable event, however only through the Data Center, and not Cloud.

I've seen that notion in other posts as well; that this type of feature is not conducive to collaboration... Not sure I agree... the idea is to provide all users a 'heads up' that a particular document may be in the process of offline revision... this helps with collaboration by providing open communication and avoiding confusion.

Ideally the notation would be within the Page History for anyone who accessed the Page to see, and not buried within an Audit log as a security component.

Anyway, I guess it does indicate that there hasn't been a need for this within the community... we'll think of how to implement using existing functionality... Perhaps a Label that could be added/removed as needed to identify this status might work.

Thanks again, your reply is most appreciated.


Tags: cloud

confluence-cloud
Under the "People" tab in Confluence - Team set up but cannot access - I see the "Invite"
Asked by CStanlick@purdueglobal.edu:

Hello, under the People tab in Confluence I set up my Team under "Start a Team" and I have them all invited but none of them has received an Invite and none can get into our Team. am I missing something? Thanks

[THUNDERKAT 215](https://kna-core.atlassian.net/wiki/people/team/c5e4cb90-bb45-464f-b682-68dfa2eb6333#)


Answers:
author: Andy Gladstone
body: [CStanlick@purdueglobal.edu](/t5/user/viewprofilepage/user-id/4832768) Welcome to Confluence!

How are you inviting these users? Only Admins can invite users, and that is done through Administration-\>User Management. You won't see users until they accept the invite and an account is created.

comments: author: CStanlick@purdueglobal.edu
body: Thanks for the quick response [@Andy Gladstone](/t5/user/viewprofilepage/user-id/3498028) I just followed the directions and set up my team and the "Invite" shown next to the team members. I have no idea how they would actually be invited (couldn't find that info). So now it looks like I have to put in a ticket in order to have my invites actually sent?


author: Andy Gladstone
body: I misunderstood how you were inviting your users. They should have received an email. The email will come from your name and (Atlassian) \<[notifications@atlassian.net](mailto:notifications@atlassian.net)\>. I just tested this in my instance and a screenshot of the email the user received appears below. Perhaps this went to the user's Junk email or was quarantined by some internal policy you have since it appears to come from an internal user but is from an external email address?

![Capture.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/189625i655422E26B1F3F1B/image-size/large?v=v2&px=999 "Capture.JPG")


author: Andy Gladstone
body: [CStanlick@purdueglobal.edu](/t5/user/viewprofilepage/user-id/4832768) please let me know if my answer assisted you. If it did, please click on the Accept Answer button so others looking for similar assistance can find it in the future.

Thank you.


author: Andy Gladstone
body: [CStanlick@purdueglobal.edu](/t5/user/viewprofilepage/user-id/4832768) checking in one last time here.


author: CStanlick@purdueglobal.edu
body: I had to undo all the invites and re-invite my Team. It is working now; thanks


author: Andy Gladstone
body: Glad to hear. If my answer provided any help, please mark it as accepted by clicking the Accept answer button.


Tags: cloud

confluence-cloud
Add the card as first one at the list
Asked by Bruna Junckes:

Is there a way of when i create a card the card will be the first and not the last at the list? or even better when i click between cards i create the card at between them, also would be awesome if the cards have a little checkbox at the that we could done the card without need to get inside of it.

best regards


Answers:
author: Dan Ivory
body: Hi [@Bruna Junckes](/t5/user/viewprofilepage/user-id/3502466)

If you hover your mouse/cursor over a card and press 'n' on your keyboard it will create a new card just below the card you are hovering over. So you could do this for the new card to be in position #2 by hovering over card #1.

Or if you want it to be #1 straightway, click on the three dots in the top right-hand cover of your list and then "add card" this will create a card at the top of that list.

When you say "checkbox" do you mean for ticking off the Due Date to mark it as "complete" or do you mean a checklist item?

You can view checklist items without opening a card with this Chrome extension

<https://chrome.google.com/webstore/detail/next-step-for-trello/iajhmklhilkjgabejjemfbhmclgnmamf?hl=en>

Or you can set up a Butler automation to set the due date to complete once you have dragged the card to your "done" column

![Screenshot 2020-09-07 at 18.21.10.png](https://community.atlassian.com/t5/image/serverpage/image-id/109463i5FC7F0250F85EF54/image-size/large?v=v2&px=999 "Screenshot 2020-09-07 at 18.21.10.png")Hope that helps!

Dan
[BUG] Attachment access without login
Asked by Itafr italiano:

Hello,

I would like to share a very strange behaviour, I have an account on trello with my company and we upload some attachement to the diferents tickets. But recently I noticed that we can have an access to the attachment even if we don't have an account on trello ! It's open bar !

Why ? It's a security problem...

PS: Url begin with: <https://trello-attachments.s3.amazonaws.com/>.....


Answers:
author: Iain Dooley
body: [@Itafr italiano](/t5/user/viewprofilepage/user-id/4077351) firstly, yes that's true but you'll notice that the link is very obscure, it's kind of like when you set a Google Doc such that anyone with the link can view. If someone gets the link, they can see it without being logged in, but guessing the link is mathematically impossible.

However, Trello is changing this behaviour:

<https://community.developer.atlassian.com/t/authenticated-access-to-s3/40647?_ga=2.131524687.1164060461.1598221099-299049771.1576052240>
Why can't I add files and folders to Trello from my Google Drive?
Asked by Rhea Anglesey:

I have added Google Drive as my Power Up ( free account). Have authenticated it from within Trello. But the only option I am getting is to 'Create a Slide Presentation' when I am clicking on the drop-down menu of Google Drive. Can someone please help? I'm a teacher, trying to set this up for my team of teachers. we need to be able to add files and folders to our cards .TIA


Answers:
author: Iain Dooley
body: [@Rhea Anglesey](/t5/user/viewprofilepage/user-id/4076985) you can add Google Drive files to the card using the "Attachment" button on the right of the card:

<https://help.trello.com/article/769-adding-attachments-to-cards>

the Google Drive power up gives you a preview of files on the card.


Tags: file

google-drive

upload