youngmon/atlassian-qna huggingface dataset:
Remove image border
Asked by MPal Pal:

In confluence 4.2.2, I included an image through wiki markup macro as

```
!docs-header-test.png|alt="test",border=0!
```

This still adds a border around my image. I use firefox. Anyone knows how to remove this border please?


Answers:
author: Sam Hall
body: That should work. If you omit border attribute that will also remove the border. Are you sure the border is added by Confluence? I'd check to see if the image itself has the border or perhaps something is adding it.


Tags: border

image

macro

markup
Social bookmarking plugin uninstalled automatically during the update of Confluence
Asked by Daisuke Niwa:

Hello there,

We updated from Confluence 3.5 to Confluence 4.3 in order to evaluate new feature of Confluence. We noticied during the process of version up social bookmarking plugin was uninstalled.

Anybody knows why this happens? We experienced same issue when updating to Confluence 4.2 as well.

We appreciate your input.

Regards,

Daisuke Niwa


Answers:
author: Harry Chan
body: Hi, the social bookmark plugin has been deprecated and removed since Confluence 4.0. It is still a supported and free plugin - <https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.socialbookmarking> that you can still yourself.

comments: author: Daisuke Niwa
body: Thank you, didn't know this plugin has been deprecated.
After upgrading Confluence HTML macro does not work
Asked by Daisuke Niwa:

Hi there,

We have found following when upgrading Confluence from 3.5 to 4.2.

HTML macro is shown as "unknown macro" on Confluence pages. We realized that "legacy" html macro was enabled and "xhtml" html macro was disabled by the system.

> html(html)  
> Use HTML code within a Confluence page (Legacy)  
>
> html(html-xhtml)  
> Use HTML code within a Confluence page

Can you let us know the difference of these two ?

Regards,

Daisuke Niwa


Answers:
author: Bob Swift (personal)
body: There are 2 HTML plugins. One is bundled with Confluence and can be found in the System plugins section as the **Confluence HTML Macros** plugin. Most of the macros are disabled by default as they are not secure if your site has untrusted users. If this is the one you want to use, then enable the **html-xhtml** macro. That is the one that works in the new editor. The legacy one is for use with **Insert wiki markup**.

