youngmon/atlassian-qna huggingface dataset:
How do I order by create date for Page Properties Report Macro?
Asked by TLT:

The default "Sort By" for the macro "Page Properties Report" is "modified date". How do I change this to be the creation date?

![Annotation 2020-08-14 105847.png](/t5/image/serverpage/image-id/106695iE1D203130240361C/image-size/large?v=v2&px=999 "Annotation 2020-08-14 105847.png")


Answers:
author: louis_martineau
body: I know this is rather old but I was solving the same issue for one page of my confluence data center and sorting by "Date" worked

hth


author: Derek Adkins
body: Sort by createdDate

:)

comments: author: TLT
body: Hi,

I tried it and it still looks like that it is sorting by modified date and not created date


author: Derek Adkins
body: Yeah. I see its not working for me either. Sorry. From what I can tell, that sort field is only linked to columns included in the properties. (otherwise it defaults to modified date)


author: Davin Studer
body: If you put in "created" I believe that should do it.

comments: author: Davin Studer
body: Ok, nevermind. I was wrong. Sorry.


Tags: confluence-cloud
Link content from main document so changes affect any pages where the content is reused.
Asked by Sissela Nyberg:

Hi,

I'm wondering if it's possible to have a 'main' document with text that you can link to other pages so the content is reused without having to rewrite it?

I found information regarding excerpt macro but it's important that the linked content gets updated in all pages where it's reused, if an update is done in the main document, and my understanding was that this was not the case with excerpt macro?

I'm grateful for your help!

BR / Sissela


Answers:
author: Nic Brough -Adaptavist-
body: You are wrong about the excerpt macro. If the content the macro is pointed at is changed (i.e. the data in the "main document") then the pages using the macro will be rendered with the new text the next time they are visited (or refreshed)

comments: author: Sissela Nyberg
body: Okay thank you for the correction and thank you for your help :)


Tags: cloud
I can't receive a verification (signup link) email from Confluence
Asked by Gunho Sohn:

When I tried to log-in the Confluence, it says "We sent a recovery link to you at XXXX", but I have never received the link from the Confluence. Any suggestion to resolve this issue?


Answers:
author: Joshua Sneed Contegix
body: Hi Gunho,

Confluence likely sent it and you should follow standard procedure for locating an expected email. Specifically, check spam/junk folders, check for rules that might have captured the email, etc. Cheers!

comments: author: Shannon S
body: Hi [@Gunho Sohn](/t5/user/viewprofilepage/user-id/4050674),

I followed-up and checked our mail server logs, and I can confirm that the email did go out and has been marked as delivered.

Have you still not received that email, and weren't able to find it in your junk mail? If so, you can try to trigger the [Can't Login](https://id.atlassian.com/login/resetpassword) email again.

Hopefully, you will receive it the 2nd time, but if not, let me know, and I can have another look.

Take care,

Shannon


author: Gunho Sohn
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046) Thanks for your feedbacks. It is working well!

- Gunho


Tags: cloud

login
Is there any version control on a Spaces page tree?
Asked by spryce:

I would like to be able to see a history of page location movements or reorganisation.

The original query came from concerns about users accidentally moving pages, which I have done myself with a rogue click of the mouse, but I think we have minimised this to our local team using permissions etc. Unfortunately this could still occur and a user might miss the "undo" option.

Apologies if this is a silly question. Newbie here...


Answers:
author: Ste Wright
body: Hi [@spryce](/t5/user/viewprofilepage/user-id/3026040)

Not that I know of.

There is page history - you'll find information about how it works on [this page](https://support.atlassian.com/confluence-cloud/docs/create-edit-and-publish-a-page/). But this per single page, as opposed to a page tree or the space itself.

You could check the [Marketplace](https://marketplace.atlassian.com/) to see if there is an app which can assist with your use-case? :)

Ste

comments: author: spryce
body: Thanks mate.


author: Matt Reiner [K15t]
body: The only solution I could think of would be to copy the space from time to time to get a snapshot of what the page tree looked like. But I don't believe there's a feature for this.

comments: author: spryce
body: Nice outside of the box thinking. Thanks.  
It will never happen though :)


author: Emre Toptanc? _OBSS_
body: Actually, our app **Baselines for Confluence** does this exact thing.

You can use Baselines for Confluence to create snapshots of pages in a space. The app does not save the actual content of pages but rather saves a set of versioned page links, version numbers and locations. You can open a saved baseline to see the page versions and locations of pages when the baseline was created.

