youngmon/atlassian-qna huggingface dataset:
Markup for image keeps replicating "%"
Asked by Amy Wilkinson-Tough:

I'm using Confluence 3.5.

I have displayed a couple of images within a panel.

The pictures display and behave as I'd wish them to However, every time the wiki is edited and saved it doubles the number of "%" within the code.

For example when I first wrote it, it said:

!Admissions Team Structure.jpg\|width=50%!

I saved it. When I went back in it was

!Admissions Team Structure.jpg\|width=50%%!

The next time...

!Admissions Team Structure.jpg\|width=50%%%%!

On its own, not a massive problem but there are 20 people adding to the content frequently and the percentage points appear to double upon each save so we're getting to a point where I have to regularly log in and delete the superfluous ones from the two images otherwise users have to scroll for ages to get to the genuine content in the Markup Editor.

I really need to use a percentage rather than a defined pixel width as we often work in split screen and it prevents the pictures from forcing the columns to be wider than the width of the browser, thus forcing us to scroll to read the information.

Is it me? What's going wrong and how can I stop it?


Answers:
author: Steffen Heller
body: It might be difficult to find an answer to your question since it only applies to an old version of confluence. In the current version image inclusion was completely reworked.


author: Amy Wilkinson-Tough
body: Well since it seems it's not possible I'll give up. Thanks Steffen.


author: Amy Wilkinson-Tough
body: Is there any other code I could use that would achieve the same functions without this ridiculous duplicating of "%"?


author: Steffen Heller
body: All I can say is that we had the same behaviour when we used the old confluence version and we couldn't find a solution for it. So I also ended up deleting % every now and then.

One thing must be considered: I think the superfluous % do not only bloat up the markup but also deactivate the whole function. When I set an image to "width=50%" and it became "width=50%%%%" after a while the size with which it was shown was 100% again.


Tags: code

image

markup
Add Confluence to my account Google WebMaster Tools
Asked by DanielG:

Hi,

I want to add my Confluence system to Google WebMaster Tools. I upload the file verification to server but when I load, I see that include template of Confluence in plain text of the Google file verification...

Is there any way to not include template of Confluence when I load this file? Google search to find the text verification but is unable to find it if it includes apart the CSS and HTML code of Confluence...  

Thanks in advance.

Daniel  


Answers:
author: David at David Simpson Apps
body: **Confluence Server:**

The easiest way to do this is to add the google specific meta tag in **Confluence Admin \| Look and Feel \| Custom HTML \| At the End of the HEAD**

For example add:

```
<meta name="google-site-verification" content="..." />
```

**Confluence Cloud:**

