youngmon/atlassian-qna huggingface dataset:
How to load the content of a page in another space?
Asked by ashan:

Hi,

I use confluence 4.2.2 with documentation theme. In the document I have some links to pages in different spaces. when I click a link it navigates to that space. I want to load the content of that page without navigating to that space.

How can I do this?


Answers:
author: JohnA
body: Hi Ashan,

Fromt he sounds of it, the Include Page macro will perform the function you require and therefore I would advise that you give it a try and see whether it fits your needs: <https://confluence.atlassian.com/display/DOC/Include+Page+Macro>

All the best,  
John

comments: author: ashan
body: how can I add this macro to the link in the document?

Ex: this is a [link](http://www.google.com). for this url how can I add that macro?
Adding widget to confluence page
Asked by Kevin Smith:

Hi All,

When I used the follwing code for widget I'm struck with some errors.

```
&lt;script src="[http://widgets.twimg.com/j/2/widget.js"&gt;&lt;/script|http://widgets.twimg.com/j/2/widget.js"&gt;&lt;/script]&gt;&lt;script&gt;new TWTR.Widget({	version: 4,	type: 'profile',	rpp: 6,	interval: 4000,	width: 200,	height: 200,	theme: {		shell: {		background: '#3bb5ce',		color: '#ffffff'			},		tweets: {		background: '#ffffff',		color: '#444444',		links: '#0000a0'			}		}, features: {	scrollbar: true,	loop: false,	live: true,	hashtags: true,	timestamp: true,	avatars: false,	behavior: 'all'	}}).render().setUser('user1').start()&lt;/script&gt;
```

The Result preview is like this,

\</script\>![](../../upfiles/WidgetError.jpg)

Please help me on this.

Thanks...


Answers:
author: RianA
body: Hi Kevin,

I think you could achieve that using [html macro](https://confluence.atlassian.com/display/DOC/HTML+Macro). You might need to enable the module from Universal Plugin Manager.

Cheers.


Tags: markup

widget
libraries of content in Confluence - are what and how?
Asked by Mick Davidson:

Hello,

According to to the Atlassian website you can, in Confluence:

"Create libraries of content -- standard images, copyright statements, glossary items -- for re-use across pages and spaces."

<http://www.atlassian.com/software/confluence/overview/technical-writers>

Does this simply mean that you can create pages containting content that is used by the Excerpt or Multi-Excerpt plugins?

I've had a look in the user guide but can't see anything on this subject.

Cheers.


Answers:
author: JohnA
body: Hi Mick,

Confluence's inclusion libraries allow you to dynamically include content from one page into another page. You can include a whole page into another one, using the [Include macro](http://confluence.atlassian.com/x/_iAC) and you can also define an 'excerpt' on a page, and then include that excerpted text into another page using the [Excerpt Include macro](http://confluence.atlassian.com/x/Y0IC).

You can read more about configuring and using inclusion libraries in our documentation on the subject: [https://confluence.atlassian.com/display/DOC/Creating+Your+Knowledge+Base+Space](https://confluence.atlassian.com/display/DOC/Creating+Your+Knowledge+Base+Space#CreatingYourKnowledgeBaseSpace-Step5.CreateanInclusionsLibrarytoManageReusableContent)

All the best,  
John

comments: author: Mick Davidson
body: Thanks, that is very helpful, as is the rest of the info on that page. :)


Tags: content

excerpt
Edit the columns of the Attachments Macro
Asked by Bruce Schlueter:

Hi all,

does anybody know a way to edit the columns that are shown in the attachments macro? I am especially looking for a way to hide the labels.

Thanks a lot for your input.

Regards,

Bruce


Answers:
author: Amalia
body: You have to edit the attachment plugin jar which is bundled in Confluence. Go to *\<confluence-install\>/confluence/WEB-INF/classes/com/atlassian/confluence/setup* and open *atlassian-bundled-plugins.zip* . Locate *confluence-attachments-plugin-x.x.x.jar* and open it. The file to edit is in *templates/extra/attachments* folder, called *attachments-table.vm.*Delete these lines to remove the labels:

*

  ```
  &lt;th class="labels"&gt;$action.getText('labels.name')&lt;/th&gt;
  ```

*

  ```
  &lt;td&gt;#parse("/labels/labels-editor-content.vm")&lt;/td&gt;
  ```

comments: author: Bruce Schlueter
body: Thanks a lot, I will try that.


author: Bruce Schlueter
body: Unfortunately it took some time to implement, but it works fine. Thanks


author: Rodney Hughes
body: My query is about adding columns, not removing them.

<https://jira.atlassian.com/browse/CONFSERVER-58555>

I hope others will add their comments and votes ...


author: Lauren Roddy
body: Is this where you would also be able to edit the size of the "Name" column to make it larger (wider) so that the name doesn't appear as squished in IEv10?
Assignee can not receive the email notification when add comments on issue.
Asked by Zhi Xiujia:

I had added the **Current Assignee** into the Notification Schemes for Issue Commented event, but when I added a comment on the issue, why the Assignee could not receive the email notification?

In this issue,I am the assignee and comment was added by myself.


Answers:
author: Andy Brook [Plugin People]
body: Sounds like you may have a user preference that says 'dont notify me of changes I make', it crops up a lot. See **My Changes**in:

<https://confluence.atlassian.com/display/JIRA/Managing+your+User+Profile>


Tags: email

notification
Reverse comments on wiki
Asked by sander buijs:

We would like to reverse the order comments system on pages from new to old, instead of the default old to new.

Is their a way to do this?

Many thanks,

Sander


Answers:
author: Thomas Schlegel
body: Hi,

this was already discussed here: [https://answers.atlassian.com/questions/28999/is-it-possible-to-reverse-the-order-in-which-comments-appear](/questions/28999/is-it-possible-to-reverse-the-order-in-which-comments-appear)

Cheers

Thomas


Tags: cloud
Adaptavist Survey plugin - create survey only for admins?
Asked by aaron:

Hi,

using the adaptavist survey plugin, I am not able to find information of how to create a survey without having confluence-admin rights.

Can anyone tell me how to set permissions to all users to create a survey?

thanks in advance.


Answers:
author: Renjith Pillai
body: I guess you should get an answer from the question you posted on Adaptavist site :)


Tags: adaptavist

survey
Solution for "flexible" hyperlinks (absolute -> relative): Need different url for a) sub page and b) sub page within parent page
Asked by Steffen Heller:

