youngmon/atlassian-qna huggingface dataset:
In wiki markup, how do I sort a column alphabetically?
Asked by Suzanne:

I have 3 columns and would like to sort each column alphabetically.


Answers:
author: Jeison
body: Hi there!

While editing content in Confluence, click on Insert -\> Wiki Markup.

Then you can type the following code as an example of a sortable table with 3 columns:

```
{table-plus:sortIcon=true}|| Name  || Age  || ID  ||| Mark | 20 | 400 || John | 41 | 100 || Anna | 19 | 300 || Gary | 12 | 200 |{table-plus}
```

Modify the attributes and data as you wish.

Cheers :)


author: Suzanne
body: Thanks for your response. My 3 columns do not have headings. It's basically a list of 100 application names separated into 3 columns....no headings.

Name 1 Name 2 Name 3

Name 4 Name 5 Name 5 etc..

how do I sort these columns.

thanks!

comments: author: Jeison
body: I've got nothing right now. Considering your situation, I would modify the code to this:

```
{table-plus:sortIcon=true}| | | || Mark | 20 | 400 || John | 41 | 100 || Anna | 19 | 300 || Gary | 12 | 200 |{table-plus}
```

Will do some research and come back to you if I come up with something better.

Cheers!


Tags: cloud

confluence-cloud
how to define a class for a link?
Asked by Juergen Philipp:

Hi community,

<br />

following situation:  
We want to open all external-links in a new window. Therefore I add the javascript in custom-html as desicriped in other questions.  
That works fine - now comes the 'but' ;-)  
There are also links inside a page or in the page-tree, which are inside the confluence, but the get automatically the class "external-link".

Is there any way to change that class by adding specials to the link?

Thanks for assistance.

best regards  
Juergen


Answers:
author: Matthew J. Horn
body: I'm assuming you're using something like this in your HTML:

```
AJS.$("a[class='external-link']").after(' &lt;img src="/confluence/images/main_page/external_arrow.png" alt="External Link"&gt;');
```

That specifically applies only to anchors (links) that are of the class "external-link". Inter-confluence links should not have that class associated with them. Under what circumstances are you seeing inter-confluence links using this class?

Also, as a side note, I add the following to open a new browser tab when a user clicks an external link:

```
AJS.$("a[class='external-link']").attr('target','_blank');
```

Makes for a nicer user experience, imho.

comments: author: Juergen Philipp
body: Hi Matthew,

no, I'm entering:

*\[back to Dashboard\|http://tl-wiki.teamlines.net:8090/dashboard.action\]*

in the navigation-bar of "Theme navigation"  
and when checking the generated HTML-code by Firebug i.e. I see that automaticall a "class='external-link'" is added.

And I add this:

```
<script> jQuery(document).ready(function() { jQuery(".external-link").attr("target", "_blank"); }); </script>
```

at the Header-part in the "Custom HTML".

I would be happy to know how to add "normal" html-language (which will not be changed/added by the interpreter) ;-) but I guess that's not possible :-(
Getting confluence current space and page
Asked by Rashedul Hasan:

Hi

Can anyone tell me how I will get the current confluence space and page using SpaceManager and PageManager or some other way? If I can get the current space, that would be fine. Later, I'll get the page.

Thanks

Rashed


Answers:
author: Gary
body: Hi Rashedul,

Are you looking to export a page, or space?

Thanks,

Gary


Tags: cloud

confluence-cloud
How can I lock user accounts in Confluence?
Asked by Mick Davidson:

Morning,

Is it possible to create user accounts that automatically lock the user out if they don't login for a certain amount of time? For example, after a month or three months etc?

Cheers.


Answers:
author: Alejandro Conde Carrillo
body: Hi Mick.

I don't know an easy way to do that in the interface, and the last autentication date is not available through the API.

The only way I can think of do that is to write an script which connect to the DB and check all AttributeName='lastAuthenticated' in the table cwd_user_attribute, and then deactivate the users which haven't logged in for the specified time. I recommendo you to do the user deactivation through the API rather than directly on DB.

comments: author: Mick Davidson
body: Alex,

thanks. I'll pass the idea on to the tech team and see what they think.

Cheers,