It is **not possible** to verify a Confluence Cloud site with Google. [More info here](https://community.atlassian.com/t5/Questions/Add-Confluence-on-demand-to-my-account-Google-Search-Console/qaq-p/711462#M56435).

comments: author: DanielG
body: Thanks David! I don't know that I can verify my website on Google WebMaster Tools by adding a meta tag. Works for me!


author: Stefan Sels
body: yeah that would be nice. or an dns entry for my subdomain.


author: NaoI
body: Custom HTML is not avaiable as an option for onDemand instances. Is there a suggested approach for adding an onDemqand instance to Google WebMaster Tools.

comments: author: NaoI
body: Hi, I faced the same problem in my on-demand environment even now.

So, I opened [a new thread](https://community.atlassian.com/t5/Questions/Add-Confluence-on-demand-to-my-account-Google-Search-Console/qaq-p/711462) for the question.

If you have any solution for that, please let me know:) Thanks.


Tags: confluence-administration

google
publish Jira release notes from Confluence?
Asked by Alex Perez:

Hi,

Im interested in publishing from a Confluence page the release notes of a jira project-version. I suppose that the release notes can be customized to (e.g.) show the description instead of the summary.

Is there any way to include the release notes from a confluence page? In my environment Jira and Confluence are running as trusted apps, and I want to link the info always updated, instead of copy\&paste from jira (possible outdating if modified).

Thanks.


Answers:
author: Alex Perez
body: plonk!

Just realized ...

This can be achieved with "jiraissues" macro, setting the fixVersion order by issuetype, and displaying the "release notes" field.


author: Nitram
body: Try this, This may help you,

<http://docs.servicerocket.com/display/AtlassianPlugins/JIRA+Confluence+Link+Plugin+Usage+Guide>


author: Nitram
body: Try This <https://confluence.atlassian.com/display/DOC/Integrating+JIRA+and+Confluence>

This may Help!

comments: author: Alex Perez
body: Confluence and Jira are already configured as trusted apps. But I want to link the the "release notes" report, perhaps using a macro from Confluence, same way as linking to a jira search filter.

When using jiraissues macro, the search results are included in the confluence page (like an iframe), I want the same for the release notes report.


author: DarkSideMilk
body: Sorry to post on such an old thread, but this article may also be helpful to people finding this

[https://confluence.atlassian.com/doc/blog/2015/10/how-to-document-releases-and-share-release-notes/](https://confluence.atlassian.com/doc/blog/2015/10/how-to-document-releases-and-share-release-notes/?)


author: Natalie Wenz
body: Is it possible to use a mechanism to publish jira release notes in confluence without having an application link between both systems?

comments: author: Midori
body: You can produce a fancy release document from your JIRA issues with the PDF View Plugin (<https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfview>).You can then simply attach that PDF document to a Confluence page, and display it within the page in the usual way.You can even automate this process using the PDF generator API (<http://www.midori-global.com/products/jira-pdf-view-plugin/documentation/api>) or the PDF Automation Plugin (<https://marketplace.atlassian.com/plugins/com.midori.jira.plugin.pdfautomation>)


author: Nitram
body: So you want to link a confluence page in jira ?


Tags: jira

release-note
Deleted pages still show up in search
Asked by Deshy M:

Hi All,

What's the reason for deleted pages to still show up in search a few minutes after deletion please? Are they kept in some cache or index?

Thanks


Answers:
author: jing_hwa_cheok
body: Hi Deshy,

Confluence do store cache of index in the **\<Conflunce-home\>/index directory** . So it possible that the index was not flush yet therefore the page still appear in the search. You can manually rebuild the index from **Confluence Admin \>\> Content Indexing \>\> Rebuild.**


author: Jens Kasperek (Bosch GmbH)
body: Seriously? Is this the solution? Each time we delete a page, we have to rebuild the index from scratch? Isn't this a bug?


author: Deshy M
body: Thank you :)


Tags: cache

delete

purge

search
Error in reindexing a non-latest version of content
Asked by Xiangfei.Li:

Hi there,

I found some errors in the system logs, such as,

2013-07-04 10:12:22,719 ERROR \[http-80-33\] \[atlassian.confluence.search.QueuingChangeIndexer\] reIndexAllVersions Trying to reindex a non-latest version of content,

so anyone knows what does this error refer to?

Best Regards

Li


Answers:
author: Xiangfei.Li
body: I found it may be related to the JVM run out of meomory. I have increased our JVM memory, and restart the service, currently the problem do not exsit.


author: Philipp Steinwender
body: same for me


author: Xiangfei.Li
body: More details:

2013-07-04 10:12:22,719 ERROR \[http-80-33\] \[atlassian.confluence.search.QueuingChangeIndexer\] reIndexAllVersions Trying to reindex a non-latest version of content  
-- url: /pages/viewpage.action \| page: 23987498 \| userName: Admin \| referer: [http://wiki.xxxx.com/pages/diffpagesbyversion.action?pageId=23987496\&selectedPageVersions=2\&selectedPageVersions=1](http://wiki.xxxx.com/pages/diffpagesbyversion.action?pageId=23987496&selectedPageVersions=2&selectedPageVersions=1) \| action: viewpage  
java.lang.RuntimeException  
at com.atlassian.confluence.search.QueuingChangeIndexer.reIndexAllVersions(QueuingChangeIndexer.java:114)  
at com.atlassian.confluence.search.listeners.UpdateLabelsInChangeIndexListener.handleEvent(UpdateLabelsInChangeIndexListener.java:24)  
at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)  
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:60)  
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:28)  
at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:56)  
at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:151)  
at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:70)  
at com.atlassian.event.legacy.LegacyEventManager.publishEvent(LegacyEventManager.java:36)  
at com.atlassian.confluence.event.ConfluenceEventManager.publishEvent(ConfluenceEventManager.java:47)  
at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304)