Hello,

I have three documents

* one parent page and
* two included sub pages  
  * sub page A
  * sub page B

sub page A has a hyperlink to (a headline within) sub page B.

This hyperlink should be "flexible" in the following sense:

1. When I open sub page A and click the hyperlink it should go to to sub page B
2. When I open the parent page (which has sub page A included) and click the same hyperlink now it should stay on the parent page and just jump to the right space of the included sub page B

Obviously

* version 1 works with \[name of sub page B#name of headline\]
* version 2 works with \[name of parent page#name of headline\] or \[#name of headline\]

Is there some solution that can unite these two different URLs, perhaps a macro that can be included into the parent page and just filters out the first part of all hyperlinks?

Thanks


Answers:
author: Steffen Heller
body: That is probably a little too far fetched. So let's consider this one closed.


Tags: include

link

url
Confluence table row numbers
Asked by Matt:

Is it possible to have row number in confluence table?


Answers:
author: Henk Kleynhans
body: Hi @Matt,

Confluence 5.8 now includes auto row numbers! See the [Release Notes here](https://confluence.atlassian.com/display/DOC/Confluence+5.8+Release+Notes#Confluence5.8ReleaseNotes-Hugewinsformassivetables)

@Henk Kleynhans \[Atlassian\]

comments: author: Jeremy Largman
body: To get them, click the gear icon for 'table settings'.


author: Margot Weldon
body: It would be great to be able to control where the numbered column appears. We have merged cells in column 1 and have column 2 numbered.


author: Joel-Balmer
body: OK to me this was ***not***obvious but numbering is here now:

![table-numbering.png](https://community.atlassian.com/t5/image/serverpage/image-id/59522i77B14EE8B24A7684/image-dimensions/477x83?v=v2 "table-numbering.png")


author: JohnA
body: Hi Matt,

This functionality isn't provided by Confluence out-of-the-box, but you can install the Confluence Table Plugin as this extends the functionality of Confluence's tables and this will allow you to add numbering to the rows in your tables: <https://bobswift.atlassian.net/wiki/display/TBL/Common+table+capabilities>

All the best,  
John


author: Reid Manchester
body: It appears that the autonumbered column does not appear in any export of the page. Is there any way to support this? Perhaps another plugin?

comments: author: Andrey Khaneev _StiltSoft_
body: Hi Reid,You can use Table Filter add-on (<https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter>). Its autonumbered column exports to PDF/Word.


author: Pedro
body: Hi Matt,

For sure you should vote for <https://jira.atlassian.com/browse/CONF-25846>

or use plugin mentioned by John

or use CSS/JS magic :)

comments: author: Matt
body: Confluence 4.3 will have table improvements <https://confluence.atlassian.com/display/DOC/Confluence+4.3-m11+EAP+Release+Notes#Confluence4.3-m11EAPReleaseNotes-Tableimprovements> hovever it will not have row counting.

I am using, with very good outcome Table-Plus Macro, examples: <https://bobswift.atlassian.net/wiki/display/TBL/Table-plus+macro>

This works for me: autoNumber=true
\<body\>\</body\>
How to set up a testing instance
Asked by Mike Lo:

Hi there,

I've just deployed a production instance with commercial license, and now I want to set up a testing instance. So my questions are:

1. Could I use any Confluence version of installer for this test instance?

2. Should I enter my commercial license (which in use on the production) on the testing instance or just keep it as a trial?

Thanks in advance for the help.

Mike


Answers:
author: RianA
body: Hi Mike,

In regards to the first question, it depends on what kind of test environment that you would like to have. If you would like to evaluate the next version, you could use the version newer than your production, however if you would like to have duplicate test instance for troubleshooting purpose, I would suggest you to stick with the same version.

Regarding the license, you could use the developer license that can be accessed in your license details in <https://my.atlassian.com>

Hope this information helps! Cheers,  
Josua

comments: author: Mike Lo
body: Thanks you, Thomas and Rian. I plan to have an instance for the troubleshooting so I'll stick with the same version, and the developer license has worked perfectly.  

Cheers!

Mike


author: Mike Lo
body: Thanks for the heads-up, Rian. I plan to have an instance for troubleshooting first.

Mike


author: Thomas Schlegel
body: Hi Mike,

make a regular installation on another server with another database. Then get a developer license for your test environment (at the same page where you got your regular license)

Cheers

Thomas

comments: author: Mike Lo
body: Thanks Thomas, got the developer license and it works perfectly.  

Mike


Tags: instance

test
How fast does Automatically Assigning Users to Groups take effect?
Asked by Todd_Gamblin:

Crowd directories can be set up to automatically add users to groups when they authenticate, according to the docs:

<https://confluence.atlassian.com/display/CROWD/Automatically+Assigning+Users+to+Groups>

If I set a directory up to auto-add to confluence-users and jira-users, and the directory is visible to Confluence and JIRA applications, how long is it before the new group membership is visible in the applications?

I thought there was a synchronization window of 30 minutes or so, so if I DO set this up, and if only members of confluence-users have the "can use" permission in Confluence, won't users be shut out when they first log in? At least until the next synchronization happens?


Answers:
author: Adam Laskowski
body: In a Crowd connected directory, Confluence will perform a one-time check against Crowd prior to the recurring sync if a username does not already exist in one of the active directories (meaning it is not cached yet in the database). When this check happens, user memberhsips will also be retrieved, and if their group memberships from within Crowd contain a group with "Can Use" in Confluence, they should be able to access the site.


Tags: authentication

crowd

jira
Adding a GreenHopper sprint report to Confluence
Asked by AM:

The last 4 month, the GreenHopper team finally added some useful reports and enhanced the existing reports.

Any ideas how to integrate them in Confluence ?  

My hope is that I just have to add the JIRA URL and the report will appear in Confluence ....

- JIRA 5.0 - GH 5.10.6. - Confluence 4.1.7 -


Answers:
author: Hans-Hermann Hunfeld
body: This is exactly the same feature i was looking for.

We re creating for each sprint one according section in Confluence with an overview about the major facts of each sprint. While doing a sprint review this would be very helpfull just to link the available sprint report from GreenHopper into this Confluence page so also people with Confluence-only access can see what happened...


Tags: jira-software
Confluence search filter box - increase width to enable the reading of long space names
Asked by AM:

Sometimes you need to limit a Confluence 4.x search to specific space.

But with a lof spaces, names becomes longer :-( than the space list box width.

There is space left, so any ideas who to increase the width?

I'm not a how-to-modify-Confluence-CSS expert %-} , so I would appreciate a detailed how :-)

A-M

![](../../upfiles/Confluence-4.x-search-filter-box-and-space-increase-width_1.JPG)


Answers:
author: Septa Cahyadiputra
body: Hi there,

In order to make it looks neat, I recommend increasing the width of the whole search bar rather than just increasing the width of your "All Spaces" field.

Please try the following steps and see if it helps:

1. Access Confluence Adminsitrator Page
2. Under the "Look \& Feel" section navigate to "stylesheet" menu
3. Click "Edit" and input the following value
4. #search-sidebar {width:300px !important;}
5. Saved

Now your whole search bar should be wider to facilitate the long space name. Please modify the **px (** pixel**)**parameter appropriately as you preferred.

Please do let me know if you need to modify only the space name, there might be some trick that might help you achieve it.

Hope it helps.

Cheers,  
Septa Cahyadiputra

**EDITED:**

I have double check with a long name and apparently the above CSS won't help as it will only made the bar wider but the name itself is still limited from the source code.

Here is the list of improvement request regarding this issue:

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

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


author: RianA
body: Hi,

On top of Septa's Answer, as you know Confluence will only limit the Space name to 20 character, in search filter panel. Despite you increase the CSS, it will just show ellipsis instead of the full name of Space.

We've found the cause of this issue in \<tt\>SpacePickerHelper.java\</tt\>, in \<tt\>com.atlassian.confluence.search\</tt\>. The variable is only defined as 20, which is very less.

If you know how to edit the source code, you could try and change the following variable to maybe 50, and compile Confluence source.

```
private static final int MAX_SPACE_NAME_LENGTH = 20;
```

Hope this helps


Tags: search
Is there an easy way to move from standalone confluence installation to generic tomcat installation on Ubuntu
Asked by Maciej Sidor:

I have installed my confluence as standalone with embeded tomcat. Now, I need to move it to generic tomcat. Is there an easy way to move from standalone generic tomcat installation on Ubuntu. My confluence version is 4.1.6


Answers:
author: Ellen Feaheny [AppFusions]
body: Check out these documentation pages for some tips.

<https://confluence.atlassian.com/display/DOC/Upgrading+Confluence+Manually>

<https://confluence.atlassian.com/display/DOC/Switching+to+Apache+Tomcat>

==

Also this question is mistagged - it is not abt "ondemand"


Tags: cloud

confluence-cloud
Confluence SSO with Jespa breaks Application Link to JIRA
Asked by Kyle:

I recently implemented SSO on Confluence with Jespa and it worked great. However the implementation broke the application link to JIRA.

Has anyone implemented Jespa for SSO and have successfully configured application links? Please chip in your experience.

Confluence v4.2.6  
JIRA v5.1

Thank you.


Answers:
author: Ed Letifov _TechTime - New Zealand_
body: Jespa works just fine in every single environment I've encountered so far. Breaking applicaitons links has nothing to do with Jespa itself or NTLM (or Kerberous for this matter), but would be in the realm of the authenticator code that uses Jespa.

For example, our \[NTLM Authenticator for Jira and Confluence\|http://turningright.co.nz/display/TurningRight/NTLM+Authenticator\] support trusted applications integration. In the absolute worth case scenario certain URLs can be just put on ignore list if required.

We have multiple installations globally where it just works. Running well since 2008. We very rarely had to hold customers hands (I fully support Jespa developers' opinion that NTLM is so-o-o much easier and reliable than Kerberous). Most of them have upgraded to Confluence 4.x and Jira 5.x recently without any problems.

Please feel free to provide more details about your specific deployment.

comments: author: Kyle
body: Thanks guys. I understand that Kerberos is better than NTLMv2. Since Jespa was just purchased, we will have to stick to it for now.

@ed, i contacted you via your site yesterday asking about your authenticator. Please contact me via email so we can continue further. Thanks.


author: Ellen Feaheny [AppFusions]
body: Jespa - Hmm - interesting.

We have a [Kerberos solution](https://www.appfusions.com/display/KBRSCJ/Home) and do not have troubles with the app links.

Here's [our opinion on NTLM](https://www.appfusions.com/display/KBRSCJ/NTLM+v1+or+v2+or+Kerberos), fwiw. Googling NTLM, Jespa, and JCIFS seems to be a ton of MIXED opinions - so just telling you our field experience.

Maybe you can glean some insights [from this doc](https://confluence.atlassian.com/display/SPCON/Configuring+Confluence+to+use+Jespa+for+NTLM+Authentication) for Atlassian's Sharept connector?

If interested in the Kerberos solution - we've deployed it successfully over 30 times and counting now since Oct '11

info@appfusions.com


author: Jim Birch
body: Have just noticed the same problem since installing Jespa SSO in Confluence.

Our Jira uses the same ldap connection to Active Directory but doesn't use Juspa. IIRC the applink user was a non-ldap user, and there may be problems a non-ldap user authenticating one way or the other. Jespa allows certain paths to be excluded, it is possible that excluding the path used by the application link may fix the issue.

I haven't investigated this yet due to priorities...more later.


Tags: application-link

jira

sso
Using scaffolding text fields to pass values for jira macros in a template
Asked by Yusuf Abdulghani:

I would like to allow the users to provide a link to a jira filter in the text field provided by the scaffolding macro. Then I would like to take that jira filter link and use it in either a jira issues macro to show a list of jira issues on the confluence page. I am wondering if this is possible.

Thanks for all your help.


Answers:
author: Renjith Pillai
body: Confluence {run} macro allows you to do this by accepting a value form user and rendering the contents based on the same. You can use jiraissues macro within the run macro.

I meant the plugin from Bob

<https://bobswift.atlassian.net/wiki/display/RUN/Run+macro>


author: CharlesH
body: It is possible, provided your users understand the need to provide keys as a comma delimited string which you capture in a text-data field. In this case you can use the report-on macro from the Reporting plugin to inject that string into the jira issues macro. Be careful that any percent signs used in the query parameter are doubled up, so that Reporting doesn't treat these as markers for injection.In my case, I originally wanted to capture the jira keys in a report-table, which the end user could add rows to as required. This part worked well, but Reporting in Confluence 4 could not output the jira keys as a comma delimited string, and so I had to go back to a simpler way to capture those values. See this forum topic which may have snippets to help you: <http://community.customware.net/customware/topics/generating_a_comma_separated_list_of_values_from_table_data_keychain_help?from_gsfn=true>
Office Connector Errors
Asked by Bruce Michelsen:

Using bundled 1.15 version of Office Connector. Cannot upload later version. Cannot uninstall. Tried clearing cache from UI. Tried manually removing plugins from various cache directories. Started getting related missing OSGI errors.

Logged exception:

Object of class com.atlassian.confluence.plugin.persistence.PluginData with identifier com.atlassian.confluence.extra.officeconnector : not found

Error when using viewxls macro:

Cannot autowire object because the Spring context is unavailable. Ensure your OSGi bundle contains the 'Spring-Context' header.

<br />


Answers:
author: PeterKoczan
body: Hi,

Not sure what is exactly causing the errors, I believe I would need to see deeper in your logs to understand what's happenning.

As of the information now available, I would try to empty plugin cache and see if that fixes the problems.

1. Shut down Confluence
2. Remove the following directories from *\<CONFLUENCE-HOME\>* : **plugins-cache, plugins-temp, plugins-osgi-cache, bundled-plugins**
3. Start Confluence

If after the above steps the problem still persists, it's worth raising a support ticket.

Cheers,

Peter
Is it possible to find out how many anonymous page views for a specific page occurred within a specific timeframe?
Asked by Ryan Ryan:

The Confluence deployment is completely internal so I cannot use Google Analytics. I'd like to use a plugin for this but I have not been able to find one that can give me # of page views for the following filter...

- Anonymous user

- Last "X" number of days

- For page "X"

Is this possible with a Plugin? If not, is this possible with the SQL plugin? If so, do you know which tables contain this information and how to join them and specify the user, page name and date range filters?

Thanks!

Ryan


Answers:
author: Sean King
body: [Bitvoodoo's viewtracker plugin](https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker) is perfect. You can set it to show you exact user names or just annonymous users within a certain time frame.


author: Andrei [errno]
body: since you thought about Google analytics - Piwik might be a good fit for you (internally deployed):  
<http://piwik.org/>

highly recommended


author: Avinash
body: I am not sure but you can try CustomWare Tracking Plugin. Heres the documentation for it

<https://marketplace.atlassian.com/plugins/net.customware.confluence.plugin.tracking>

comments: author: Ryan Ryan
body: Tried it but it doesn't have the options I need.

This didn't come up on Google earlier, but I found it with a search in this forum...

<https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker>

Seems like it might do the trick.