youngmon/atlassian-qna huggingface dataset:
Parsing data in a table column before saving
Asked by Utkarsh Shukla:

I have a page in Confluence, which contains a table. One of the columns in the table has email addresses. This table content I export to CSV file using Export macro. Then I usually copy all the email addresses from this CSV file column to Outlook and then (Ctrl+K) will list all the email addresses.  
The problem here is that my users, who update the Confluence page columns do not add a semicolon (;) after each email address. Which causes issues when I export the table to CSV then copy and paste the email addresses to Outlook (To or Cc field). Then I have to manually sort out the missing semicolons. The list of email addressses is huge (\~100s) and fixing the list in Outlook is difficult.  
I want to know if there is any control which I could add to the Confluence page, to the column in table containing email addresses. Which could ensure that whenever any of my users (suppose) adds an email address and tries to 'Save' the page but has forgot to add a semicolon after the email address he\\she added. The page will not save and prompt him\\her to add a semicolon.


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Utkarsh,

I can suggest you a quite complex solution using [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on:

* You'll need to create the following structure in your page: ![2017-08-23_14h33_35.png](https://community.atlassian.com/t5/image/serverpage/image-id/5076i980B08E07E22A442/image-dimensions/685x651?v=v2 "2017-08-23_14h33_35.png")There are two Pivot Tables: the first creates a set of unique emails separated by a simicolon based on the source table, the second creates a unique set of emails separate by a space character based on the first pivot table
* As a result you get this![2017-08-23_14h35_14.png](https://community.atlassian.com/t5/image/serverpage/image-id/5077i8097AEF13F0BE6D9/image-dimensions/426x504?v=v2 "2017-08-23_14h35_14.png")
* And then you can export emails to CSV![2017-08-23_14h37_45.png](https://community.atlassian.com/t5/image/serverpage/image-id/5078i8A0AE5407C0E0331/image-size/large?v=v2&px=999 "2017-08-23_14h37_45.png")

So with this solution you don't care is somebody forgot to type a semicolon in a table, you'll get the correct list of emails.

If you find this solution suitable, please, [contact StitlSoft support](https://stiltsoft.customercase.com/forums/support-requests/ideas/create?category=Table%2BFilter%2Band%2BCharts%2Bfor%2BConfluence) to get details on this.
License error
Asked by Carlos Augusto:

I have "An unexpected error occurred." on Trial License generation.


Answers:
author: Maarten Arts
body: Hi Carlos,

Sorry for the late reply, I missed your message since I wasn't watching the atlascrm tag.

Did you manage to get a valid trial license? If not, please contact us via our [Service Desk](https://avisi-support.atlassian.net/servicedesk/customer/portal/10) sowe can so we can help you out.

Thank you,  
Maarten


author: Carlos Augusto
body: I have try Atlas CRM


Tags: atlas-crm

jira
reapply license on a new system?
Asked by mike:

Hi,

We have a small 10 user licensed instance of confluence that I would like to "upgrade" to 6.x before applying it on our big 2000 users instance.

How will I handle the current license, if I also restore a back up of the big instance(db and app-data)?

Will there be some issues to apply the already applied 10 user license to the "new" test instance?

/ Mikael

Bonus assistence:

I am thinking something like this:

\* systemctl stop confluence

\* back up test db.

\* restore prod db to test db. (runs locally on different servers, so no confusion -should- be possible)

\* unpack new confluence.\* point new confluence to restored app-data folder and test db.  
\* change base url\* modify start script to point to new confluence.\* start! =)


Answers:
author: AnnWorley
body: I understand you are restoring the backup of the Production instance's Confluence Home directory and database to a test instance to test a Production upgrade. If that is the case, you don't need to apply the 10 user license. When you start up Confluence the 2000 user license will be there from your backup.

If the 2000 user license is too old to allow you to upgrade, and you want to test the upgrade before buying a renewal, you may apply an evaluation license before you upgrade. Renewals and evaluation licenses are available at [My Atlassian](https://my.atlassian.com).

If the 2000 user license is not expired, and is a commercial license, you can also retrieve a developer license at [My Atlassian](https://my.atlassian.com): [How to use developer licenses and to whom are they available?](https://confluence.atlassian.com/confeval/billing-and-licensing-evaluator-resources/licensing/how-to-use-developer-licenses-and-to-whom-are-they-available).

For the test upgrade, I recommend following: [Restoring a Test Instance from Production](https://confluence.atlassian.com/doc/restoring-a-test-instance-from-production-127369720.html) first. Make sure the instance comes up ok for the old version, and do any license changes needed, then follow [Upgrading Confluence Manually](https://confluence.atlassian.com/doc/upgrading-confluence-manually-255363437.html) to upgrade the 2000 user version in the test environment.

If you do apply your 10 user starter license to the 2000 user instance an error will appear due to too many users for the license: [What Happens When I Reach My License User Limit in Confluence?](https://confluence.atlassian.com/confkb/what-happens-when-i-reach-my-license-user-limit-in-confluence-432801619.html)

comments: author: mike
body: Thanks for clearifying and wish me luck with the upgrade!


author: AnnWorley
body: Good luck - if you run into obstacles, follow up questions are welcomed. :)
member of group
Asked by Anderson Hsu:

Dear partners,

How can we export member list for confluence user group, such as [Confluence user](http://ftconnect.fengtay.com/admin/users/domembersofgroupsearch.action?membersOfGroupTerm=FT%2527s%2BConfluence%2Buser@FT) group, we would like to export group member list , is there sql or tool which we can use ? Thank you.


Answers:
author: Thomas Schlegel
body: Hi,

in which format, do you want the group members?

Is it enough to show them on a Confluence page using the "User List" - macro?

This page can then be exported, e.g. as pdf.
Closing mark-up tags
Asked by Darryl Godden:

I'm running a test on Confluence, so I'm new!

I'm trying to create a form on a template, I'm adding the @ symbol, typing the name of the field and then trying to close the field by typing another @ symbol, however I can't seem to get out of the field, so to speak, pressing returns seems to add another @ symbol and tabbing or arrow keying seems to remove the field from the mark-up.

Here's an example:

![Capture.PNG](/t5/image/serverpage/image-id/5038i19E69865AF5ED8AB/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Stephen Deutsch
body: Hi Daryl,

Are you sure you are using the right markup? Usually @ refers to mentions, so you can reference a person's name in the page. The markup for template variables is $variable_name, where the name of the variable begins with a dollar sign ($).

comments: author: Darryl Godden
body: I can't find the help page where this information was read now! But of course you're right, thanks.
Confluence failing with SQL exception after upgrade
Asked by Brainsquare Atlassian Expert:

I accidentally upgraded Confluence from 5.9.10 to 6.3.3 while the database was unavailable, and now the atlassian-confluence.log file shows SQL exceptions, like these ones:

ERROR: relation "auditrecord" does not exist  
...  
ERROR: column space1_.lowerspacekey does not exist

Is there a way to fix the database scheme?


Answers:
author: AnnWorley
body: I understand you ran an upgrade while the database was unavailable and now you have a case where a 6.3.3 instance is trying to run connected to a 5.9.10 database. I am assuming the application did not start and there is no new data, as there are quite a few database changes between 5.9.10 and 6.3.3.

Unless I am mistaken about what the issue is, the best solution is to restore the database and home directory from backup and then run the upgrade again while the database is available.

Please see the **Before you Begin** section on [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html) for a good checklist, as the upgrade past 6.x is a major one.
Confulence can not startup correctly...
Asked by Alan Jiang:

Hi support

After a server hang and reboot... the Confluence can not startup correctly, the error message is below...how to to with this?

-------------------------------------------------------

Non Clustered Confluence: Database is being updated by another Confluence instance. Please see <http://confluence.atlassian.com/x/mwiyCg> for more details.

Your server id is: BR6C-6KFW-1O9C-Y4IN


Answers:
author: AnnWorley
body: For several possible causes and resolutions, please see the article you posted from the log:

[Confluence will not start due to fatal error in Confluence cluster](https://confluence.atlassian.com/confkb/confluence-will-not-start-due-to-fatal-error-in-confluence-cluster-179439771.html)

Your description matches number 2 under Diagnosis and Resolutions:
> If the problem occurs shortly after startup in a single-node (non-clustered) deployment and it wasn't caused by multiple deployments, see if clustersafety table (in the database) has more than one record. If so, just delete one of them.

To see if there are two records in the **clustersafety** table, please try this SQL query on the Confluence database:

```
select * from clustersafety;
```


author: Reinhard Piltz
body: 1. You seem to have no Confluence in clustering mode  
2. An other instance of Confluence already applies to your database.  
3. Finish this instance or create an additional new database.


author: Thomas Schlegel
body: Hi Alan,

this is not Atlassian support, just a community of Atlassian users like you (most of us).

Did you try the resolutions mentioned on the page?
100% automate the setup of Confluence in a Docker container
Asked by Martin Ahrer:

Using docker-compose and some Dockerfiles I want to fully setup a pair of containers (Confluence+Postgresdb) for production.

I can't have any manual steps in this process. Confluence stores its configuration in confluence.cfg.xml which I have extracted from an existing Confluence instance.

The JDBC and license XML elements have been replaced by variable placeholders such as ${CONFLUENCE_JDBC_USER}, ... etc. They are substituted by using envsubst before

```
/opt/atlassian/confluence/bin/start-confluence.sh -fg
```

is run. All substitutions are applied accordingly. In addition I have removed the

```
<setupStep>complete</setupStep>
```

However upon startup I get an exception

```
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Spring Application context has not been set	at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)
```

**How is it possible to setup a fully functional Confluence instance requiring no manual intervention.** I have done that for other Atlassian products like Bitbucket or JIRA.


Answers:
author: Gert-Jan van de Streek
body: Did you manage to get this automated in the meanwhile?
Ability to hide and unhide page labels
Asked by SUKANTAJ:

Is it possible to keep page labels hidden or collapsed by default with an option to expand if required.


Answers:
author: Thomas Schlegel
body: I didn't heard of a function like that or a plugin that is providing that function.

It should be possible to hide the labels section with a custom CSS, but then you have to take care that you don't hide the add-label-function also.

Then you have to find a way to show the pages labels from within an expand macro. Might be possible, but I wouldn't do that.

Why do you want to hide labels? Maybe there's another way to reach your goal.

comments: author: SUKANTAJ
body: Thanks for your suggestion. But some of our pages have less documentation and more labels due to business reson and the pages are not look that good for users.
New Cloud Navigation - How To
Asked by Terry Stille:

How do I re-order shortcut links in the Sidebar under the new relesase? All my shortcut links have been randomly re-ordered out of sort sequence.


Answers:
author: Robin Rodrigue
body: So far, I have seen no way to do it. I had to delete and re-add in order for shortcuts to appear in the correct order I wanted them in for one space.

For the other spaces, I was mindful and had that space open in a different browser window to I could add shortcuts in the order I wanted them to appear.

I hope they address that soon.
Show space name in recently updated list macro
Asked by Svein_Wang_Dybvik:

In the recently updated list, I want to display the space name in the list. But there is no option for this on the macro. Can I change the output of this macro to incude it?

You can choose to display it using the Content by label macro, so it must be possible.


Answers:
author: Shannon S
body: Hi Svein,

There does not appear to be a way to display the space in the recently updated macro, but I created a feature request for this below:

* [CONFSERVER-53319](https://jira.atlassian.com/browse/CONFSERVER-53319)

In addition, there's a similar feature for the recently-updated-dashboard macro:

* [CONFSERVER-17274](https://jira.atlassian.com/browse/CONFSERVER-17274)

Please vote on those and watch them in order to be updated of any progress!

Kind Regards,  
Shannon

comments: author: Svein_Wang_Dybvik
body: Votes submitted. Thanks


author: Shannon S
body: You're welcome Svein,

Thank you!

Kind Regards,  
Shannon


Tags: macro
Is it possible to configure the look-and-feel of Questions for Confluence?
Asked by Yaacov Weingarten:

Our graphic designers would like to configure the color scheme of the Questions pages or at least the "Questions" button that appears in the topbar menu.

Is there any access to the color scheme of the Questions pages or to the general CSS for all of the question/answer pages?

Thanx


Answers:
author: Vero Rivas
body: Hi [@Yaacov Weingarten](/t5/user/viewprofilepage/user-id/538198)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/doc/changing-the-look-and-feel-of-confluence-147534.html>

<https://support.atlassian.com/confluence-cloud/docs/change-the-look-and-feel-of-confluence-cloud/>

Cheers


Tags: questions-for-confluence
when I embed an HTML macro having SQL Query to create charts, the preview appears but can't be saved
Asked by pico amasha:

I created an HTML macro with Javascript having an SQL query embedded in it. I am using that to create dynamic charts and its working perfectly fine in normal browser. It also works when I put it on confluence, but only in preview mode. It doesnt get saved as dynamic data. I need it to create dynamic charts for confluence dashboard.


Answers:
author: AnnWorley
body: I am afraid you are running into a bug: [Confluence Preview and Save pages containing HTML macro does not show the same result](https://jira.atlassian.com/browse/CONFSERVER-45297)

Please vote and comment on it to emphasize your use case for the development team.

In the meantime, please consider an add-on like Bob Swift's [SQL for Confluence (Pro Edition)](https://marketplace.atlassian.com/plugins/org.swift.confluence.sql/server/overview).

comments: author: Andrey Khaneev _StiltSoft_
body: And to build a dynamic chart based on SQL macro you'll need to use [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro) macro from [Table Filter and Charts](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) add-on.
unpacking PostgreSQL files for Confluence server DB
Asked by admin:

In [this PostgreSQL guide](https://www.postgresql.org/docs/current/static/install-getsource.html) (reccomended for Confluence server),

how do you unpack it? Im running Windows Server 2012, and this is at the edge of my technical knowledge...

ty for any help.


Answers:
author: Nic Brough -Adaptavist-
body: Er, that's the source code for PostGres. If you're asking about unpacking that, you probably are not at a level where you want to mess with the source. I'd strongly recommend finding and using a PostGres installer instead.
I can't Connect with Jira
Asked by Jannis Radke:

We want to use Confluence (Trial) whith an existing Jira installation. But if we try to connect we get:  

Failed to establish application link between JIRA server and Confluence server. For more information, please see troubleshooting guide in our documentation  

We are in the installation-Process. So I can't access any options. So. Any Idea?


Answers:
author: Nic Brough -Adaptavist-
body: If you're in the installation process, you don't really need to be worrying about the application links (which is a little confusing to me because I don't remember them being part of the install).

Complete the installation without them, and then go to admin -\> application links.
DB guide deleted?
Asked by admin:

In this [guide](https://confluence.atlassian.com/doc/confluence-setup-guide-135691.html#ConfluenceSetupGuide-restore), point 4, the links seem broken or the guides deleted? any other guide about this topic is knowd? Ty!

> Check the [supported platforms](https://confluence.atlassian.com/doc/supported-platforms-207488198.html) list to confirm that your chosen database and version is supported.
> See [database configuration](https://confluence.atlassian.com/doc/database-configuration-159764.html) for information on setting up your database, including UTF-8 character encoding requirements.


Answers:
author: Nic Brough -Adaptavist-
body: They are all working for me, so I'm not sure what you're looking at.

comments: author: admin
body: Strage, but now it works. Ty!
How can I get the rest API description of Jira/Confluence-Plugins?
Asked by Daniel Encarnacao:

Hi,

How can I get the basic rest-api-description of jira/confluence rest-apis in a wadl/wsdl/raml/swagger format?  
How does the rest api browser get this information?

I need to export the information of excisting apis to another program.

Best regards  
Daniel Encarnacao


Answers:
author: Thomas Schlegel
body: Hi Daniel,

here you can find them:

<https://docs.atlassian.com/jira/REST/6.2.1/jira-rest-plugin.wadl>

http://\<your.confluence.url\>/rest/prototype/latest/application.wadl

Change the Jira version to the one, you need.

comments: author: Daniel Encarnacao
body: Hi Thomas,

thanks for your answer.


author: Thomas Schlegel
body: You're welcome, Daniel.

If you think, your question is answered, please mark it as answered. With that mark, other users find answered questions more easy. Thank you.


author: Daniel Encarnacao
body: Additional question: It seems like the link gives me only the "/rest/api"- APIs, but I have also APIs like "/rest/adhocworkflows" and others. Is there a way to get a wadl-File with all APIs including every installed plugin/rest/spi etc.?


author: Martin Ebeling
body: Hey,

struggling with the same issue, I created the openAPIv3 at least for jira documentstions here: <https://github.com/porscheofficial/jira-server-edition-openAPIv3>

please feel free to add the confluence API as well :)


Tags: developer

jira
no possible search on a page
Asked by Uwe Speckels:

Hello community,

I want to build a search on the top of my glossary page. If I fill in a word in the field then nothing will happen - no jump to the result.

I wish if I fill in a word then the result - where the word line is written - will jump to this line.

I tested the live-search and only the search but nothing happened.

Who can give me a hint?

Thanks.


Answers:
author: Uwe Speckels
body: Thanks, Robin.


author: Robin Rodrigue
body: Ah. I see what you're talking about. I tried a few different ways and received the same results. Aside from creating an index w/anchors or using headings functions in conjunction with the table of contents (which I would shy away from), you may not be able to accomplish what you are attempting via macros.

So, if all of the glossary and glosssary terms are located on the same page, the easiest way to accomplish the type of search I beleive you are attempting (and it applies to any browser), would be to perform a Ctrl+F. I use that all the time. You can always add a macro tip to the top of your page telling users to use that function and enter a term.


author: Uwe Speckels
body: Hi Robin,

thanks. I insertet the macro "hierarchical page search". If I insert e. g. \<random access\> then the result looks like:

![grafik.png](https://community.atlassian.com/t5/image/serverpage/image-id/5164i4BDFDE74ACC9E974/image-dimensions/413x75?v=v2 "grafik.png")

But now, I want to click on the result and I think that it brings me to the line in the glossary.

![grafik.png](https://community.atlassian.com/t5/image/serverpage/image-id/5171i69F6E849ECB22651/image-dimensions/374x100?v=v2 "grafik.png")

Nothing. If I click on GLOSSAR identically to glossary then the result brings me back to the top of the glossary. What goes wrong?


author: Robin Rodrigue
body: Have you tried Page Tree Search? I have that inserted at the top of every page. Mine is set to conduct a search beginning at the top-most level of the space, so search results will not render keywords from another space in Confluence. You should be able to speficy a specific page by using that macro.


Tags: search
Get Blank Page unexpectedly
Asked by Lucas Chen:

I think this error display is because I upload and insert the graphic into my article. Then I got the blank page. ![Screen Shot 2017-08-22 at 4.13.18 PM.png](/t5/image/serverpage/image-id/5014i05FEECF9D3809FA2/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 4.13.18 PM.png")![Screen Shot 2017-08-22 at 4.12.58 PM.png](/t5/image/serverpage/image-id/5015i3138BB166998C708/image-size/large?v=v2&px=999 "Screen Shot 2017-08-22 at 4.12.58 PM.png")


Answers:
author: Nic Brough -Adaptavist-
body: Could you give us a bit more detail on exactly what you're doing, what version you are on and what macros you have on the page when you're trying to attach the image?

comments: author: Lucas Chen
body: Sorry! It's back now. Maybe it's during the deploy make us a while blank article? We are using web version to edit the article and after I did the picture upload and attend my picture, I got the error.And Thanks for your reply.


author: Nic Brough -Adaptavist-
body: I am afraid I do not understand that. What deploy? What web version? Could you explain what macros are on the page and what version you are on?


author: Lucas Chen
body: Sorry! I didn't explain well. The app working fine now. No need to tracking anymore. Thanks, \^\^\~
Include a user profile in draw.io diagrams
Asked by Stephane Genin:

Hello,

Would it be possible to include the result of a Confluence user profile macro in a draw.io diagram?

Thanks

St?phane


Answers:
author: David Benson _draw_io_
body: Which macro is that please, specifically?

comments: author: Stephane Genin
body: Hi David,

Thanks for your answer. The macro I would like to include is the "user profile" macro.

St?phane


author: David Benson _draw_io_
body: You're welcome to submit a feature request at <https://draw.uservoice.com/forums/266072-feature-requests/filters/top>


author: chris.atkinson
body: This would be a great addition as the org Chart would be so much easier to Create!


author: David Benson _draw_io_
body: Including a macro within a diagram is really hard. You'd be better asking [https://marketplace.atlassian.com/apps/1211696/linchpin-user-profiles?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1211696/linchpin-user-profiles?hosting=server&tab=overview) to include an org chart (though, I think they already have something along that route).


Tags: draw.io