youngmon/atlassian-qna huggingface dataset:
Recommendation to upload global attachments
Asked by ashan:

Is there a place recommended by confluence to add global attachments so that they can be managed centrally?

Thanks


Answers:
author: LuizA
body: Hello Ashan,

Actually not, since you can attach files to any page inside Confluence, so in this case IMHO you could create a simple page and then attach all your attachments in this page, so you'll have everything centralized. For more information about the attachments configuration, please check the following article:

<https://confluence.atlassian.com/display/DOC/Working+with+Attachments>

Hope this helps!

Regards,

LJ.


Tags: attachment

global
[Confluence] SQL Result Manipulation
Asked by bchi:

I can't seem to find this anywhere.

I am using SQL to pull data into a confluence page. I know graphs are able to manipulate this data into chart form, but I am wondering are there any other tools/methods to manipulate the sql data.

For Example - If I use SQL to pull a list of Successes and Failures, I would like to be able to highlight the successes in green / set a status macro to green / or something along that nature.

If anyone can point me in the right direction in handling a case like this, I would be most appreciative

Thanks


Answers:
author: bchi
body: So I actually figured out this answer myself.

You are able to manipulate the SQL code to spit out macro data and Confluence will recognize the macro and run it.

Example:

```
select case when "Revenue" &lt;= "Plan" then '{status:colour=red|title=Bad}'else '{status:colour=green|title=Good}' end from products
```


author: Bob Swift (personal)
body: Generally, you just need to write your SQL so that it creates the correct markup to produce the results you want. For example, use a case statement to generate the appropriate emotion icon markup based on the data.

Example producing wiki markup:

```
select case when "Revenue" &gt;= "Plan" then '(/)' else '(x)' end from products
```

comments: author: bchi
body: Yea I was thinking most of the flexability is within the SQL code. Was just wondering weather I could nicely link it with some confluence tools.

Anyway, thanks for the response!


author: bchi
body: So I actually figured out this answer myself.

You are able to manipulate the SQL code to spit out macro data and Confluence will recognize the macro and run it.

Example:

```
select case when "Revenue" &lt;= "Plan" then '{status:colour=red|title=Bad}'else '{status:colour=green|title=Good}' end from products
```


Tags: sql
[Confluence] How can I set the link of the site logo?
Asked by Li Pan:

Hi,

When I click on the site logo, it directs me to the dashboard by default. How can I do if I want it to direct me to a space home page when clicking the site logo?


Answers:
author: SarahA
body: Hallo Li Pan

You can set the "site home page" to be the home page of a space instead of the dashboard. When people click the site logo, it will direct them to that home page.

The docs for Confluence 5.1 are here: <https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page>

If you're using an earlier version, choose your version at the bottom left of the doc page.

I hope this answers the question!

Cheers

Sarah

comments: author: Li Pan
body: Hi Sarah,

thanks. the way you show me is only working when users log in. But after a user logged in, if he clicks on the site logo, it will redirect you to the dashboard. I want it redirect to a specific space or page.

My Conluence version is 5.

thanks.


author: Li Pan
body: Thank you Sarah, looking forward to your good news. cheers.


author: SarahA
body: It's a bug! And it's fixed in Confluence 5.1, which is why our site works but not yours: <https://jira.atlassian.com/browse/CONF-28475>

Good news, if you can upgrade to 5.1 :)


author: SarahA
body: Oh, that's interesting. I wonder if it's a bug. On our doc site, clicking the logo takes you to a space home page. <https://confluence.atlassian.com/display/DOC/Confluence+Documentation+Home>

I'll enquire to see if we had to do something special to make that happen.


author: Li Pan
body: Hi Sarah, I upgraded to 5.1, now it works. thank you for your kindly suppot!


author: SarahA
body: That's great news. Thanks for the feedback, Li Pan.


Tags: dashboard

logo
Should excerpt macro work within localtab macro?
Asked by Roman Ferrer:

Hi! Great forum, but I couldn't find answer to my specific issue. I am using local tabgroup macro to organize information on a page. Some of that information I'd like to include in a related page within the same space using the excerpt include macro. It seems that when I place the excerpt within the local tabgroup (or within a localtab) the information cannot be called to the excerpt include on the new page. Am I doing something wrong or is this not allowed by the system for some reason?

Many Thanks.

Roman