<https://marketplace.atlassian.com/1212963>

EmreT


Tags: cloud
How to insert different tabs inside same content box in one confluence page?
Asked by Wu Yanjun:

![tempsnip.png](/t5/image/serverpage/image-id/106650iB2B703C73D115629/image-size/large?v=v2&px=999 "tempsnip.png")How to insert different tabs inside some content box in the same confluence page? For example, when click tab1 , 2 or 3, only related info display respectively.


Answers:
author: Monique Khairuliana[ServiceRocket]
body: Hi [@Wu Yanjun](/t5/user/viewprofilepage/user-id/4050563) ,

Are you looking for something like what ServiceRocket's [Composition Tabs for Confluence](https://marketplace.atlassian.com/apps/245/composition-tabs-for-confluence) has to offer?

![efbfe0a4-df7e-4c75-92d0-5c61bf9a4f52.png](https://community.atlassian.com/t5/image/serverpage/image-id/106654iCEBC5FF60D7B2DC9/image-dimensions/829x406?v=v2 "efbfe0a4-df7e-4c75-92d0-5c61bf9a4f52.png")


Tags: cloud
Cannot edit confluence page
Asked by KT:

We set-up the confluence 7.1 on our own cloud. From this month we cannot edit the page. We try to find the solution in this community but failed to get the right answer.

![Screenshot 2020-08-14 at 9.43.39 AM.png](/t5/image/serverpage/image-id/106651iC2F7DB1F7BC352EB/image-size/large?v=v2&px=999 "Screenshot 2020-08-14 at 9.43.39 AM.png")


Answers:
author: Joshua Sneed Contegix
body: Hi KT,

Does disabling Collaborative Editing correct this problem? What does Troubleshooting and Support Tools indicate? There may be an issue with the tomcat configuration, something about proxy information in server.xml if I recall. Cheers!

comments: author: KT
body: ![Screenshot 2020-08-15 at 8.28.50 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/106808iFCFCB6C7CAEDFBE2/image-size/large?v=v2&px=999 "Screenshot 2020-08-15 at 8.28.50 AM.png")


author: Manisha Kharga _Appfire_
body: Hi [@KT](/t5/user/viewprofilepage/user-id/4050570)

Please share with us the below details to analyze the issue.

1. What browser this is happening in, and the version. Can you test that this doesn't occur in other browsers?
2. Does this happen on all pages or only certain pages?
3. Does this happen for all other users, or only a few?
4. Are you behind a firewall or a VPN? Can you test outside of the VPN/firewall and let me know if it persists?

Also , refer to this <https://jira.atlassian.com/browse/CONFCLOUD-65514>

Thanks,  
Manisha

comments: author: KT
body: 1. We have tried Chrome and IE. Both failed.

2. All pages.

3. All users.

4. Tried at other site.


Tags: new-to-confluence
When using HTML macro the column widths are truncated
Asked by Sondra Menthers:

[https://www.w3schools.com/code/tryit.asp?filename=GHPVEGWH32CV](https://www.w3schools.com/code/tryit.asp?filename=GHPVEGWH32CV "My Form displays correctly in a browser but not in Confluence")

My HTML code renders perfectly in a website but when I use the HTML macro to insert into a Confluence page all the fields and columns are truncated. I designed the form to fit 100% of the page and as you can see, it is only using a third of the page.

![truncated.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/106635iB91C61E1DEE6B205/image-size/large?v=v2&px=999 "truncated.PNG")


Answers:
author: Alex Medved _ConfiForms_
body: Hi

As developers of the forms plugin, [ConfiForms](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows?hosting=server&tab=overview), we know this very well

Confluence uses own styles AUI, see <https://docs.atlassian.com/aui/8.5.1/docs/forms.html>

And has defaults for all the input fields and much more. See linked doc for more details and consider using their CSS classes to build up a more native (to Confluence) L\&F

Alex

comments: author: Sondra Menthers
body: Thanks, Alex, my forms look much better now.


Tags: confluence-server

html

macro

server
User Macro, Check for empty $body
Asked by jonb:

<https://confluence.atlassian.com/doc/user-macro-template-syntax-223906130.html>

The `$body` object is available if you have specified that your macro has a body

Is there a way to determine if the body is empty? I've tried comparing to empty strings or true/false, but it seems that there's always some whitespace there (\<p\> or \<br\>).

I'm hoping to toggle some functionality based on if the user enters text in the body or not.

(I'm using the simply velocity context user macros)


Answers:
author: Bill Bailey
body: If you know exactly what is in the "empty" body, then you can compare it to that? Something like

if ($body=="\<p\> \</p\>")

Or more complex using RegEx

If ($body.matches("`<p>\s+</p>`"))

comments: author: jonb
body: I will try something like that. It seems like confluence adds it's own \<p\> tags within the body by default, even if the user does not.

I guess those tags evaluate as "whitespace" in html. Is there a way to check for any/all combinations of that? remove any whitespace html tags?


author: Bill Bailey
body: Yes, \\s is for any white space character. To do some experiments to just print out the $body to see what it actually contains. It may be that $body itself is empty, but the macro instance is being wrapped with p tags when the contents are empty -- HTML wants the content to be wrapped with something.

I did check one of my test macros and found this code, which works in the opposite sense

```
#set($display="")
## Check if the body exists
#if($body)
#set($display = $body.trim())
#end
```

If this doesn't help you, please post your macro code.


Tags: confluence-server

macro

server
Can you put Heading Links into Space Shortcuts?
Asked by Ryan Marr:

When I try to paste a Heading link into a Space Shortcut, it appears to truncate the heading link. So that when using it to navigate to a specific heading while on a different page in the Space I'm brought to the top of the page instead of the linked position.  

for example

/#######/Conventions#IP-Addresses  
becomes   
/#######/Conventions


Answers:
author: Bill Bailey
body: Are you using the inset link function, advanced tab? Just pasting wont work.

comments: author: Ryan Marr
body: ![CopyFrom.png](https://community.atlassian.com/t5/image/serverpage/image-id/106648i6227DD6AF63E7B79/image-size/large?v=v2&px=999 "CopyFrom.png")![PasteTo.png](https://community.atlassian.com/t5/image/serverpage/image-id/106649i4A6AF443D30036BA/image-size/large?v=v2&px=999 "PasteTo.png")I copy the link using the "Copy link to heading" and then place it in the Edit Space Shortcuts.   

I am having trouble locating an Advanced tab for Links, to most of my reading the above should work but I'm clearly missing something, something probably pretty obvious in hindsight. If you have a link that describes how to find the Advanced tab please share, or at least a hit for Ol'google.   

Thanks for taking the time to reply.


author: Bill Bailey
body: Ah, I assumed you were placing these short cuts on the space home page. Not sure what version you are on, but it is probably looking for the FULL URL. Which means you are going to have to insert a full link http address, and not shortcut.


Tags: cloud

confluence-cloud
How to get a separate Confluence environment
Asked by Test MJ:

Good afternoon --

I am part of a work group which is currently testing Jira Service Desk and Confluence.

I also created my own test environment with the goal of practicing and figuring out how to use both of these programs.

Whenever I try to access Confluence from my test account, it takes me to my work's confluence.

How do I un-associate the two different accounts?


Answers:
author: Joshua Sneed Contegix
body: Hi Test,

With near zero information, it sounds like you need to use a different URL for your test environment. Try accessing it by IP and then change the base URL, any DNS entries, the tomcat configuration (if needed), and let us know how it goes. Cheers!
Confluence export to PDF and layout
Asked by teresamaiquezhernandez:

Hello,

I'm exporting content to PDF using confluence.

The layout is not preserved when using "Export to PDF".

Even worse, it cuts every text on the left part of the page.

I was considering using Confluence for my business but I really need this option.

I have seen some people dealing with the same problem in 2016 and 2017.

Is this getting solved?

Thank you!


Answers:
author: Thomas Rough _K15t_
body: Hi Teresa,

Had you considered using an app to generate your exports from Confluence? We (K15t) develop [Scroll PDF Exporter for Confluence](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview) which allows users to fully control how content is styled and formatted from Confluence into a PDF export. This includes being able to preserve the multi-column page layouts that can be defined on a Confluence page. If you're interested you can trial the app for free from the [Atlassian Marketplace](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview).

Thanks, Thomas (K15t)


author: Diego
body: Hello there! The behavior you described is indeed a bug that is currently present in the Cloud Platform.

When exporting content to PDF, text within layouts is cut out of the final PDF. Currently, there is no workaround for this other than refrain from using layouts.

Here we can check both reports that point to this behavior:
> * **++*[\[Confluence Cloud\] Pages exported to PDF with page Layouts inside it are cutting off the text margins](https://jira.atlassian.com/browse/CONFCLOUD-68838)*++**
> * [**++*\[Confluence Cloud\] Single column page layout truncates left side of PDF export*++**](https://jira.atlassian.com/browse/CONFCLOUD-59001)

The best course of action would be to vote and watch the reports. Voting helps to increase the report visibility and watching it will keep you up to date with everything posted there.

Let us hear from you!


Tags: cloud
Default logging is not showing any log in Script Console
Asked by Jaesang Kim:

Hi all,

I'm trying to use logging for debugging purposes from ScriptRunner in Confluence.

In the ScriptConsole, I set the imports and calling log info as below

however it doesn't print out any log. I tried to use log.debug, log.error and so on

but nothing works.

**import com.atlassian.confluence.security.login.LoginManager**   
**import com.atlassian.confluence.user.UserAccessor**   
**import com.atlassian.sal.api.component.ComponentLocator**   
**import com.atlassian.user.GroupManager**   
**import java.time.LocalDateTime**   
**import java.time.ZoneId**

**log.info "test message"**

I searched then found there is a way to use custom logs but I'm not sure how I can use it.

If you can provide an example of how to use it, it would be very helpful.

Thank you.

Jaesang Kim


Answers:
author: Will C
body:     import org.apache.log4j.Logger
    import org.apache.log4j.Level ?

    def log = Logger.getLogger("com.acme.CreateSubtask")log.setLevel(Level.DEBUG) ?

    log.debug "foo bar"

This will be enough to get your logging working. and was taken from this page: <https://www.adaptavist.com/doco/display/SFJ/Set%2Blogging%2Bto%2Bhelp%2Bdebug%2Byour%2Bscripts>

comments: author: Jaesang Kim
body: Thank you Will C for the comment but it seems not working for me.

It reads '**No such property : Log for Class : org.apache.log4j.Logger'**

I'm trying this from confluence but not from JIRA. The reference you sent me probably work for jira but not in confluence? Thank you again for your help.


author: ?lvaro Honorio
body: Bit late, but in case anything gets here like I did.

Seems like all you need is these lines:  

```
import org.apache.log4j.Level  

log.setLevel(Level.DEBUG)  

log.info("foo bar")
```

At least for Jira DC v9.4.23 and Scriptrunner v8.30.0


Tags: log

scriptrunner
My Image Attachments keep disappearing
Asked by David Lee:

HI all

After uploading a new image attachment and seeing it in my post, after some time, the images are no longer appearing. When you click on it, i get  

Ouch! We can't load the image.

I removed all attachments from the page and re-uploaded them, but same issue  

David


Answers:
author: Joshua Sneed Contegix
body: Hi David,

It sounds like there is an issue with the attachments storage location. Verify that it is set to a temp directory or someplace where the OS will clear it out. The fact that you see the placeholder on the page means that the app is not deleting it and the pointer remains in the database, but the error indicates the attachment isn't where the app expects it. Cheers!
Custom Markup Syntax
Asked by jonb:

We would like to have custom markup to display keyboard and mouse shortcuts on the page.

For example, type something like (((SHIFT))) + (((A)))

and it translates to icons of the Shift and A keyboard buttons.

Are there any plugins already out there?

How could something like this be achieved?

I have something setup using simple html tags and css in the html macro, but having something more integrated into the editor would be nice.


Answers:
author: Bill Bailey
body: I think you will need to insert graphics of the keys, OR create a user macro takes advantage of your CSS. Or maybe you can just add your CSS to the space CSS to autoformat your shorthand?

comments: author: jonb
body: Yeah, I was thinking CSS and images as needed. but I didn't know if there was a way to interpret the text in the editor.

I've tried just a simple user macro, but it adds the large box in the editor and breaks the flow of text.

![Admin_usermacro_helloworld_macro.png](https://community.atlassian.com/t5/image/serverpage/image-id/106637i4FBEB89372474D99/image-dimensions/270x56?v=v2 "Admin_usermacro_helloworld_macro.png")


author: Bill Bailey
body: Yes that is normal, but it will render properly when you view the page (make sure the macro is set to inline. To have it do otherwise wold require a more complex solution.


Tags: app

confluence-server

macro

markup

server
JIRA Macro for Confluence and concatenating additional confluence table
Asked by Joan O"Neill:

All,

I would like to do the following:

A visual that includes:

1. JIRA stories by a certain order

2. live JIRA information like you get in JIRA Macro filter. JIRA #, summary, sprint, priority, status, issue links

3. additional columns to the JIRA information with text I can input.

I was thinking of: making the confluence section with 2 parts.

Put the JIRA Macro in left part, make a regular confluence table in right part and try to align rows.

I wouldn't mind having to cut/paste the JIRA information from a JIRA search each week if needed.

Suggestions would be appreciated.


Answers:
author: Katerina Kovriga {Stiltsoft}
body: Hi [@Joan O"Neill](/t5/user/viewprofilepage/user-id/1186737) ,

We can recommend to use our app - [Table Filter and Charts for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?hosting=cloud&tab=overview).

It works with the Jira Issues macro perfectly well and you'll be able to create [visualized dashboards](https://docs.stiltsoft.com/display/public/TFAC/Using+Table+Filter+and+Charts+in+Combination+with+the+Jira+Issues+Macro) right in Confluence.

![](https://docs.stiltsoft.com/download/attachments/42242009/story%20points_3.png?version=1&modificationDate=1572272176000&api=v2&effects=border-simple,shadow-kn)

If you need to add more information, for example, to the pivots based on your Jira Issues macro, you can create additional native Confluence table and merge the two tables with the help of the [Table Transformer](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Transformer+macro) macro.

As your hosting is Cloud, you'll need to use the [Table Toolbox](https://docs.stiltsoft.com/display/public/TFAC/How+to+use+Table+Toolbox+macro) macro to nest several macros. Other steps will be similar to the use cases in our documentation.


Tags: cloud

confluence-cloud

jira

table
How to enable auto reminder to task owners
Asked by Jocelyn Shen:

For the tasks assigned with [@someone](/t5/user/viewprofilepage/user-id/1443884) in the meeting minutes, is there a way to enable auto reminder to the task owners one day before the next meeting?


Answers:
author: Diego
body: Hello [@Jocelyn Shen](/t5/user/viewprofilepage/user-id/4050162) !

Currently, reminders for tasks are not a feature in Confluence.

This is the description of the Tasks/Action items in Confluence Cloud:
> ***Action items** - Add action items by using the Action items button in the toolbar and mentioning another user. Whoever you first mention on that line is assigned the action item. Assigning someone an action item looks like this:*
>
> *Items like this show up on Dan Morgan's tasks list under his profile, and he can tick them off as he does them. The due dates turn red if they become overdue. He can also filter them by date, completion, and whether they were assigned to him or created by him from here. If he'd prefer to see these on another page, he can also use the Task Report Macro.*

There are two Feature Suggestions that try to tackle the creation of reminders for tasks:
> * ++***[\[Confluence Cloud\] Tasks Reminder](https://jira.atlassian.com/browse/CONFCLOUD-36087)***++
> * ++***[\[Confluence Cloud\] Tasks' due dates should be notified to users through notification box](https://jira.atlassian.com/browse/CONFSERVER-35150)***++

Looking through Atlassian's Marketplace, I was able to find a third-party plugin that can most likely help you to achieve a similar outcome. Here it is:
> * ++***[\[Atlassian Marketplace\] Handy Macros](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence?hosting=cloud&tab=overview)***++

Inside the Handy Macros Suite, you can use the Handy Reminder macro:
> * [++***\[Stiltosoft\] How to use Handy Reminder macro***++](https://docs.stiltsoft.com/display/public/HMFC/How+to+use+Handy+Reminder+macro)

Let us hear from you!

comments: author: Jocelyn Shen
body: Thank you for the details.


author: NICK_COWLEY
body: 3.5 years since original question raised.

Has there been any progress in enabling an auto reminder facility for tasks as originally requested.

This would be a very useful feature


author: Muhammad Billah
body: We have been asking the same question too; it seems that there isn't yet such feature enabled.


Tags: cloud
Insert Link button not working in Confluence 7.6.2 editor
Asked by Michael Woffenden:

We've just started seeing this as of 7.6.2. Clicking the "insert link" toolbar button has no effect.

Also, trying to insert a link via the insert macro dropdown does not work either.

Has anyone seen this and is it a known bug?


Answers:
author: Yohannes Shenkute
body: I was trying to create list of web links in a tabe format. For the first 3 rows I was able to insert the weblinks using the link (Ctrl+K) button feature. Then I inserted more rows to my table and tried to insert additional weblinks, but this time, the link button only briefly pops up and disappears. I can only see RECENLY VIEWED list without **search or paste a link** and **Display text dialog. Note:** The **Insert**button still shows up but but no way to type the link or display text (they are somehow hidden?)


Tags: confluence-server

server