youngmon/atlassian-qna huggingface dataset:
How to get the last update of a row of apage through a macro? See attached example image
Asked by Lucas Matiello:

How to get the last update of a row of a page through a macro?

See attached example image![Preenchimento WIKI.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/163113iFDD6CDEA66385A3B/image-size/large?v=v2&px=999 "Preenchimento WIKI.PNG")


Answers:
author: Humberto Gomes
body: Hi,

Any update on this?

I'm looking for a solution to have a timestamp (and name if possible) for each updated table row.

Thanks in advance.


author: Fabian Lim
body: Hi [@Lucas Matiello](/t5/user/viewprofilepage/user-id/4579687)

Try this:

<https://confluence.atlassian.com/doc/writing-user-macros-4485.html>

```
## @noparamsLast Modified: $action.dateFormatter.formatDateTime($content.lastModificationDate)
```

comments: author: Lucas Matiello
body: hi [@Fabian Lim](/t5/user/viewprofilepage/user-id/3131564)

My question is referent updates per row, this command you mentioned seems to me to be for the page as a whole.


author: Lucas Matiello
body: [@Henry See Toh](/t5/user/viewprofilepage/user-id/617193)

can you help me too?

tks


Tags: confluence-server

server
latest updated page details in confluence
Asked by Gurinder Singh:

Hello All,

Can you please let us know how we can fetch latest pages update details for all confluence space ?

Please let me know query for fetching such details in confluence .

Thanks,

Gurinder


Answers:
author: Mykenna Cepek
body: The [Recently Updated macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-recently-updated-macro/) will display this on a Confluence page.