Answers:
author: Jessica Jewel Snider
body: I'm sad that this one hasn't been figured out. It's a shame that you can't use the built in "excerpt" macros with the Navitabs ("localtab") macro. Anyone have an actual solution for this one???


author: hsuhailah
body: Hi Roman,

Is this localtab macro/local tabgroup macro is your own created user macro? If not, from which plugin does it come from?
Confluence User Macro using conditional formatting based on value of parameter?
Asked by Gavin Fowler:

Hi

I've got an old style user-macro (based on wiki formatted templates - yes i know it needs to be updated to html) in confluence 4.3.7, within which I display some additional page metadata.

My user community is asking whether it's possible to only display (or remove) some elements of metadata when certain conditions are met (or not met).

Describing the desired end-state for my user-macro using some crude wiki pseudocode, it would look like

#set($ChildPageCount=$content.getChildren().size())  
..  
If ($ChildPageCount \> 0) Then  
{panel:title=Child Pages: $ChildPageCount\|borderStyle=solid\|borderColor=#3C78B5\|titleBGColor=#eeeeee\|bgColor=#ffffff}  
...  
... additional wiki / formatting here  
...  
{panel}  
End if

...

Does anyone have any suggestions?  

Thanks!


Answers:
author: CharlesH
body: Your pseudocode looks fine, and yes what's been asked of you is feasible to implement.

The Velocity code would need to be #if ... #else ... #end of course.

I've shared some of the user macros I've written, including the following one which shows code for versions suitable for Confluence prior to and following v4.

<https://confluence.atlassian.com/display/DISC/Image+rollover>

comments: author: Gavin Fowler
body: Excelent information CharlesH, your advice/examples worked perfectly! Many thanks :)

For the record here's how implemented the solution (again using wiki pseudocode)

..  
#set($ChildPageCount=$content.getChildren().size())  
..  
#if ($ChildPageCount != "0") Then  
{panel:title=Child Pages: $ChildPageCount\|borderStyle=solid\|borderColor=#3C78B5\|titleBGColor=#eeeeee\|bgColor=#ffffff}  
...  
... additional wiki / formatting here  
...  
{panel}  
#end


Tags: condition

format

user-macro
How To Set Page Level Watch Settings Differently Among Your Page Watches
Asked by Ed Carden:

I may be wrong but i swear in a pre 5.x version of confluence we could (users of the confluence wiki) could subscribe to changes to a page and pick what type of changes such as every change or daily and those settings were page specific menaing one pages watch settings could be set to daily while another could be set to every change. Is this no longer available in confluence 5.0 or am I just not seeing hwo you do this or am I mis-remebering and watch settings have always been global to the user?

Thanks


Answers:
author: Rodrigo Girardi Adami
body: Hi Ed,

I believe that this is not possible. At least I couldn't find this feature in Atlassian docs. You may want to raise a [new feature request](http://confluence.atlassian.com/display/DEV/Creating+a+Feature+Request%20) for that.

I hope this helps you.

Regards,

Rodrigo

comments: author: Valerie Williams
body: Yes, please. I was looking for a way to control the frequency as well. The updates sent for even minor changes are overwhelming when you're starting a new project. People are missing important updates b/c of all of the "noise". I'll second the request if you do. :)

Thanks,

Valerie


Tags: watch
Excerpt Include macro - page history problem
Asked by Rumceisz:

HI,

since we use Excerpt Include macro in a page, the page history comparison doesn't work: doesn't show the changes (new line or deleted lines).

Can you please advise?

Thanks,

Rumi  


Answers:
author: Rodrigo Girardi Adami
body: ```
Hello Rumi,
Unfortunately as Thomas states this would be difficult as the Content you are displaying is not part of the page itself. What I believe we could do is to create a feature request, that I have already raised here CONF-28699 which should address this.
Hopefully would be implemented in the future.

Regards,
Rodrigo
```


author: Thomas Schlegel
body: Hi Rumi,

there is no change in the page, it is still just "excerpt include", no matter how many changes are there in the included page. And because there is no change, there is no history.

That's one of the disadvantages of these dynamic contents.

Cheers

Thomas


author: RianA
body: By right it shouldn't be the case. Would you like to compare the changes inside the the excerpt-include macro? If you do, you could just check the comparison in the source page.


Tags: excerpt
Confluence v4.x has changed the email notification format
Asked by Satish Singhsamransukh:

Confluence v4.x has changed the email notification format. Our existing wiki pages were designed using old version of Confluence v3.x. Earlier in v3.x, notification was sent in textual format, but after upgrading to 4.x its in GUI form.

Is there any ways to switch back to old notification format by some config/settings so that we receive notification as in textual format?

Thanks.


Answers:
author: RianA
body: I am afraid the current notification is in HTML fromat due to changes in storage format at 4.0. There is a feature request regarding this. For more information please refer to the following ticket.

\* <https://jira.atlassian.com/browse/CONF-23907>

comments: author: Satish Singhsamransukh
body: We are facing the same issue after 4.x upgrade. Email notifications are sent in HTML format adn this is causing few formating issues. Our existing wiki pages are designed using Confluence v3.x. New format (HTML form) is changing the alingments etc. We are looking for the solution on how can we revert back to old format? Thanks!


author: Darryl Lee
body: Our problem is that the user is missing the old diff-style format that notifications used: changes at the top with minimal context, then full page. Is there any way to get this back in 4.3.7?

To clarify, the old notifications were \*NOT\* plain-text. He had color highlights for deletes/adds/changes, so please don't say it's because you don't support plain-text. You completely changed the format of these notifications.


Tags: email

notification
main.vmd not used in editor when crating page from blueprint
Asked by Thomas Wendel:

We use a custom theme in Confluence 5.1. If I create a new page or edit an existing one, the main.vmd decorator from the theme is used and our theme look \& feel of the editor is correct.

However, if I create a page from the following blueprints, the main.vmd decorator from the custom theme is not applied and the layout of the editor is not correct:

* com.atlassian.confluence.plugins.confluence-business-blueprints:meeting-notes-blueprint
* com.atlassian.confluence.plugins.confluence-software-blueprints:requirements-blueprint
* maybe others?

The right CSS file is being loaded, it really seems to be the decorator that is being ignored.

Any ideas?

Cheers,  
Thomas


Answers:
author: dT
body: Hi Thomas,

It looks like you have uncovered a bug with our decorator code, and I am afraid that there is no simple workaround. I've created issue <https://jira.atlassian.com/browse/CONF-28834> to track the problem, so please vote on it and watch it for progress.

If you really need a workaround and are comforatable editing plugin XML files, you could edit the \<decorator\> module in the confluence-create-content-plugin jar so that the "page" attribute points to your theme's main.vmd file instead of decorators/main.vmd.

Hope that helps!

David

comments: author: Thomas Wendel
body: Hello David,  

Editing the confluence-create-content-plugin jar would work. However, customers who install the theme on their Confluence would have to tweak the plugin as well.  
Nevertheless, thanks for the tip!  

Cheers,  
Thomas


author: Agnes Ro
body: Hi Thomas,

It seems that we always apply the default main.vmd decorator to that blueprint url. I've raised a ticket here:

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

Cheers,

Agnes


Tags: blueprint

theme
How can I show a visio drawing(already published as html and put in iframe) on my page?
Asked by Li Pan:

Hi,

I have a Visio drawing, and published as html file, resouces:

? Process4.htm

? Process4_files

In the confluence console, I enabled HTML macro, and my code in Confluence page is:

\<iframe src=http://url/to/Process4.htm width="100%" height="500"\>\</iframe\>

But the hyperlinks in the page are all disabled.

Anyone met such problem or have an answer?

Thanks.


Answers:
author: Rodrigo Girardi Adami
body: ```
Hello Li,
I believe that this will depend on the page that you are using. I could get different behaviors from different pages. Youtube and Google got me a blank screen, my own html files would render. But they are pure HTML, without css or js.

I would try tweaking them to get the right code to use. In the meantime if Visio is required there is a plugin to load it inside Confluence:https://marketplace.atlassian.com/plugins/org.swift.confluence.visio

Regards,
Rodrigo
```

comments: author: Li Pan
body: Thanks @Rodrigo Girardi Adami \[Atlassian\].
Error The entity "egrave" was referenced, but not declared. confluence
Asked by cisco:

i get thi error in catalina.out.

how can i fix it?


Answers:
author: Fabrizio Galletti
body: <https://jira.atlassian.com/browse/CONF-25325>


author: Rodrigo Girardi Adami
body: ```
Hello There,To have a better idea about this message that you're mentioning could you please copy and paste the full stack-trace here? This would give us a better picture if the message.Regards,
Rodrigo
```