Tags: user-management
problem with inserting Jira issue on confluence page
Asked by Wieslaw Wozniak:

When I want to add Jira issue on confluence page I always get the same issue list, no matter what I wrote in search field. Next problem is that when I want to create Jira issue I receive message "Received the following HTTP error code from the server:404". Excess of that I have no problem to add an array with "JIRA issues".


Answers:
author: Gary
body: Hi Wieslaw,

Your best bet here is to raise a support issue @ <https://support.atlassian.com>, so that our engineers can log in to your specific instance and troubleshoot.

Thanks,

Gary


Tags: cloud

confluence-cloud
"add page" button on dashboard sending pages to root of space
Asked by Alicia Miller:

Hi,

I noticed that when you add a page from the front page of a space, the page will be created as a child of the front page. But if you add a page from the dashboard using the "Add Page" button it will create the page in the root of the space. I'm finding this is really confusing the hierarchy and general organisation of the space. I'm hoping to either:

a) Change where the page is created with the add page button on the dashboard, so it automatically is created under the front page of the space, instead of the root of the space.

b) Remove the "add page" button from the dashboard completely

Any other ideas? Which one of these options is the easiest to execute? Obviously (a) would be the ideal.

Thanks muchly in advance!

Alicia


Answers:
author: Mark Hrynczak
body: Hi Alicia,

There is an open feature request to have the pages created under the space home page. You can add your vote to the issue - see: <https://jira.atlassian.com/browse/CONF-17908>

Removing the buttons altogether is much simpler. The buttons are provided in a plugin called "Confluence Dashboard Actions". To stop them appearing, just go to the Plugin Manager and disable it.

Cheers,  
Mark


author: Joseph Ramsey
body: Does anyone know of a solution for this in OnDemand? We are unable to configure or disable the "Confluence Dashboard Actions" plugin. Thanks in advance.
How can we remove the dashboard for technical documentation to give to our customers?
Asked by Shreena Patel:

Hi there,

I am aware that Confluence displays its contents publically to all and spaces can be constrained to certain user groups. However, we are using Confluence as a support centre (which has limited access to certain users we predefine) and were wondering, is there a way to publish technical documentation to our customers without them choosing a global space from the main Dashboard page? We know we can use PDF or static html but would like live content. How can we do this? Your help would be most appreciated.

Thanks,

Shreena


Answers:
author: Matthew Hunter
body: Hi Shreena,