Tags: index
Preventing downloads of MS Office Files with anonymous users
Asked by mmp788:

Currently when we place a MS Office file such as a Powerpoint presentation, a save button appears allowing any user to download this file, this is not ideal as we do not want anonymous users viewing our wiki to be downloading this document, however we do want them to be able to view it.


Answers:
author: hsuhailah
body: At the moment, permissions for downloading attachments can't be set in Confluence. You may want to consider this third-party plugin instead: [A](https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint)[rsenale Lockpoint: Attachments Checkout](https://marketplace.atlassian.com/plugins/com.arsenale.plugins.lockpoint)


Tags: confluence-administration
not all calendar events are syncing from team calendars
Asked by aaron wideen:

I have one of my team calendars calendar synced with outlook. It appears that not all events are syncing. I am getting a bunch of timezone warnings in my sync/recieve window (error 0x0004001A). Events are repeat events but not sure why that would cause errors like this. Doesnt seem like this has happened before.


Answers:
author: aaron wideen
body: Hi Guys I am noticing this with more calendars I have set up in my production confluence. When I use the subscription URL to add the calendar to my Outlook not all events are pulled and a ton of time zone errors show up. Would love a fix for this ASAP as this is on our production server and folks are complaining about the calendar functionality not working.


author: aaron wideen
body: These are the error from Outlook

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


author: Guilherme Nedel [Atlassian]
body: Hello Aaron, we do have a filed [bug report](https://jira.atlassian.com/browse/TEAMCAL-558) for an issue that appears to relate to this behavior. Currently Confluence and Outlook have different timezones which leads to an incompatibility between both applications dates.

Hope that helps!

comments: author: aaron wideen
body: Hi,

Is this something that will be fixed soon? I am noticing this in more and more calendars as I am testing this out. Just updated to latest version of team calendars as well.

Thanks,

Aaron


author: hsuhailah
body: Can you post the error related to calendars/timezone that you can see in \<confluence-home\>/logs here and/or screen shot of the error?
No text in edit mode
Asked by Geoazimut:

When I start editing a new or an existing page, it's impossible to write in the edit zone and no text appear in it if it's an existing file. How can I resolve this problem ?


Answers:
author: Geoazimut
body: Finally the suppport gave me the solution:

The Confluence plugin editor was disabled and the support restarted it to get it working. It works fine now.

Thanks for your help Sarah.

All the best, Martin


author: Geoazimut
body: Hello Sarah,

Thank you for your fast answer. Unfortunately it doesn't resolve my problem. I'm mostly working in Firefox but I also tried in Internet Explorer, the problem always happens. I use the OnDemand version of Confluence (in french).

Cheers, Martin (Geoazimut)

comments: author: SarahA
body: Oh dear, that doesn't sound good. The best thing is to contact the Atlassian Support team at <http://support.atlassian.com>


author: SarahA
body: Hallo Geoazimut

Are you using Google Chrome as your browser? There's a known problem with Chrome that reduces the size of the editor panel. This plugin will fix it:

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor-height-fix>

Alternatively, you can upgrade to Confluence 5.1.3 or later. The bug report has the details:

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

I hope this helps!

Cheers, Sarah
More Spaces vs More Pages
Asked by Matt Uebel:

I am attempting to sketch out a layout for a I.T. Infrstructure documentation Wiki using Confluence.  

This can be done with a single Space, which has a hierarchy of Pages representing the large segments of the Infrastructure, whose children pages will make up the actual documentation.  

The other way seems to be that, instead of a single Space, I construct a Space for each large segment.  

Has anybody else come across a similar consideration? What would be the benefits and drawbacks of each approach?


Answers:
author: BernardoA
body: Personally I'd do basically the same, create a specific space for this purpose. Actually you have many ways to achieve this and you're free to chose the best strategy.

I believe these documentations might provide some insight in how to manage your spaces:

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

<https://confluence.atlassian.com/display/DOC/Assigning+Space+Permissions>

<https://confluence.atlassian.com/display/DOC/Administering+a+Space>

Feel free to ask!

Bernardo


author: Raju KC
body: Read/Write/Admin permission can be set in space level, but not on page hierarchy. So if all users need access in all pages, single space will be better. If some users need access in some pages only, then go with multiple spaces.


Tags: architecture

confluence-administration

page

space
CRITICAL - Confluence Listeners have all died and all page operations fail
Asked by Jim Bethancourt:

I realize I should be asking Atlassian support, but I don't own the support relationship, and the individual who does is unfortunately on vacation and I desparately need help. All page operations are failing -- create, edit, comment, and adding attachments.

We brought down and restarted our Confluence 5.0.3 instance last night after adding more space to the disk partition where it was running (someone had added extremely large attachments and filled it up) and I rendexed Confluence this morning since the indexes for new pages weren't being added.

The common stacktrace message between the page edit and add failures in the Caused By section is

Caused by: java.lang.NoClassDefFoundError: com/atlassian/confluence/core/DefaultDataSourceFactory$NamedDataSource

at com.atlassian.confluence.core.DefaultDataSourceFactory.getServletContainerResource(DefaultDataSourceFactory.java:106)

at com.atlassian.confluence.mail.notification.listeners.PageNotificationsListener.handleEvent(PageNotificationsListener.java:38)

at com.atlassian.event.legacy.LegacyListenerHandler$LegacyListenerInvoker.invoke(LegacyListenerHandler.java:55)

at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$2.run(AsynchronousAbleEventDispatcher.java:66)

at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1.execute(AsynchronousAbleEventDispatcher.java:32)

at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:60)