comments: author: cisco
body: \[Fatal Error\] :1:58: The entity "egrave" was referenced, but not declared.  
for example


Tags: special-character
How can I use date-data macro on a template confluence?
Asked by ticoulat:

I want that one user can introduce a date on a template. So I use the date-data macro for do that. The problem is that it doesn't show me nothing when I click on preview. I don't know how can view some box for introduce a date for example.


Answers:
author: Laurent Corbi?re
body: Hi,

Using Scaffolding, you'll get two levels of edit: the page edit and the Edit Layout.

You'll see nothing in preview mode. Enter your code, save the page, then you'll reach page edit mode. Then you'll see your date field.

And the date-data must include the field name and the date format. Try this and tell me if you get the date dropdown box:

```
{date-data:date|format=MMM, dd, yyyy}
```

```
?
```

```
Regards,
```


Tags: date
How do I add a description to Templates in Confluence 5.X?
Asked by epohl:

When I click **Create** I am presented with the Create screen that shows the templates available to me.

![](https://confluence.atlassian.com/download/attachments/329980114/Create-Annotated2.png?version=1&modificationDate=1360292765253&api=v2)

Some of the templates have descriptions, in the same way as the Blank Page option has the description *Start with a blank page.*

I suspect these were templates created before the new template editor was added because I don't see any way to add a comment or change properties on a template. Is there a way to add these descriptions for all templates?


Answers:
author: SarahA
body: Hallo Eliane

It's nice to "speak" to you again! From Confluence 5.1, it's possible to edit the template description. See the docs here:

<https://confluence.atlassian.com/display/DOC/Adding+a+Template#AddingaTemplate-Addingadescriptiontoyourtemplate>

It's not possible in earlier releases.

Cheers, Sarah

comments: author: epohl
body: Excellent! Thanks, Sarah.


Tags: template
Jira issues macro - view comments
Asked by Jon R. Myhre:

I wonder how I can display comments on jira-tasks with the jira issues macro.  
The 'comments' column header does only provide me the number of comments.

Since the comments are within the xml I'm using with the macro, I see no reason why I can't display them.


Answers:
author: MattS
body: I used the ServiceRocket/CustomWare add-on at JIRA <https://marketplace.atlassian.com/plugins/net.customware.jira.utils.customware-jira-utilities>

to create a Last Comments custom fields and then added that to the jiraissue macro configuration. Sadly the text is returned with HTML markup but it may be useful anyway

<br />


author: Rodrigo Girardi Adami
body: Hi Jon,

I was able to track down this feature in our bug tracker: <https://jira.atlassian.com/browse/CONF-28700>

Unfortunately it wasn't implemented yet, however you can help by voting in the bug and watching the ticket as this increases the priority.

I hope this helps!

Rodrigo


Tags: confluence-app
How to stop installer from starting confluence after upgrade
Asked by Nabil Sayegh:

The Confluence installer is not able to migrate all configuration properties from server.xml to the upgraded installation. You have to do that manually and this is ok for me. However, after the installation it automatically starts Confluence which is going to fail, because it does start with the default context and port.

How can the installer be told not to start Confluence?


Answers:
author: Septa Cahyadiputra
body: Hi Nabil,

By defaul it is not possible for installer to not start Confluence, and in order for Confluence to start the upgrade process it need to necessary for Confluence to start.

I recommend you to try this [method](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence+Manually) in order to upgrade your Confluence.

Hope it helps.

Cheers,  
Septa Cahyadiputra


Tags: install
Page Level Permissions
Asked by David Zuccaro:

How can I can a user permission to view a page that has page level restictions in Confluence?


Answers:
author: moxin
body: This is what you are looking for  
<https://confluence.atlassian.com/display/DOC/Setting+a+Page%27s+Restrictions>

You have be one of the admins to set these restrictions.  
In short summary all you have to do is go to page and click 'Tools' \> 'Restrictions'.  
And change settings accordingly.


author: RianA
body: Hi, if you're in confluence-administrators group, you would be able to see the content as long as you've got the direct URL to that page. For more information please refer to the following documentation.  
\* <https://confluence.atlassian.com/display/DOC/Global+Permissions+Overview>


author: UdayK
body: As an administrator or author of the page, you can define permissions like who can view, edit the page by using the feature called 'Restrictions' in the tools menu of the page.


Tags: cloud

confluence-cloud
Adding custom field for Create JIRA Issue screen in Confluence
Asked by Raghuram:

Is there a way to display a custom JIRA field in Create JIRA Issue screen in Confluence.

By this what I mean is from the snapshot below I see only Project,Issue Type,Summary,Component,Version/s,Description fields.

I need to display another JIRA custom field, is it possible? If so how ?

![](../../upfiles/Confluence_Create_JIRA_Issue_Screen.png)


Answers:
author: Ramiro Pointis
body: Hi, as i see in this Confluence issue on Atlassian project since Confluence 3.5 you can create issues from the confluence. The problem is that how it says on one of the comments: ' there are some limitations around mandatory and custom fields which mean that some project configurations may prevent creation of issues from Confluence.'

Check here: <https://jira.atlassian.com/browse/CONF-12882>

Here it is the official documentation:

<https://confluence.atlassian.com/display/DOC/Inserting+JIRA+Issues#InsertingJIRAIssues-CreatingaNewJIRAIssueandInsertingit>

It looks like is not possible to add more fields to the screen.

What you can do is ask on [support.atlassian.com](http://support.atlassian.com) for a new feature.

Cheers.


author: Dzailin Dzulkaflie
body: Hi, did you find the solution for this issue? Thanks.


author: Ismael
body: Hi Raghuram**,**

How did you manage to add FixVersion and Component in Confluence's "Insert JIRA Issue" screen?

Thanks!


author: Avi Ziv
body: There is something new with it??

I would like to know if i can set custome field in the screen view when try to create new Issue from Confluence??


author: Ahmed Noman
body: I have the same issue, I have a custom field that I called Client for an issue. I see the field when I create an issue on JIRA but I dont see it when adding from Confluence.


Tags: custom-field

jira
Count Incoming Links
Asked by HDTech:

Hello,

<br />

I would like to make a user macro that counts the incoming-links for a page. For instance, I have a page about an Operating system. I want to be able to count the incoming links for that page, but only under descendants of another page.

Thank you


Answers:
author: Isaac Montes
body: I believe there is a similar question already answered, but you can give it a try to a plugin

[https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.linking](http://www.adaptavist.com/display/AtlassianConfluence/incoming-links+macro) Free- see incoming-links macro

There might be others, but this is the only one I know of.

comments: author: HDTech
body: That is the plugin I am using. I want to count how many incoming links there are so that I can put it in a table and make a graph.


author: Isaac Montes
body: Does the plugin report in table format? sorry I'm not very familiar with it. If so, a user macro with some JavaScript that pulls the info from the table, as simple as counting the number of rows might work, otherwise there might be an analysis plugin out there that generates charts and reports of the info you are looking for.
Labels are added multiple times to templates
Asked by Stefan Eike:

I have a template with a label. Every time when I save the template, the same label is added again. All my templates seem to have that problem. Even if I remove all labels, they stay and multiply funnily.

It's a Confluence 4.2.7 instance.

![](../../upfiles/LabelError.png)

![](../../upfiles/LabelError2.png)


Answers:
author: GuilhermeA
body: Hello Stefan,

This is a known issue and has been resolved in version 4.3 :)

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

Hope this helps you,

Cheers,

Guilherme

comments: author: Stefan Eike
body: Hi Guilherme,

ah, nice to know. One argument more for upgrading to Confluence 5.x. I think we'll skip 4.3.

Best regards

Stefan


Tags: label

template
Stash 2.3.0 SSO
Asked by C. Faysal:

Hey.

is there anything else to be set in order to get SSO working for Stash?

i've been through this

<https://confluence.atlassian.com/display/STASH/Connecting+to+Crowd#ConnectingtoCrowd-SSO>

but no SSO is working.

am i missing something?


Answers:
author: Michael Heemskerk
body: We've discovered an issue with the Crowd SSO integration not working when the remote Crowd server is configured with an empty SSO Domain (in Crowd: Administration \> General).

This is a valid configuration for Crowd, but the SSO Plugin for Stash rejects it as an invalid configuration and disables the SSO integration. I've raised <https://jira.atlassian.com/browse/STASH-2493> for this issue and hope to have a fix soon. For now, a workaround is to configure the SSO Domain with the hostname in Crowd.


Tags: bitbucket-server

sso