Programmatically, you can use the [Confluence REST API](https://developer.atlassian.com/cloud/confluence/rest/api-group-content/) to query for **Content**, and set:

* the **spaceKey** parameter for the space of interest, and
* the **orderby** parameter to sort by last updated DESC

I'm fuzzy about whether **spaceKey** is required. If so, you might have to query for **Spaces**to get a list of them all.

There are probably [Marketplace apps](https://marketplace.atlassian.com/) that could help you with this too.


author: Kishan Sharma
body: Hi [@Gurinder Singh](/t5/user/viewprofilepage/user-id/4573005) I agree with Mykenna, if you are familiar with REST APIs, you can get your required information programmatically.

If you are using Confluence Cloud, you can also explore [this app](https://marketplace.atlassian.com/apps/1213090/cql-search?hosting=cloud&tab=overview) its free for now, using which you can display last modified pages in your space.


Tags: cloud

confluence-cloud
page properties report macro no content found
Asked by Daria Torba:

I have taken all steps to set up a Page Properties Report--

Nested a two column table, with the first row being a header row, inside a 'Page Properties' macro.

Labeled each page the same label, in my case, 'status'

Created a page where I have a Page Properties Report, Label is 'status' and it is searching in 'My Current Space'

and there is no content found. Please help!


Answers:
author: Brant Schroeder
body: [@Daria Torba](/t5/user/viewprofilepage/user-id/4581506) Welcome to the Atlassian Community

Everything sounds correct for the[page properties macro.](https://confluence.atlassian.com/doc/page-properties-macro-184550024.html) Can you share some screen shots of both pages.


Tags: confluence-server

server
Restore deleted pages from confluence
Asked by Gurinder Singh:

Hello All,

Can you please let me know how we can restore deleted page from confluence if page are permanently deleted from "'trash folder"' as well.

Let me know if we have any backup available in confluence for all spaces or what are the possible ways to restore deleted pages (except trash folder).

Thanks,

Gurinder


Answers:
author: Abraham Durrant
body: Hey [@Gurinder Singh](/t5/user/viewprofilepage/user-id/4573005) ,

Is this for Server or Cloud Confluence?

If for server, and you have a recent backup (fingers crossed):

* You will have to restore your backup on a different server (so as not to disrupt any changes that have occurred in other spaces/pages on your production server)
* Once that is complete, you can export the space from your newly restored server
* Then, Import the space onto your production server

If for Cloud, you will need to create a support ticket with Atlassian and ask for a recent backup (or see if they are able to restore the specific space you need).

Hope that helps.

Abe

comments: author: Gurinder Singh
body: Hi [@Abraham Durrant](/t5/user/viewprofilepage/user-id/4205972)

Can you please provide me link where i need to create ticket to atlassian support Team?


author: Abraham Durrant
body: [@Gurinder Singh](/t5/user/viewprofilepage/user-id/4573005) Here you go. <https://support.atlassian.com/contact/>

Hope they can help you!

-Abe


author: Josep Mulet Pedro
body: Hi [@Abraham Durrant](/t5/user/viewprofilepage/user-id/4205972)

I haver the same problem and I've tried to contact support following the link you posted but it doesn't give me the option

![Screenshot 2023-08-08 at 13.30.57.png](https://community.atlassian.com/t5/image/serverpage/image-id/273877i5AA8B2B34B7E907C/image-size/large?v=v2&px=999 "Screenshot 2023-08-08 at 13.30.57.png")

Do you know what should I do?


author: Bastian Stehmann
body: Hi [@Gurinder Singh](/t5/user/viewprofilepage/user-id/4573005) ,

If pages are deleted from trash, they are gone. Thats the reason, why there is the trash.

You can ask Atlassian via support ticket uf they have a backup, but that will reset the whole site to that point in time when the backup was taken.

comments: author: Gurinder Singh
body: hi [@Bastian Stehmann](/t5/user/viewprofilepage/user-id/1186496) ,

Can you please provide me link where i need to create ticket to atlassian support Team?


Tags: cloud

confluence-cloud
legacy editor not available for new template and new pages
Asked by Christophe Roussin:

I would like to go back to legacy editor for template and new page on confluence cloud


Answers:
author: Fabian Lim
body: Hi [@Christophe Roussin](/t5/user/viewprofilepage/user-id/2519768)

Here is a post that answers your question: <https://community.atlassian.com/t5/Confluence-questions/I-have-the-new-editor-is-it-possible-to-have-the-legacy-editor/qaq-p/1372761>

Regards


Tags: cloud

confluence-cloud
Clearing/Resetting audit log created by IFTTT Rule?
Asked by Glen Collins:

Hello. Is there any way to clear/delete the audit log created by IFTTT rules? I found the reset of the dataset instructions but I cannot find any instructions to clear the auditing creating by the rule. Or I'm just not searching for the correct keyword to find it on the wiki.

Thanks,

Glen


Answers:
author: Alex Medved _ConfiForms_
body: Audit data is also stored in a form - there is no difference. Just the field definitions are taken virtually from the original form + added few more to make the data linkable

You can use REST API and delete by filter or set up an IFTTT in some other form and invoke a delete by filter IFTTT

The form name is your original form name appended with _log

<https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-DeleteConfiFormsEntry>

<https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Server+REST+API+version+1#ConfiFormsServerRESTAPIversion1-DeleteConfiFormsEntriesbyfilter>

<https://wiki.vertuna.com/display/CONFIFORMS/ConfiForms+Server+REST+API+version+0#ConfiFormsServerRESTAPIversion0-Deleteentries>

Alex

comments: author: Glen Collins
body: Great! Thanks! I'll look into this.

Glen


Tags: confiforms

confluence-server

server
Question on IFTTT Integration Rules and auditing
Asked by Glen Collins:

Hello. I have a question on the auditing feature in the IFTTT Integration. I'm trying to understand the audit logs as presented in the wiki. I see the audit log is contained within a tableview and wrapped by a listview. Is there a way to separate out those two views and only have one?

The reason why I'm asking is I'm having trouble wrapping the output so I get scrollbars in all directions. Also sorting so I can see the events by date without having the header column all the time being displayed. Maybe that's the way it works and I'm just not understanding how the auditing works.

Thanks!

Glen


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Really hard to understand what you see just by reading about it.. and without any visuals

What audit are you talking about? About built in audit IFTTT rule or custom implementation?

Alex

comments: author: Glen Collins
body: I was trying to following the demo TOO closely and just made a mistake in my form. Once I looked at the demo again more closely, I was able to figure out what I was doing wrong! :-)

Regards,

Glen


Tags: confiforms

confluence-server

server
Is there any way to include conditions to the topic title?
Asked by Tibor Tatai:

Hi!

I'm trying to add conditional content to topic title (it concerns not including some internal info), I've already tries using a source editor but without success. And I don't think that macro works in this case.

Any tip?

Thanks in advance!

Tibor


Answers:
author: Fabian Lim
body: Hi [@Tibor Tatai](/t5/user/viewprofilepage/user-id/4469900)

Could you please provide an example of the conditions you are trying to implement?

Regards


Tags: new-to-confluence

server
Is it Ok to Upgrade Confluence 6.13 LTS to 7.13 LTS? Please advise.
Asked by Ulta Tools Admin:

Is it Ok to Upgrade Confluence 6.13 LTS to 7.13 LTS? Please advise.

As per release notes Atlassian confirms there is duplication bug is present in both 7.4 LTS and 7.13 LTS Version. I see people are raising the same issue even they migrate to latest LTS. So please advise that we are good to upgrade or we can wait for fix version.


Answers:
author: Moses Thomas
body: [@Ulta Tools Admin](/t5/user/viewprofilepage/user-id/331425) If it is not urgent for you to upgrade to 7.13, then i suggest you wait for the bug fix, but at least report the bug to Atlassain support .

Kind regards,

Moses

comments: author: Xajuan Smith
body: You should upgrade. you have to upgrade mysql version to at least 5.7 I think. dump upgrades work well.


author: Moses Thomas
body: [@Xajuan Smith](/t5/user/viewprofilepage/user-id/4553708) I don't think so, the bug could be a critical bug that could have impact on the performance and service. So i will not upgrade just yet i will wait for a workaround or a bug fix by Atlassian since the upgrade might not be urgent.


author: Xajuan Smith
body: If [@Ulta Tools Admin](/t5/user/viewprofilepage/user-id/331425) 's site is internet facing I have to disagree with direction not to upgrade. I have seen the vulnerability exploited and it uses 6.13 to exploit the usage of the user account on the server and can put the data for your org in jeopardy.

if it is internal only then I think taking a phased approach and rebuild your instance in a vm to test the upgrade. it is how I sorted out our company upgrade.


Tags: confluence-server

server
I'm getting this error when trying to connect to database in confluence. Kindly advice
Asked by Vignesh S:

![confluence.PNG](/t5/image/serverpage/image-id/163038i704CF3B66BA03B6B/image-size/large?v=v2&px=999 "confluence.PNG")


Answers:
author: Kishan Sharma
body: Welcome to the Atlassian Community [@Vignesh S](/t5/user/viewprofilepage/user-id/4580954)

Please check out [this KB article](https://confluence.atlassian.com/confkb/confluence-is-not-starting-with-mysql-and-confluence-java-11-1064089758.html) if this helps and also the answers in below threads -

[MySQL Database not reachable in fresh Confluence installation](https://community.atlassian.com/t5/Confluence-questions/MySQL-Database-not-reachable-in-fresh-Confluence-installation/qaq-p/1773961)

[Confluence is not starting with Mysql and Confluence Java 11](https://confluence.atlassian.com/confkb/confluence-is-not-starting-with-mysql-and-confluence-java-11-1064089758.html)


Tags: confluence-server

server
CQL: Order by created
Asked by Kamal Iqlaas Ismail:

Hi , hope all in good time.

We are trying to sort this CQL by the ***created***parameter as per below CQL.

```
type=page and created >= startOfMonth("-90d")
```

Referred to the [docs](https://developer.atlassian.com/cloud/confluence/advanced-searching-using-cql/#order-by), but got the error when compiling

```
Could not parse cql
```

CQL that has been tried  

```
type=page AND created >= startOfMonth("-90d") AND order by created

type=page AND created >= startOfMonth("-90d") asc 

type=page order by created AND created >= startOfMonth("-90d")

(type=page order by created) AND (created >= startOfMonth("-90d")). 
```

Any pointers we missed or we should look at?

Appreciate your response in advance!


Answers:
author: Lee Wonnacott
body: Hey Kamal!

There doesn't appear to be anything wrong with your initial query but I am curious, where you are attempting to run this query? Are you using a third-party plugin?

Kind Regards,   
Lee

comments: author: Kamal Iqlaas Ismail
body: Appreciate the response Lee!  

We are attempting to run the query from our Golang app.  

Any other info I should add?

Do let me know!


author: Lee Wonnacott
body: Hmm, is the app making a call to the Confluence REST API or is it executing the query via one of Confluence's internal Java API's?


author: Kamal Iqlaas Ismail
body: [@Lee Wonnacott](/t5/user/viewprofilepage/user-id/2958442) , just confirmed with my colleague

We are making a call to the Confluence Rest API.

Hope this helps!


author: Lee Wonnacott
body: I was able to get the CQL query working by making a REST call to the following:

```
 <base_url>/rest/api/content/search?cql=type=page+and+created+>=+startOfMonth("-90d")
```

It might be worth trying the same query within a tool like [Postman](https://www.postman.com/postman/workspace/postman-public-workspace/documentation/12959542-c8142d51-e97c-46b6-bd77-52bb66712c9a) to check it's working as expected before testing it within your app!

I hope you're able to get everything up and running! :D


author: Kamal Iqlaas Ismail
body: Yes, I got that working too, but when you add the order by filter, for me the CQL did not work.  

Yes, familiar with the Postman tool!  

Appreciate the response [@Lee Wonnacott](/t5/user/viewprofilepage/user-id/2958442) !

Have a nice weekend!


Tags: confluence-server

cql

server
Confluence Advanced Search: order results by date
Asked by sergey.kritskiy:

Hello,

I'm very confused: I can't seem to find the way to order the search results by date.

Say I want to find all my post on a specific page (blog): it gives me 2020 results first, not in a particular order, then the 2021 results:

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

I tried to google and several topics from 2019 suggest to use query editor (doesn't seem to be available in Confluence now?) or Filters (also don't seem to be available anymore?)

How do I order the posts? Seems like a very basic thing to ask for.

Thank you,

Sergey


Answers:
author: Vaglienty_ Cheri
body: The original date of this post is 2021. It is 2024 and we still cannot sort by date??? Does anyone know why this feature has never existed?

We are heavy Confluence users; some searches yield over 3k results and there is no way to manually sort through all of those records.

It is very bizarre to have a search function, but no way to sort the results.


author: Thierry Dalon
body: I strongly support the feature request.

The Content by Label macro offers the possibility to sort the displayed results.


author: Brant Schroeder
body: [@sergey.kritskiy](/t5/user/viewprofilepage/user-id/4580883) Welcome to the Atlassian community

You can only search by the last modified, this is the only date functionality available. There is a feature request here for what you are asking for and you should vote for it. <https://jira.atlassian.com/browse/CONFCLOUD-5785>

comments: author: sergey.kritskiy
body: Hi Brant, thank you for your answer. You saying that I can search by the last modified but I actually don't see this option. As you can see on my screenshot the search results aren't ordered by date --- not by created, not by modified: posts from 2020 go first, then from 2021, then some from 2020 again, then some from 2019, then I saw some 2021 in the end of the list.

I voted for the feature request, what upsets me is that this request exists from 2007.

S.


author: Brant Schroeder
body: [@sergey.kritskiy](/t5/user/viewprofilepage/user-id/4580883) yes you can search but not sort by last modified. I agree this would be nice but I am not sure if this will ever change especially since this has been out there since 2006.


author: Thierry Dalon
body: crazy. crazy


author: Georgy Buranov
body: Super strange that is not implemented yet ...


author: Max MacLeod
body: What kind of software in the year 2024 does not allow search results to be ordered?
Synchrony port error
Asked by Neil Anthony Morada:

Hi All,

We encountered synchrony port error last 3 weeks and cant even troubleshoot it until now. I have tried many methods on how to change the synchrony port but still none of it succeed. Do you have any new and successful way on how to change synchrony port? Thank you!

-Neil


Answers:
author: Kishan Sharma
body: Hi [@Neil Anthony Morada](/t5/user/viewprofilepage/user-id/4551742)

Have you tried configuring the port (say your preferred port is 9090) by adding below line to /bin/setenv.sh ?  

CATALINA_OPTS="-Dsynchrony.port=9090 ${CATALINA_OPTS}"

Also please confirm your confluence server version.

comments: author: Neil Anthony Morada
body: Hi [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)

Yes sir, I already include this line to setenv.sh file but still no effect.

Our confluence server version is 6.9.1

Thank you for your support sir!


author: Kishan Sharma
body: Thank you [@Neil Anthony Morada](/t5/user/viewprofilepage/user-id/4551742) for confirming. There's was a bug in the past but that affected v6.0.1, where the workaround was to use **-Dreza.port** instead. May be you can try that once, and if that doesn't work too, I would suggest [raising a case with Atlassian Support](https://support.atlassian.com/contact/) directly.


author: Neil Anthony Morada
body: Hi [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991)

I already tried that also and also no effect. Thank for your suggestion! I will raise this to Atlassian Support


author: Kishan Sharma
body: Ah ok, please also post here if you get the solution from them.


Tags: confluence-server

server
How can I get access to user audit logs?
Asked by Sachin Petkar:

Hello all, I am new to this site and need your expert solution of getting the Confluence logs.

There was an security incident in my organization, and wanted to check the User Access Logs (User Access Audit logs) but in the admin panel, I do not get such logs. The logs present in the admin is the user management details but any account login successful or unsuccessful is not recorded

Is there is a way I can get those logs? Any clue, if Atlassian can provide me such logs?


Answers:
author: Kishan Sharma
body: Hi [@Sachin Petkar](/t5/user/viewprofilepage/user-id/4580652)

Welcome to the Atlassian Community! Currently, user access logging function is only available to On-premise version. In Confluence Cloud, in order to view that user access logging you need to install analytics add-on from Atlassian marketplace. Refer [this thread](https://community.atlassian.com/t5/Confluence-questions/How-do-I-turn-on-User-Access-Logging-for-cloud-Confluence/qaq-p/899356) for more details.

comments: author: Sachin Petkar
body: [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) Thank you for your respose.

By any chance, do you have support email id?


author: Kishan Sharma
body: Hi [@Sachin Petkar](/t5/user/viewprofilepage/user-id/4580652) No, you will need to [raise support ticket with Atlassian Support](https://support.atlassian.com/contact/) for further help.


author: Sachin Petkar
body: [@Kishan Sharma](/t5/user/viewprofilepage/user-id/554991) Thank you so much for your support.


author: Kishan Sharma
body: Glad to help [@Sachin Petkar](/t5/user/viewprofilepage/user-id/4580652), if you have found my answer useful, please mark the answer as accepted to help others finding answers to similar query.


Tags: cloud

confluence-cloud
????????????????????
Asked by npd-t-maedak11_coop_kajima_com:

?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????  


Answers:
author: Ryoji Takata
body: ?????????????????????  
**??????????????????????????????????????????**?????????????????????????????

[?????????????????????](https://confluence.atlassian.com/jpns/%E6%97%A5%E6%9C%AC%E8%AA%9E%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/%E6%8A%80%E8%A1%93%E3%82%B5%E3%83%9D%E3%83%BC%E3%83%88%EF%BC%88%E6%97%A5%E6%9C%AC%E8%AA%9E%EF%BC%89%E3%81%B8%E3%81%AE%E3%81%8A%E5%95%8F%E3%81%84%E5%90%88%E3%82%8F%E3%81%9B%E6%96%B9%E6%B3%95)

> ???????????????????????????????????????????????

?????????????????Confluence???????????????????????????????????????????LDAP?????????????????????????
> ??????????????????????????????????????????????????????????????????????????????????????????????????????

??????????????????????????????????????????  
??????????????????????? ?? ???????????????????????confluence-application.log????????????????????  
[Confluence ???????](https://ja.confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html#WorkingwithConfluenceLogs-Applicationlogfiles)


Tags: upgrade
Render Jira form from server within iFrame into Confluence cloud
Asked by Mdu:

There is form in jira server which customer is trying to render with in iFrame in Confluence cloud on the page.

However it show "<https://jira.isometrix.net/jira> - refuse to connect".

Looking at dev tool \>\> network tab \>\> Xframe shows "SAME ORIGIN".

Adding the iFrame Allow extension did not really help.

Is there a way to whitelist the Jira site and have the Jira page displayed on Confluence Cloud?


Answers:
author: Kishan Sharma
body: Hi [@Mdu](/t5/user/viewprofilepage/user-id/4520705) On confluence server this is possible by modifying the configuration files(setenv.sh). For cloud, you will need to raise a [support request with Atlassian Support](https://support.atlassian.com/contact/) for help.

comments: author: Mdu
body: Hi Kishan, unfortunately Atlassian support also couldn't assist as they confirmed its not possbile to have 3rd site displayed on Confluence Cloud and they referred us to Jira support


author: Kishan Sharma
body: Have they mentioned for what reason it is not possible ?


author: Mdu
body: Yes. They just said Confluence doesnt allow for 3rd parties to embed their pages onto confluence, page should be from sameorigin for it to work

This is to prevent from any page injections etc

They recommended to rather attaching a url link which will point to the 3rd party page which that option doesnt work for us


author: Kishan Sharma
body: Thanks for sharing [@Mdu](/t5/user/viewprofilepage/user-id/4520705) I think, as this could make confluence vulnerable to clickjacking they have kept this protection in place. There is already a [suggestion](https://jira.atlassian.com/browse/CONFCLOUD-40640) from few customers for this functionality, you can login with your Atlassian account to vote for it and watch it for further updates.


Tags: cloud

confluence-cloud

jira