youngmon/atlassian-qna huggingface dataset:
Selective conversion of TWiki links
Asked by Lis Riba:

I'm trying to convert a batch of TWiki pages into Confluence, while still retaining most older pages on TWiki (to become a read-only archive).  

The pages in my selection contain many internal-TWiki links.

* Some point to other pages in the selection, so need to be converted to Confluence links
* Others point to pages I'm not converting, so must continue to point to TWiki.

<br />

UWC appears to convert all the TWiki links it can, meaning that my tests so far yield a lot of undefined links.  

The TWiki is still in use, so I can't modify pages directly on the TWiki before conversion.  

A) Is there any way to control which links UWC converts?  

If not...  

B) How can I do a 2-step conversion - first from TWiki to my HD (without sending pages to Confluence), and then from my HD to Confluence (thus allowing me to make manual modifications to the pages before uploading) - ***while still preserving the page hierarchy and attachments***?

Thanks


Answers:
author: Laura Kolker
body: A) Nope  
B) The simplest path forward would be to [write a custom LinkConverter](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Developer+Documentation) to handle this problem. As I recall the TWiki link handling uses a lot of tokenization to process the links using properties. Probably what I would do is work out some kind of methodology for identifying which pages are to be linked where (maybe a seperate properties file? or maybe just add your own [misc properties](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Developer+Documentation#UWCDeveloperDocumentation-MiscellaneousProperties) to the converter.twiki.properties file?), then write a [custom link converter](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Developer+Documentation#UWCDeveloperDocumentation-Classes) to use your properties to update the should-point-to-TWiki links first (possibly [tokenizing the results to hide them](https://studio.plugins.atlassian.com/wiki/display/UWC/UWC+Developer+Documentation#UWCDeveloperDocumentation-Tokenizingclasses) from the normal link handling), and calling that class *before* the normal link handling which will then take care of your needs-to-point-to-Confluence links.

Noting: A 2 step conversion isnt impossible, but it's not going to be less complicated than the above suggestion.

Good luck!


Tags: universal-wiki-converter
Can run-now macro return first 2 words of page title only
Asked by Jason Skrzypek:

Hi,

Im using a run-replace macro in confluence to return the page title. The page title has 4 words in it, is it possible to return the first 2 words only?


Answers:
author: Jason Skrzypek
body: I managed to find a plugin from Bitvoodoo that does what i needed {voodoo:separator=- } <http://www.bitvoodoo.ch/display/web/Voodoo+Plugin>


author: Bob Swift (personal)
body: No. You might be able to create a user macro and manipulate the output of the macro.


Tags: macro
Confluence - list FishEye commiters ?
Asked by Ana Crisan:

Is it possible to display the committers for a certain file/directory in FishEye on a Confluence page? What I mean is exactly the "Users" tab in FishEye when you have a directory or a file selected.

Thanks in advance.


Answers:
author: Felipe Kraemer
body: Hi, Ana.

In order to make the communication between FishEye and Confluence work, you'd need to use JIRA as a middleman, I mean, integrate FishEye with JIRA and Confluence with JIRA.

All FishEye information / activity that can be displayed in JIRA can be obtained by Confluence, by adding an external gadget to JIRA.

However, I'm not sure if a list of committers of a FishEye repository can be displayed in JIRA. As far as I know, there's no gadget for that.

I would recommend creating a new issue in our development issue tracker for this functionality to ensure our development team is aware of your request:

<http://jira.atlassian.com>

For more information on how Atlassian implements new features and improvements please see the following document:

<http://confluence.atlassian.com/display/DEV/Implementation+of+New+Features+Policy>

My apologies that I don't have a solution for you at this time.

Cheers,  
Felipe Kraemer  
Atlassian Support


Tags: commit

fisheye-crucible
Problem with editing page/notifications
Asked by Marko Lans:

When editing the page normally it will not make any actual changes. Page appears just as it was before the editing and no errors will be displayed. The child pages etc. are all fine and no such issues.

I believe this is to do with the subscribers/watchers. When ticking the box "Minor Change" (no notifications will be sent) it edits the page just fine. Also when navigating to tools-\> "manage watchers" it displays an error: "Failed to retrieve watchers".

Any suggestions? :)


Answers:
author: Robert Chang
body: Hi Marko,

For the page edit issue, you may be running into: <https://jira.atlassian.com/browse/CONF-22369>

It's worth backing up the DB the try the SQL queries as described in the bug report:

```
update NOTIFICATIONS set NETWORK = 0 where NETWORK is null;update NOTIFICATIONS set DIGEST = 1 where SPACEID is null and PAGEID is null and DIGEST is null;update NOTIFICATIONS set DIGEST = 0 where DIGEST is null;
```


author: Giuliano C.
body: Hello There,

It seems that something went wrong with the index on this, if the problem still persist after all this time, you can try to [Rebuild the Content Indices from Scratch](https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch "Rebuild the Content Indices from Scratch") and see how it goes.

If the issue was solved, we would be glad if you are able to share the possible fix for this, to avoid another users to experience this. However, hope it helps!

All the best,

Giuliano Tenedini
Colour of a title in Expand macro
Asked by Alexander Vyrsky:

Hi!  

Is it possible to make a title in Expand macro blue or green or any other colour?  

Regards,  

Alex


Answers:
author: David at David Simpson Apps
body: Browse to:

**Space Admin \| Look and Feel \| Stylesheet**

Click the **Edit** button and paste the following styles:

    /* change the style for expand macro title text */ 
    #com-atlassian-confluence .expand-control-text {
     color: #800;
     font-weight: bold;
    }