at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:152)

at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:71)

Any help would be greatly appreciated.

Thanks,

Jim


Answers:
author: Jim Bethancourt
body: Turns out the problem was that we had run out of disk space. Admins added more space to the Linux partition and that solved the problem. Whew!


Tags: confluence-administration
Infrastructure Wiki Documentation Diagram?
Asked by Matt Uebel:

EDIT and TLDR Version: I am looking for an actual diagram of Infrastructure Documentation

I am in the process of designing a documentation Wiki for Infrastructure. That is, the whole gamut of servers, networks, storage, and applications.

I have been poking around with some ideas via Visio, but I am wondering if anybody else has done a similar thing.

In a general sense, does anybody have an example of a satisfactory layout for a documentation Wiki. In particular if possible, in the way of Confluence, with Spaces, Pages, and Child Pages.


Answers:
author: Giuliano C.
body: <https://developer.atlassian.com/confdev/development-resources/confluence-architecture> Perhaps this one? Just found this question in Google, while looking for Confluence structure diagrams.


author: Mick Davidson
body: This one also looks good and I think it's free: <https://www.draw.io/>


author: William Zanchet [Atlassian]
body: Matt,   

I know a pretty good third party plugin, that do diagrams very similar like Visio.  

[Gliffy Confluence plugin](https://marketplace.atlassian.com/plugins/com.gliffy.integration.confluence)  

If I'm not wrong, you can generate a 30 days trial to use it.   

Cheers,  

WZ

comments: author: Matt Uebel
body: looking for a diagram, not diagraming tool. Thanks!


Tags: confluence-administration

diagram
How to create a custom page from template?
Asked by Beniamin Kalinowski:

I have created a template where user inserts some data into textfields. I want to postprocess some of the data e.g. in file $Name, he did put "SomeName" and now I want to create a custom page in Confluence which name is "SomeName".

How can I achieve it?

Should I use a macro, should I write a plugin? There is a lot of documents in documentation, could anybody give me just a hint, where should I begin reading?


Answers:
author: Christina Schantin [Communardo]
body: You can have user generated page titles with blueprints. maybe this documentation will help you:

<https://developer.atlassian.com/display/CONFDEV/Writing+a+Blueprint+-+Intermediate#WritingaBlueprint-Intermediate-a.User-specifiedPageTitles>


Tags: template
Padding add to text making extra lines but not actually lines but cant remove
Asked by simon.loader@plumbee.co.uk:

Sometimes when editing text say a list that is not really a list extra lines are suddenly added well padding between lines because its not actually lines because they cant be removed.How the hell do you remove them ? If you look at a section which doesnt have it and a section that does in the wysiwydg editor there is no difference ? can I see the markup any more ?


Answers:
author: simon.loader@plumbee.co.uk
body: Found it "Clear formatting" under the strike through tab removes it


Tags: pad
Deleting usernames that come from an LDAP directory
Asked by Fajar Suryawan:

How to remove / delete usernames from Confluence that come from a directory (OpenLDAP)? These usernames have NOT created any content.

We need to do that because existing usernames (which have contents already) will be renamed to the will-be-deleted usernames (which does NOT have contents).

Is it ever possible? Maybe direct SQL queries?


Answers:
author: Peter Van de Voorde
body: Can't you just kick them out of all the confluence users groups and then just synchronize again? Just wondering.


Tags: confluence-administration

user-directory

user-management
Put a single quote in page name. Causes a 403, thinks it's cross scripting.
Asked by Kris Rovell-Rixx:

I created a new page with the word Communique' as I was trying to make it match all my other documentation that had an accented e. After I created the text and saved the file, when I try to access the page, it returns 403 error with the following text: **Due to the presence of characters known to be used in Cross Site Scripting attacks, access is forbidden. This web site does not allow Urls which might include embedded HTML tags.** I didn't create the URL, Confluence did. The last several characters of the URL is: +Communique%27 How do I get the text of my page so I don't lose my edits? Thanks!


Answers:
author: Peter Van de Voorde
body: Hi Kriss,

I've just tested this on our Confluence 5.1.3 instance and I didn't get any errors.

You could try to access the page using the pageid using this type of url : http://\<your-confluence\>/pages/viewpage.action?pageId=6062574

Best regards,

Peter


author: Kris Rovell-Rixx
body: Hi Peter, Thanks for your quick response. I'll see if there's a way to get the pageid without being able to access the page. This also tells me that it's a rule that was inserted by our local team and I'll follow up with them.

Thanks again,

Kris
Can I pass the git merge option ignore-all-space when merging in SourceTree
Asked by D K:

Git can ignore all space on merge. Is it possible to pass this option with SourceTree

```
git merge -Xignore-all-space
```


Answers:
author: Benjamin_Po
body: I created custom action that included ignore all white space shell script  
<https://github.com/benjaminpo/sourcetree-custom-action>


author: stevestreeting
body: You can't pass this to an individual merge call, but you can make it your default by setting this option in your local repositories .git/config:

```
branch.&lt;name&gt;.mergeoptions=ignore-all-space
```

As you can see you have to set it per-branch.


Tags: git

merge

sourcetree

space
Confluence 5.1 OnDemand image "link to original" not showing original
Asked by Robert Lauriston:

I've got a large (1053 x 2289) image set to "Resize image to large and link to original," but it does not link to the original. Instead, it links to an even smaller image that fits vertically in the browser.

Same problem in both Firefox and MSIE.


Answers:
author: David Maye
body: Hi Robert,

If the issue is persistant across mulitple browsers, it would be safe to assume that the issue is with the linking of the image and/or possibly a resize glitch.

I would first, verify that the image you are referencing is indeed the large image (not a scaled down thumbnail sized copy accidently uploaded) and then I would then delete the image from the Confluence page, and reupload it (possibly as a different file name) and try inserting it again.

Once it's placed back onto the page, adjust the size you want it to be (either by the preset buttons or by specifying a height/width) and save the page. If done correctly, it should link to the full size automatically and pop up when clicked.

Cheers,  
-David


Tags: cloud

confluence-cloud

image