Your best option is to [allow anonymous access to Confluence in the global permissions](https://confluence.atlassian.com/display/DOC/Setting+up+Anonymous+Access) and then [allow anonymous users to view the desired space](https://confluence.atlassian.com/display/DOC/Space+Permissions+Overview). Finally you can configure the site home page to be a particular space by following the documentation at [https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page.). So when anonymous users visit your Confluence instance they'll be taken to that space automatically and have permission to view it. :)

Cheers,

Matt

comments: author: Shreena Patel
body: Hi there,

Thank you for your response.

* Giving anonymous access would give anyone access to the pages that we mentioned we only wanted specific clients to view (i.e. client group 1, client group 2-each with their own space and permissions).
  * By anyone, this could also mean our competitors.
* Because we have two sets of client groups, we cannot set just one homepage.
* An alternative is to send them to the Dashboard page for them to choose the space only they have access to, however they will see the popular, all updates, favourite spaces etc. which we don't really want them to see.
* Our original question was, instead of selecting the space from the Dashboard page, can we eliminate this step and take them straight to the space they are meant to see?

Shreena


Tags: cloud

confluence-cloud
Why do plugin installs take about 30 minutes each in Confluence 4.2.2?
Asked by BroadcomS:

Installing or upgrading any plugin in Confluence 4.2.2 takes at least 30 minutes. What's the deal? At this rate, we will have to have a 48 hour downtime to do our production upgrade, just to sit around and wait! Is this a known issue? Anyone else experiencing this? We are going from 3.5.13 to 4.2.2.


Answers:
author: BroadcomS
body: The root cause was the SharePoint Connector Plugin. Thankfully, Joseph Clark solved the problem and released the SharePoint Connector 1.6.1, which resolved the issue for us.


author: RianA
body: Hi, have you check [Server Base URL](https://confluence.atlassian.com/display/DOC/Configuring+the+Server+Base+URL)? Does it match with the address that you use to access Confluence? Is your Confluence exposed to internet? If it doesn't, please refer to [this documentation](https://confluence.atlassian.com/display/UPM/Problems+Connecting+to+the+Atlassian+Plugin+Exchange) and [this one](https://confluence.atlassian.com/display/CONFKB/Universal+Plugin+Manager+Firewall+Configuration). Cheers!


author: Ellen Feaheny [AppFusions]
body: Yep - something tweaky going on in that there Confluence system - dig deeper.. 4.2.2. is faster..


author: Nic Brough -Adaptavist-
body: Nope, ours upload in a few seconds. What does your log file say? Can you try downloading a plugin and loading it manually (via upload a jar, rather than asking the UPM to go to the marketplace)?

comments: author: BroadcomS
body: Looks like a lot of garbage collection going on. We have nearly 100,000 pages, which may have something to do with it.

I should probably just open a support ticket. :-)


author: Nic Brough -Adaptavist-
body: Hmm, loads of GC is probably the cause of the slowness, but you should be seeing slow responses all over the place, and I can't pin down 100k pages as a direct cause.

I take it a manual upload of a plugin also runs really slowly?  

I would indeed be thinking about a support call, but after looking at the memory/JVM settings to make sure they are sensible (and my usual trick is to use the wrong letter in a memory setting, so if you're anything like me, check your spelling/typing)
System Error Has Occurred When Setting Up Confluence on Win2K8 Server
Asked by Cara Rozelle:

A system error has occurred --- our apologies!

Please ask your Confluence administrator to create a support issue on Atlassian's support system at <http://support.atlassian.com> with the following information:

1.a description of your problem and what you were doing at the time it occurred

2.a copy of the error and system information found below

3.a copy of the application logs (if possible).

Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.

Thank you!

this happened several times during the day, attempting several different setups. Last one at 4:30pm - 4:33pm. I have uploaded the Log files.


Answers:
author: Bruna Griebeler
body: Hello Cara  

I believe that you already solved the problem but anyway there's a tip:  

When something like that occurs you can access the **atlassian-confluence.log** and try to find the last start of confluence ("starting confluence" string). After that keep scrolling down until you find an ERROR or FATAL line.  

When you do, you can copy that line and paste it on [confluence.atlassian.com](http://confluence.atlassian.com) to search for a solution.  

If you don't succeed in your research, don't worry.

Open a ticket on [http://support.atlassian.com](http://support.atlassian.com%EF%BB%BF) and let us help you. :)
Error when attempting to setup confluence on a new server.
Asked by Cara Rozelle:

A system error has occurred --- our apologies!

Please ask your Confluence administrator to create a support issue on Atlassian's support system at <http://support.atlassian.com> with the following information:

1.a description of your problem and what you were doing at the time it occurred

2.a copy of the error and system information found below

3.a copy of the application logs (if possible).

Your Confluence administrator can use the support request form to create a support ticket which will include this information.

We will respond as promptly as possible.

Thank you!

This happened at approx. 4:30pm to 4:33pm. I have attached the most recent log files.


Answers:
author: LuizA
body: Hello Cara,

Just per this message will be a little hard to find the root cause (it's a generic message), so to give us a better view about the problem \& scenario, please let us know the following:

\* If there's some specific error message in the "atlassian-confluence.log" - if so, please paste it here

\* Describe to us the steps that you've performed in this setup - so we can have a better view about the procedure that you're following

Kind Regards,

LJ.


author: BernardoA
body: In this case I believe the best way to investigate is create a support ticket and attach the logs first.
Ability to cancel and log off a user
Asked by Jim Weeks:

Situation: User has a page open for editting, forgets this is open and leaves for home or vacation

Page is locked for edit by other users until the first person saves or cancels the edit

Question: Is there a way to set a timeout, say 1 hour on a page open for edit. If not saved within 1 hour it cancels changes and logs user off the system?

thanks in advance


Answers:
author: AlysonA
body: Hi Jim,

I'm afraid there isn't a way, but if you're a Confluence Administrator you can probably login to this user's account (by changing his/her password) and cancelling the edition. Or you can pretty much save the page and overwrite the changes made by this user.

Cheers!
PDF Stylesheet Customization - Generating Bookmarks (page-breaks) for H1 and H2 headings.
Asked by Frank Frank:

Hi...

Can someone share with me some confluencedefaultpdf.css customization examples - that demonstrate

the control/generation of PDF bookmarks...

I'd like to generate bookmarks - according to headings h1/h2/h3 - in a manner similar to the TOC (Table of Contents Macro). This seems to me - a very common requirement, referenced many times in documentation/forums - but no example anywhere ?

If found the following online - can someone help - or forward me a link that explores this type of customization.....

Thanks

```
.pagetitle{page-break-before: always;}
```

From:

<https://confluence.atlassian.com/display/DOC/Advanced+PDF+Export+Customisations#AdvancedPDFExportCustomisations-RelatedTopics>

<https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF#CustomisingExportstoPDF-PageBreaks>

See:

[https://answers.atlassian.com/questions/30169/confluence-export-to-pdf-generate-bookmark-index](/questions/30169/confluence-export-to-pdf-generate-bookmark-index)

[https://answers.atlassian.com/questions/4625/pdf-export-creates-bookmarks-at-end-of-prior-section](/questions/4625/pdf-export-creates-bookmarks-at-end-of-prior-section)


Answers:
author: Ren? Lein
body: That is exactly what i am looking for, too. Has anybody an answer? Unfortunately pagebreak just isnt enough. I also have found this issue, but nobody seems to care :-/

<https://jira.atlassian.com/browse/CONF-9474>


author: Frank Frank
body: See comments... for link

Question has been answered already:

1) You can insert a user-macro to do this...

```
## Macro name: pagebreak## Has body: NO## Generates: HTML markup&lt;div id="pagebreak" style="page-break-before:always;"&gt;&lt;/div&gt;
```

2) OR You can use CSS - in Confluence\>Admin\>LookFeel\>PDFExportStylesheet

```
div.pagebreak {page-break-before: always;}
```


author: Frank Frank
body: OK

I'm able to add PageBreaks - now - at any HTML element I want ?

H1, H2... or DIVs of a certain 'class'.... BUT this does not seem to create bookmarks in the generated PDF as I was led to believe my the documentation ?

Any thoughts ?

This has been answered here:

[https://answers.atlassian.com/questions/9558/page-breaks-in-pdf-s](/questions/9558/page-breaks-in-pdf-s)

1) You can insert a user-macro to do this...

```
## Macro name: pagebreak## Has body: NO## Generates: HTML markup&lt;div id="pagebreak" style="page-break-before:always;"&gt;&lt;/div&gt;
```

2) OR You can use CSS - in Confluence\>Admin\>LookFeel\>PDFExportStylesheet

```
div.pagebreak {page-break-before: always;}
```


Tags: css

export

pdf

stylesheet
SERPs, login/logout, and Label List pages have no title
Asked by Matthew J. Horn:

When I perform a search in Confluence 4.2.1 and land on a SERP (result page), or when I click on a label and land on a page that lists ALL the pages across all spaces that match that label, the title in the browser's tab does not appear correctly.

For example, on the SERP, the title shows literally as "$title - DevCenter".

The logic for this appears to be in the Global Layout:

```
#if ($sitemeshPage.getProperty("page.spacename"))    &lt;title&gt;$title - $sitemeshPage.getProperty("page.spacename")-#siteTitle()&lt;/title&gt;   #else     &lt;title&gt;$title-#siteTitle()&lt;/title&gt;  #end
```

But $title is being rendered literally, which I guess means that it has no value. Ideas?


Answers:
author: Matthew J. Horn
body: After a brief investigation, I changed $title in the decorator to $sitemeshPage.getTitle() in the main decorator.


author: Matthew J. Horn
body: Additional info: The login/logout page also shows "$title" in the browser tab rather than "Log In" or "Log Out". Atlassian's doc page shows the correct title, though:

<https://confluence.atlassian.com/login.action?logout=true>

Look at the tab in your browser, and it shows "Log In". I wonder what I might have changed to cause this?


Tags: moderators
iPad support for adding comments on Confluence
Asked by Matthew J. Horn:

We recently began testing our doc site (Confluence 4.2.1) on tablets. Most functionality/layouts/etc work fine, with one exception:

On iPad 1 and 3 (didn't have a 2 handy), when the user clicks on a comment box, no keyboard appears. The user cannot add a comment.

A workaround which I figured out is to click on one of the buttons in the comment box's header, and then the cursor appears in the text field.

I assume this has something to do with not having the proper focus, but I was hoping someone might have a programmatic fix.


Answers:
author: Paul Curren
body: Is it definitely Confluence 4.2.x? I ask because that version will use a dynamically loaded comment editor whereas earlier versions will load the editor on a page refresh.

If definitely 4.2.x then could you try loading the "traditional" comment editor and see if it has the same problem? This would be done by appending the following to your view page URL:

"[showComments=true\&showCommentArea=true#addcomment](http://localhost:8080/confluence/display/ds/A+page+with+macros?showComments=true&showCommentArea=true#addcomment)"

e.g.

[http://localhost:8080/confluence/display/ds/A+page+with+macros?showComments=true\&showCommentArea=true#addcomment](http://localhost:8080/confluence/display/ds/A+page+with+macros?showComments=true&showCommentArea=true#addcomment)

If this works then apart from raising a bug report we have a few work around options. Off the top of my head:

1) You can disable the quick-comment plugin if you can do without it for all clients

2) You can disable just the 'Hide traditional comment mechanism' component of the quick-comment plugin. This will enable the display of the "traditional" add comment button.

comments: author: Matthew J. Horn
body: Sorry, it's 4.2.3, not 4.2.1. I'll see if the traditional comment editor works, but then I'll have to decide if I want to give iPad users slightly less functionality for the greater good.


Tags: comment

ios
Confluence snapshot of list of JIRA Issues
Asked by David Chou:

Given a Confluence page, is there a way to show/save a snapshot of a list of JIRA Issues? So for a given meeting page, it will show the JIRA issues and their statuses at that point time.

I was playing around with JQL, and this query shows the issues that were open in the date range, but some are closed now.

project = TEST and status was Open DURING ("2012/6/25","2012/6/25")


Answers:
author: Angelica Salazar
body: The add-on R4J allows you to do this. Look at Baselines. R4J does not support Atlassian Cloud at this time though.

comments: author: Angelica Salazar
body: Hello @\[deleted\] and [@David Chou](/t5/user/viewprofilepage/user-id/588978)

It's been a while for this post but...

Good news! [R4J Cloud](https://marketplace.atlassian.com/apps/1213064/r4j-requirements-management-for-jira?tab=overview&hosting=cloud) has been released last month, November.

Baselines is currently in our [roadmap](https://easesolutions.atlassian.net/wiki/spaces/R4JC/pages/1091305473/Roadmap) and is expected to be released within 2022.

If you have questions and are interested in a demo of the Cloud version, please reach out to us through [our support portal](https://support.easesolutions.com/). We'd be happy to hear any feedback on the application.

Best regards,  
Angelica


author: Midori
body: You export the snapshot of the issues to a PDF document, and attach that to the Confluence page.

The [PDF Automation Plugin](https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfautomation/server/overview) should be a handy tool to achieve this.


author: Natalie Hobson
body: Bring up the results you want to view on the page in JIRA, on the search page click on "Views" and then right click on "XML" and select "Copy Link Location". Then go to Confluence, and embed the link:

{jiraissues:url=puturlhere}

You can modify the height and width of the field, as well as choose which columns you want displayed, like:

{jiraissues:url=puturlhere\|height=300\|columns=key;summary;status}

comments: author: Natalie Hobson
body: Ah, shoot - just realized you asked for a display of what they \*were\* and not what they currently are. If you use a macro or embed a JIRA url, it is always going to display what the current status is, so if you want a time "snapshot" I would say just use the export to pdf function (or excel) for the search and add that to the page. Of course that's not backwards compatible, but that's probably your best bet for currrent and future needs.


author: David Chou
body: thanks for your comment

i was hoping to utilize the awesome embeded a JQL :/


author: Natalie Hobson
body: As far as I know, even if you use a JQL search to get the same tickets in your results, it's only possible to display what their current values are. I don't think there's a way using a JQL search to get results to display as they were at a former time, unfortunately.


Tags: jira

jql