comments: author: Alexander Vyrsky
body: Thanks, it works now!


author: Neil Borilla
body: Why I dont have "Stylesheet" on Look and Feel? I only have these options:

Themes

Colour Scheme

PDF Layout

PDF Stylesheet

Change Space Logo

I am using 4.3


author: David at David Simpson Apps
body: You're probably on Confluence Cloud.


author: Anita Pinto
body: Hi David,

Can you please help me, would you know how to increase the Digi Accordion font size using css?

I used .panel-default \> .panel-heading \> to change the background color but could not get the font size to change. I even tried .panel-title

I would appreciate any help.

Thanks

Anita


author: David at David Simpson Apps
body: Browse to:

**Confluence Admin \| Look and Feel \| Stylesheet**

Click the **Edit** button and paste the following styles:

```
/* change the style for expand macro title text */#com-atlassian-confluence .expand-control-text {    color: #880000;    font-weight: bold;}
```

Your should get something like this:

![](http://k.minus.com/jTTuHCUsmffC1.png)

<http://minus.com/mNLzCaMmV>

comments: author: Alexander Vyrsky
body: I did what you suggested but the title is still black. What I however noticed that in the Edit 'Expand' Macro window, the title is dark red under the Preview area.


author: David at David Simpson Apps
body: OK, does it work in the standard themes? Is it a problem in these or a custom theme only?


author: Alexander Vyrsky
body: It works in the Global Look and Feel theme. I use Documentation Theme and it doesn't work there.


author: David at David Simpson Apps
body: OK, the Documentation Theme does not use the global stylesheet, you'll have to add to the space stylesheet. See my 2nd answer.


author: Luis Espinoza
body: Hi, I'm guessing they changed the styles from then. Does anybody know how to do this now?

comments: author: Luis Espinoza
body: Never mind, if you are using the cloud version it's still not possible to do this.  

Support this ticket if possible <https://jira.atlassian.com/browse/CONFCLOUD-72003>


author: Nbe
body: Just as an extension, if you only want to change the Style in only one page (not your all Confluence instance).

Use the "CSS Stylesheet" macro in your page an enter the code from David:

![grafik.png](https://community.atlassian.com/t5/image/serverpage/image-id/12199iAC4FDFEDF53BC707/image-size/large?v=v2&px=999 "grafik.png")


author: Alexander Vyrsky
body: I want to have a colour that's always the same, for example, blue as is normally used for links.


author: David at David Simpson Apps
body: Do you just want a different colour that's always the same? Or do you want this configurable?
How can I as a non-admin user tell who is space admin for a space?
Asked by bjartenilsen:

We delegated user administration per space to space admins, but as a user needing some sort of change in their permissions to a space, or access at all - I cant' seem to find a info page about who space admins are. Is this even possible?


Answers:
author: Svante Gustafsson Bj?rkegren
body: Hi Bjarte,

If you are using the [RefinedWiki plugin](https://marketplace.atlassian.com/plugins/com.refinedwiki.confluence.plugins.theme.original) you can create a neat panel showing who is the Space Owner in each space. I have created this as part of my Space templates and it is super-easy to update the panel after space creation.

The Original Theme from RefinedWiki is a great plugin to make Confluence both more custumizable and easier to structure.

Cheers,

// Svante

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


author: Sergey Svishchev
body: This is possible natively since [5.2 release](https://confluence.atlassian.com/display/DOC/Confluence+5.2+Release+Notes) of the app:
> In the Spaces Directory, choose the new Space Details icon ![](https://confluence.atlassian.com/download/thumbnails/391087151/SpaceDetails.png?version=1&modificationDate=1376364917336&api=v2), or go to 'Space Tools' \> 'Overview' within a space to view a list of all the users who have 'Space Admin' permissions for that space.

comments: author: JamesT
body: This only works if you have permission to see that Space. If a Space is truly restricted, it doesn't even show up in the Space Directory for a non-authorized user.


author: Betsy Walker
body: Take a look [here](http://confluence.atlassian.com/display/DISC/About+this+space "here") for a set of user macros that will produce such a list on a Wiki page, assuming you use a standard naming convention for space groups that repesent "space admins."


author: Andy Brook [Plugin People]
body: Not out of the box: Not without a little 'coding' and API knowledge. I did a sort of space security audit-tool of my last Confluence instance with a set of Beanshells (see Bobs <https://studio.plugins.atlassian.com/wiki/display/SCRP/Beanshell+Macro> ) which listed users and groups in a project (split between user and admin), in that tool the java code just generated wiki output. Er. oh yea, thats gone now, so would need some rework.

You could also do it with Bob's SQL plugin <https://studio.plugins.atlassian.com/wiki/display/SQL/Confluence+SQL+Plugin> , a kind soul added <http://come2niks.com/?p=821> a while back.

Always test Beanshells and SQL scripts on a test server. Do otherwise at your peril !
Is this normal disk space usage for Fisheye/Crucible?
Asked by Leo Hart:

My integrated Fisheye/Crucible instance is taking a significant amount of disk space:
> prmpt:user\[\]du -h -s \*
>
> 1K backup
>
> 4.3G cache
>
> 11K config.xml
>
> 3.1M lib
>
> 6.0G var
>
> prmpt:user\[\]cd var
>
> prmpt:user\[\]du -h -s \*
>
> 5.3G cache
>
> 376M data
>
> 0K fisheye.lck
>
> 4.4M log
>
> 28M plugins
>
307M tmp  
The project's code base size is 143 MB with 13,758 files and 3,332 folders.  
We started indexing at revision 13,806 and are currently up to 30,028. We are not indexing tags, only trunk and branches. I estimate about 60 branches have been created thus-far.  
Fisheye/Crucible 2.5.1 is running on a Solaris box, backed by Oracle.  
Is this normal disk space usage or does something look off?  
Thanks!


Answers:
author: Thomas Krug
body: Compared to my fisheye instance your's is small :-) The cache vary in size depending on the amount of files commited per revision. One more variable are the branches (Wether or not the whole trunk is being branched).

One of my projects is very similar to yours and get's changed quite often. This single project comsumes 20G cache alone with about 28.000 revisions indexed and having 230MB in the trunk.   
In total my cache size is 120G.


Tags: fisheye-crucible

space
PDF Export - Pages Out of Order
Asked by Henry Wilkinson:

I'm using Confluence 3.5.13 for an application documentation project and I find that when I go to output a selection of pages using the Advanced-Export \> PDF Export functionality, some of my pages are out of order compared to the hierarchical page tree that is displayed.

The pages that are out of order were moved from a section of the space higher up the list of pages to one lower down the tree a week or so back.

Is there a way to address this issue?


Answers:
author: John Masson
body: Hi Henry,

Sounds like you might want to raise a support ticket over at <http://support.atlassian.com>

Thanks,

John


Tags: export

pdf
Difference to put a link with "|"
Asked by Carfield Yim:

HI, I have a like like

http://xxx.com:9000/yyy.rb?7\|999999

and I find it is is very difficult to put in wiki page of confluence, when I click the link, it always just drop "999999", or drop "7\|999999" , anyone have clue about that?


Answers:
author: Kevin Buchs
body: Since "\|" is the divider between link URL and label, it will get cut off. Is that a legal URL?

Here is another alternative you could use:

\[My label \| http://xxx.com:9000/yyy.rb?7\\\|999999\]

|---|
|   |

comments: author: Carfield Yim
body: Thanks, already tried but doesn't work, it or drop "999999"


author: David at David Simpson Apps
body: URL encode the "**\|** " character to **%7C** to fix the URL

"**\|** " is not a valid character. [Insomniacs can read this](http://www.ietf.org/rfc/rfc1738.txt) if they don't believe me.

*Updated :)*

comments: author: Carfield Yim
body: Thanks, it look like working but that server show an exception message say URL doesn't able to parse. Then I refresh and it show ok.

Look like if **%7C** passed to that server, it doesn't really send as "\|". but just browser will show as "\|"
Adding additional columns in Confluence tasklist macro
Asked by Anni R:

Hi!

I use confluence integrated tasklist (confluence edit menu-insert-tasklist)

{tasklist:SUBJECTFirst column\|sortBy=name\|width=400px}  
\|\|Completed\|\|Priority\|\|Locked\|\|CreatedDate\|\|CompletedDate\|\|Assignee\|\|Name\|\|  
\|F\|M\|F\| \| \| \|test\|

<br />

\|\|Completed\|\|Priority\|\|Locked\|\|CreatedDate\|\|CompletedDate\|\|Assignee\|\|Name\|\|  
\|F\|M\|F\| \| \| \|test2\|  
\|\|Completed\|\|Priority\|\|Locked\|\|CreatedDate\|\|CompletedDate\|\|Assignee\|\|Name\|\|  
\|F\|M\|F\| \| \| \|test3\|

<br />

{tasklist}

Is it possible to add new columns also? In my example where the SUBJECTFirst column is 1 column. Is it possible and how?

it better one:

{tasklist:title=testitle\|width=300px}tasklist content{tasklist}  
{tasklist:title=title2\|width=300px}tasklist content2{tasklist}

how to add new column?

Any help?


Answers:
author: Calvin Williams
body: What was the answer?


author: Anni R
body: no help needed


Tags: macro
Can the Widget Connector be used to access services behind the firewall?
Asked by Jens Schumacher [Atlassian]:

**The short answer is:** Yes. The only requirement is that the users browser has access to the video.

The long answer is: All the widget connector does is creating an embed tag for a video based on a URL. It's quite simple really. Here is how it works under the hood.

1. The user provides a URL to the macro.

2. The WidgetConnector tries to match the URL with all it's available renderer implementations.

3. If the URL matches a specific renderer, the relevant parts of the URL (eg. an ID) will be parsed out of the URL and substituted in the embed tag provided by the renderer.

4. The renderer writes out the embed tag into the HTML page.

Therefore the only requirement is that the user can access the video via the browser. It doesn't necessarily have to be on a public service since the URL will be requested via the embed tag in the Confluence page.


Answers:
author: Jeremy Largman
body: Thanks Jens. For the record this was from a different conversation, re-posted here as an FAQ. I've also posted it to the [documentation](http://confluence.atlassian.com/display/DOC/Widget+Connector+Macro?focusedCommentId=266634224&#comment-266634224).
Why does PDF formatting work for Space export but not for individual page export?
Asked by Dee Elling:

Hi,

It seems odd to me that the PDF formatting (header and footer) I set up for a space only works for the Advanced space Export-to-PDF but not when I export PDF from an individual page in that same space.

Is this as-designed? Or am I missing some configuration.

Thanks! -Dee


Answers:
author: Mark Hrynczak
body: It has not yet been implemented. See <https://jira.atlassian.com/browse/CONF-17853> for the feature request.

There is a workaround documented at <http://confluence.atlassian.com/display/DOC/Advanced+PDF+Stylesheet+Customisations#AdvancedPDFStylesheetCustomisations-headerandfootercustomisations>

Cheers,  
Mark

comments: author: Dee Elling
body: Thanks Mark!

I configured the PDF Styles stylesheet for a copyright and page number at the bottom right. (BTW, the top-right command did not work; it put the text in the middle-right instead.) Then I put the graphics code in the Layout section for the top left and bottom left. So now both the graphics and text work for the Space export, and only the text for the Page export.
How to create page templates in Confluence 4.0
Asked by Adolfo Casari:

Since in 4.0 the wiki editor was disabled as far as I know, how can I create a page template with certain complexity since it only works with wiki markup?

In 3.5 I created the page and after making sure that it was OK I copied the wiki markup to the template window. But now I can t do that.

Any suggestion?


Answers:
author: Kevin Buchs
body: Put your wiki markup into a text editor and keep that current as you iterate. Then copy and paste it into the Wiki markup macro and you can see how it will be rendered. When satisfied, copy and paste from the text file into the template.

comments: author: Adolfo Casari
body: Thank you for the tip.


author: EPS Software Engineering AG
body: <br />

Hi,

If you are using Confluence 5.6.3 or higher, then our Add-on Page Tree Creator could be an option.

Our Add-on Page Tree Creator works a bit different than the Confluence blueprints / templates. The PTC-templates are based on normal confluence pages and can have entire page trees. Start the process by clicking a button or choosing the menu item, fill out the form and the page tree gets created.

Try our [**Live Examples**](https://focuspro.eps.ch/display/PEPSMarktExample/Marketplace+Examples) (no registration needed).

**[Marketplace link: Page Tree Creator](https://marketplace.atlassian.com/plugins/eps.focuspro.PageTreeCreator/server/overview)**.

Regards,  
Stephan


author: Sherif Mansour
body: You might also be interested in voting/watching this issue: <https://jira.atlassian.com/browse/CONFDEV-526> for implementing the new editor in page templates.

comments: author: Andre van der Elst
body: I've upgraded Confluence yesterday, and the first question one of my users asked is: how do I create a template ?

Instead of implementing the new editor in templates, isn't it easier to add a 'Tools -\> create template from current page' option ?

Keeping the template in a seperate file as wiki-markup is a really bad workaround. Also, there seems to be no easy way to tell which wiki markup codes exist.


author: Andre van der Elst
body: and I would love to comment on the issue, but when I try to access it I get an Permission Denied message.

Are these requests only acted upon when voted for ?


author: Mark Hrynczak
body: The correct issue for this is <https://jira.atlassian.com/browse/CONF-11744>
Get Confluence users from Jira?
Asked by Andy Kriger:

I am having difficulty setting up Jira 4.4.1 to handle users for Confluence 4.0. I've configured the application in Jira w the IP address. Under the hood, we use a different port than 80 but I could not enter that info with the IP address. In Confluence, I point to the Jira server with the username and password setup in Jira. On test I get the error below - any ideas?

When I test settings, I get

```
Connection test failed. Response from the server:com.atlassian.crowd.exception.ApplicationPermissionException: &lt;html&gt;&lt;head&gt;&lt;title&gt;Apache Tomcat/6.0.32 - Error report&lt;/title&gt;&lt;style&gt;&lt;!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--&gt;&lt;/style&gt; &lt;/head&gt;&lt;body&gt;&lt;h1&gt;HTTP Status 403 - client.forbidden.exception&lt;/h1&gt;&lt;HR size="1" noshade="noshade"&gt;&lt;p&gt;&lt;b&gt;type&lt;/b&gt; Status report&lt;/p&gt;&lt;p&gt;&lt;b&gt;message&lt;/b&gt; &lt;u&gt;client.forbidden.exception&lt;/u&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;description&lt;/b&gt; &lt;u&gt;Access to the specified resource (client.forbidden.exception) has been forbidden.&lt;/u&gt;&lt;/p&gt;&lt;HR size="1" noshade="noshade"&gt;&lt;h3&gt;Apache Tomcat/6.0.32&lt;/h3&gt;&lt;/body&gt;&lt;/html&gt;
```


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

This error seems to be related to JIRA and Confluence not being able to communicate with each other indeed.

Under the hood means that you have a proxy in front of JIRA? If yes, please bypass the proxy and try to connect again.

Also, please be careful that using the same URL can cause some problems to Confluence and JIRA such as: <https://confluence.atlassian.com/display/CONFKB/Cannot+Insert+JIRA+Gadget+into+Confluence+when+Running+JIRA+and+Confluence+on+the+Same+Domain>

Regards,

Rodrigo