The second plugin is the [HTML Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/HTML) which also has an html macro (both xhtml and legacy) - however, these macro can be secured with [Macro Security for Confluence](https://bobswift.atlassian.net/wiki/display/CMSP). You must disable the system html macros in order to use the macros from this plugin. If you had this installed on your Confluence 3.5 system, then you will want to upgrade to the latest version and note the instructions on the documentation page: [HTML Macro](https://bobswift.atlassian.net/wiki/display/HTML/HTML+Macro)

comments: author: Daisuke Niwa
body: Hello Bob,

Thank you a lot for your quick and detailed response.

Regards,

Daisuke Niwa
After HTML export, link to specific page in pdf attachment is broken
Asked by Deborah Dudley:

I have built links to specific pages of attached pdf documents. When I export the space to HTML, and then open the exported HTML file without internet access, links into individual pages within the attached document are broken because it's trying to connect to the internet to locate the file and the corresponding page. It's looking for a URL starting with "https://" (that's the format I used in the **Insert Link/Advanced** function in Confluence) that indicates the location of the pdf and the page to link to (#page=x).

I understand that during the export process, this happens (quoting Atlassian here)...

\>\>Page attachments are placed in individual folders with names in the following format:  
...\\download\\attachments\\xxxxxx  
where 'xxxxxx is the page ID of the page containing the attachments.\<\<

Does anyone know how I can get the HTML file to look for the pdf that now exists in a folder named the page ID and has a new name automatically assigned to it during the export?


Answers:
author: Renjith Pillai
body: So while creating the links, instead of using the https links, you should have linked to attachments directly. Check this page.

<https://confluence.atlassian.com/display/DOC/Linking+to+Attachments>

And I guess in that case, when the export is done, it should work. I haven't checked this myself.

comments: author: Deborah Dudley
body: I tried linking directly to the attachment but I don't see a way to specify a direct link into a section (page) within the attachment. In other words, where you indicate "#page=x" in the https link, where would that be specified when linking to the attachment?
Is there a way to view a "change-log" for locking and unlocking Confluence pages?
Asked by Laura Bantug:

Hello,

Is there a way I can view who has/when a person has locked or unlocked access or editing of a Confluence page? My company is interested in having a "change log" for this information.

Thank you!

Laura  


Answers:
author: FernandoA
body: Hi Laura,

As it turns out this action is not logged in Confluence.

If you'd like it to become a feature in Confluence you can raise a feature request at [jira.atlassian.com](http://jira.atlassian.com).

Hope this helps. Let us know if you ahve any further questions or concerns.

Cheers,

Fernando \| Atlassian


Tags: cloud

confluence-cloud
Excel 2010 *.xlsx 'Edit in Office' opens as read-only *.xls
Asked by claire.simonson@ci.stpaul.mn.us:

New Confluence behavior, as of about 2 weeks ago: when attempting 'Edit in Office' on a Excel 2010 spreadsheet, we often see a quick popup saying file conversion in progress. When it disappears the spreadsheet opens HOWEVER the file has been converted to \*xls and is opened as Read-only with a scratch filename, ex XI0000014.xls.

We have been using Confluence and both Excel 2007 \& 2010 spreadsheets since January 2012, and have been able to Edit in Office for both Excel versions, altho sometimes need to launch Excel first, then click Edit in Office. This file-conversion behavior is new; what can we do to start troubleshooting


Answers:
author: Stefano Luperto
body: Have you updated to Windows 7 recently?  
There is a known bug with Windows 7, the solution is to update the Office Connector:

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


Tags: ms-excel

ms-office-connector
Planning upgrade of Jira AND Confluence; which should I upgrade first?
Asked by ddigioia:

Jira is set up with Delegated LDAP authentication directory. Confluence is set to use Jira for authentication.

I plan to upgrade both Jira and Confluence to the latest versions, but I'd rather not upgrade both during the same maintenance window.

They are on the same server, and use the same MySQL DB, which is located on another server.

Which one should I upgrade first for the smoothest upgrade?

Current versions:

Jira: (v4.4#649-r158309)

Confluence: 3.5.9

Thanks,

David

<br />


Answers:
author: J. Caldwell
body: I agree with Harry. I've done both at the same time before and it is a bear if things go slightly wrong. Please tell me they are running in seperate instances of Tomcat. If they are in the same, definately do not upgrade both at the same time or even in the same window. If you experience an out of memory error or a crash it can be very painful.

Start with Jira. Get it upgraded and stable and then upgrade Confluence. Also make sure your plugins that you use are stable on your targeted versions.


author: Harry Chan
body: Hi, can you let us know what versions do you plan to upgrade to? I wouldn't definitely test the upgrade in a UAT instance and make sure both JIRA and Confluence would work correctly in production.

With JIRA and Confluence, I would suggest the important thing to consider is if you are usign application links and if upgrading will change things.

For your situation, I'd prefer to have JIRA upgraded first due to the user directory coming from JIRA. However, best to test it out in a test environment either way.
Planning upgrade of Jira AND Confluence; which should I upgrade first?
Asked by ddigioia:

Jira is set up with Delegated LDAP authentication directory. Confluence is set to use Jira for authentication.

I plan to upgrade both Jira and Confluence to the latest versions, but I'd rather not upgrade both during the same maintenance window.

They are on the same server, and use the same MySQL DB, which is located on another server.

Which one should I upgrade first for the smoothest upgrade?

Current versions:

Jira: (v4.4#649-r158309)

Confluence: 3.5.9

Thanks,

David

<br />


Answers:
author: Faisal
body: Hi David, Since you are currently running on JIRA 4.4 and Confluence 3.5, and Confluence user management is delegated to JIRA, then I think that the upgrading process should be pretty straightforward. This is because JIRA 4.4 has already shipped with bundled Crowd, and Confluence 3.5 is already made compatible with the new user management structure in JIRA.

Anyway addressing your inquiry here, since you would like to upgrade both JIRA and Confluence, and Confluence is using userbase in JIRA for authentication, then I think you may try to start upgrading your JIRA instance first. After upgrading JIRA, then you may try to authenticate user in Confluence and let's see if things are working properly. If everything is good, then you may proceed in upgrading Confluence next.

More details on upgrading JIRA and Confluence, you may refer to the following documentation:  
<https://confluence.atlassian.com/display/JIRA/Upgrading+JIRA><https://confluence.atlassian.com/display/DOC/Upgrading+Confluence>

You may kindly try to perfrom a test upgrade first on a test environment in order to ensure that the upgrading process for both JIRA and Confluence is performed smoothly. If all is good, then you may proceed in upgrade your production instances.

Hope that the info helps!
Looking for a way to get a list of all user that have Space Admin permission?
Asked by Khanh Nguyen:

1) Just a simple list of anyone having Space Admin permissions

2) Listing of all spaces and space admins together

Thanks!


Answers:
author: Bob Swift (personal)
body: [How to get all space permissions](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+get+all+space+permissions)


author: Oli S
body: in velocity or in pure java?

in velocity you could retrieve all users with this script : [https://answers.atlassian.com/questions/78159/get-all-users-in-custom-macro-or-plugion?page=1#78183](/questions/78159/get-all-users-in-custom-macro-or-plugion?page=1#78183)

then you could loop over all users (in velocity: <http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#loops> )

with the snipplet:

```
#foreach ($user in $users)  #if($permissionHelper.canAdminister($user, $space))     has access :  $user.getFullName() &lt;br/&gt;  #end #end
```

you could output the users.

i hope this is a good starting point for you

oli


Tags: confluence-administration
Integrating Confluence to JIRA On Demand
Asked by Mustafa Tan:

Hi,

Last month we started a JIRA on demand instance. And now we started a free trial for Confluence. But we can't see any Confluence links on JIRA dashboard.

Also we got an error message says "Your on demand instance doesn't include the Wiki functionality." when we try to access using direct link.

Any help appreciated.


Answers:
author: Matthew Hunter
body: Hi Mustafa,

We had a few licenses issues yesterday, but I've had a test of your OnDemand instance and it looks like Confluence is working now. If you're still running into issues please do log a ticket through to [https://support.atlassian.com](https://support.atlassian.com.).

Cheers,

Matt


Tags: cloud

confluence-cloud
Page permission on page info site shows set by Anonymous
Asked by uvoellger:

Recently i encountered a curios thing. Assume that user a sets an edit page restriction for himself and a user B. If you then open the Info page of this page the page permissions are listed. So far so good, but only for one of the users the creator of the permissions is named. For the other user the info page states that a user Anonymous has set the permission.

Is this an intended behavior?


Answers:
author: Alejandro Conde Carrillo
body: This is actually a known issue: <https://jira.atlassian.com/browse/CONF-26398>

Please check te ticket for more information.
Using PDF macro, some pages are broken.
Asked by Jaehoon Chung:

Hi, we use PDF macro to display PDF document in a confluence page. (Confluenec V4.2.4)

Most of them are good, but some PDF pages are broken like the below image.

There is no problem if I look it using PDF Viewer even though the PDF view is broken in a confluence page.

Check this and give me the reason.

Thank you.

![](../../../upfiles/broken_images_1.jpg)


Answers:
author: RianA
body: Hi Jaehoon,

It seems that this issue is related to [this bug](https://jira.atlassian.com/browse/CONF-16922). I am afraid it's still unresolved yet. Please watch the bug report or add yourself as a watcher to see how it goes.

Hope it helps. Cheers.


author: Pedro Rodrigues
body: Hi,

The Link Preview ([](https://marketplace.atlassian.com/plugins/com.xpandit.plugins.linkpreview-confluence)<https://marketplace.atlassian.com/plugins/com.xpandit.plugins.linkpreview-confluence>) is a great Confluence Utility. You can preview PDF documents, images and webpages.

Try it now.

Best Regards,

PMRodrigues


Tags: macro

pdf
How to add ALT tags to images
Asked by MPal Pal:

Does anyone know how to add the ALT tags to images in Confluence 4.2.\* versions. Now that the wiki markup editor is removed, I am not sure how to do this.

Thanks


Answers:
author: Thomas Schlegel
body: Hi,

this was already discussed here: [https://answers.atlassian.com/questions/15445/setting-image-title-and-alt-text-in-confluence-4-wysiwyg-editor](/questions/15445/setting-image-title-and-alt-text-in-confluence-4-wysiwyg-editor)

Cheers

Thomas


author: MPal Pal
body: Thanks Thomas.

Guess I'll have to add it the hard way :(


Tags: image

markup

seo

tag
Confluence compatible version with JIRA 4.4.4
Asked by Fibi Devu:

Hi

We have a JIRA 4.4.4 I am wondering where can i find whats the compatible version for Confluence

Where can i find this info

thanks


Answers:
author: Septa Cahyadiputra
body: If you are referring to user management wise, the recommended Confluence version is 3.5.x and above.

Hope it helps.

Cheers,  
Septa Cahyadiputra


author: Harry Chan
body: Hi, I assume you're referring to application links, i.e. for Confluence to link with JIRA. Please refer to <https://confluence.atlassian.com/display/APPLINKS/Application+Links+Version+Matrix> for further information.
How to get path to attachments in custom macro?
Asked by Bob Nicholson:

I'm creating a custom macro... is there a way to get the path to the attachments on the current page when the macro is invoked?


Answers:
author: David at David Simpson Apps
body: Try converting the velocity from the user macro in this blogpost into pure Java:  
[A simpler way to view attachments in Confluence](http://davidsimpson.me/2009/10/16/a-simpler-way-to-view-attachments-in-confluence/)

This is the key line to look at:

```
${req.contextPath}${attachment.downloadPathWithoutVersion}")
```


Tags: attachment

macro
Unknown Macro {users}
Asked by mkfh22:

We are still attempting to upgrade our Production Confluence to a supported version. However, when I upgrade to a newer version, we receive error messages that there is an Unknown Macro {Users}. Please see the attached document that shows what this unknown macro {users} is and where it's located. Please, please help us fix this issue. We have been trying to upgrade for 12 months with no success.


Answers:
author: Cara Rozelle
body: Follow the directions to get into the appropriate page for editing:

For the exact steps:

Here is the location of the Unknown Macro {Users}:   
Click on one of the Global Pages on the Left-hand side of the Dashboard page.  
Under the Browse Drop Down List in the Upper Right-Hand, click on the Pages Link  
On this page, click on the Link that says Tree (next to View: Recently Updated Alphabetical)  
Click on the TreeNavigation link  
Here is where you can now click on the EDIT link right under the Confluence Administrator Drop Down  
This is where the Wiki Markup Language is stored and when compared with what is in the Production   
Confluence, is exactly the same, but is not recognizing the following line:  
{users:group=dynamics_ax\|showName=true\|size=32px}

Change user to userlister

<br />

Then, someone will have to go into the Confluence Admin section of Confluence (click on the Browse drop down list and select Confluence Admin):

<br />

Under the Subheading of Users \& Security in the Left-Hand Column, select Groups:

<br />

Click on the appropriate group and add the members to the group !!

<br />

None of the groups have any members and will have to be manually modified based on the current memberships of the Confluence 3.1 Group Members.

<br />


author: mkfh22
body: Please see post by Cara Revis for the answer to this issue !! We have documented this issue with screen shots if needed.


author: RianA
body: Hi Mary,

Sorry that this issue happened. Most probably you are using [incompatible plugins](https://www.adaptavist.com/display/Bubbles/users+macro). Or it's some custom macro that needs to be [converted to the latest release](http://confluence.atlassian.com/display/DOC/Writing+User+Macros) of Confluence that use XHTML as its storage format. If incompatible plugin is the cause, you need to upgrader the plugin to the version that is compatible with your Confluence.

Hope this information helps. Cheers.


Tags: macro
How can "configure out" social media features like "liking" and "following"?
Asked by Bill:

I write technical documents for the pharmaceutical industry. Customers just want to read our documents. They wouldn't want to "like" them or "follow" the author. How can "configure out" social media features like "liking" and "following"?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Most of them are functionalities provide by COnfluence system plugins. For example, if you don't want like finctionality, you can disable the "Confluence Like Plugin" under Administration \> Manage Plugins\> System Plugins.


Tags: follow

like
Is it appropriate to use composite labels tied by an underline or hyphen?
Asked by Sergio Storch:

I need to have labels made of a set of words. What s the best way to do it?


Answers:
author: Jeison
body: Hey Sergio,

I'd go with underline, but that's only my personal opinion. It actually doesn't make difference, but I'd say it is important that you create your own pattern, and stick to it.

Cheers.

comments: author: Sergio Storch
body: Thanks, Jeison

Now, a problem I ve had with using any of both is that the autocomplete function in Confluence 4.2 doesn t work. The composite labels don t appear.

Is there a solution for that, or is it a case to be resolved in later versions?

Bye


author: Jeison
body: Hi Sergio,

It should be working. I just tested in my own instance (v.4.2), and it worked perfectly. You should raise a ticket at [support.atlassian.com](http://support.atlassian.com) to have this resolved for you.

Cheers


author: Mykenna Cepek
body: I know this is an ancient thread, but for others who search for "CQL" and "labels" and "hyphen" or "underscore"...

I discovered today (in Confluence Data Center v8.5.8 that labels with a hyphen will cause CQL to fail unless you quote them, but underscores are fine. For example:
> label IN (apple_store)

will work fine but
> label IN (apple-store)

will fail until you rewrite it as
> label IN ("apple-store")


Tags: label
What's the point of project links?
Asked by WSST:

<https://confluence.atlassian.com/display/DOC/Configuring+Project+Links+across+Applications>

If I connect a confluence space to a jira project, I see no change in features. What is the point?


Answers:
author: Jeison
body: "JIRA and Confluence are designed to complement each other. You are able to collect your team's thoughts, plans and knowledge in Confluence, track your issues in JIRA, and let the two applications work together to help you get your job done. You can embed a Confluence activity stream or a Confluence page in JIRA's dashboard. Likewise, JIRA gadgets can be rendered on a Confluence page."

I actually don't see why NOT having them linked.

comments: author: WSST
body: I created an APPLICATION LINK for exactly this reason and everything works great.

However, a SPACE/PROJECT LINK does absolutely nothing special from what I can tell.
Is it possible to find/replace labels to substitute a newly desired word for an existing one that comes to be inadequate?
Asked by Sergio Storch:

I need to establish a controlled vocabulary that will be tested in use by the user community. Some terms may have to be merged, and others may have to be split into more specific ones. When that happens, what s the procedure to keep the vocabulary live and useful?


Answers:
author: Rodrigo Girardi Adami
body: Hello Sergio,

You may want to update the database in order to do that. Please note to always perform a backup before attempting any change in the database.

There are 2 tables which stores labels.

LABEL and CONTENT_LABEL. You may want to update the label in those tables and restart Confluence. It should change the label name inside the application.

Hope it helps. :)

comments: author: Sergio Storch
body: Thanks a lot, Rodrigo!


Tags: label
Confluence-Send test email NameNotFoundException
Asked by Bahar ?a?lar:

I am trying to send test email in confluence but I am getting the below error. How can I fix it?

Thanks for answers

:a:

**An error has occurred with sending the test email:**   
**com.atlassian.mail.MailException: javax.naming.NameNotFoundException: Name JiraGMailServer is not bound in this Context**   
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:187)  
at com.atlassian.confluence.jmx.JmxSMTPMailServer.send(JmxSMTPMailServer.java:71)  
at com.atlassian.confluence.admin.actions.mail.SendTestEmailAction.execute(SendTestEmailAction.java:52)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168)  
at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)  
at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165)  
....  


Answers:
author: Bahar ?a?lar
body: It cannot be done from administration panel. You should write it directly to the file as follows.

This problem has solved yet.

Here is the solution:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=42795030>


author: Johann North
body: I had the same problem and noticed a trailing space in the JDNI text and once I removed it, it worked. Giuliano's post helped, thanks.


author: Bahar ?a?lar
body: Here is the solution:

<https://confluence.atlassian.com/pages/viewpage.action?pageId=42795030>

You should change the settings from server.xml manually.

Cheers :)


author: Giuliano C.
body: Hello,

Looking through your Stack Trace, this problem could be related to your resource name and JNDI name.

You must name your JNDI path according to the resource name in your server.xml. In this case:

mail/GmailSmtpServer. Therefore, my JNDI path would be java:comp/env/mail/GmailSmtpServer.

Cheers

comments: author: Bahar ?a?lar
body: JDNI path is java:comp/env/mail/JiraGMailServer. I tried also java:comp/env/mail/GmailSmtpServer. It gives the same error.


Tags: email
How can I have a template field populate the associated labels?
Asked by C:

I need to have a page template that will allow the user to select a Category 1 and then a Category 2. Based on this selection I need to create associated page labels. I have the fields working on the template but cannot figure out how to populate the labels from the selections. How can I do this?


Answers:
author: Felicity Chapman
body: I'm also looking for a solution to this problem. Did you have any success finding a way to create labels from template variables?


Tags: label

template