youngmon/atlassian-qna huggingface dataset:
Confluene 3.5.1 is stuck in Setup.
Asked by William Wyatt:

I installed Confluence and started the setup procedure. When I pasted the evaluation license it hung. I then uninstalled and installed again. This time when I start the setup procedure it gets stuck at the License step and displays "Set up step error".

I'm guessing I need to delete something manually from disk or the registry. Oh, this is on Windows 7.


Answers:
author: William Wyatt
body: Thanks for your help. I was able to solve this by uninstalling again but this time manually deleting the Application Data directory and it's contents.


author: Peter Van de Voorde
body: Hi William,

Did you check your log files? They might give you the answer you are looking for.

Also, why are you installing such an old version of Confluence?

Best regards,

Peter
Open "edit in office" when clicking a link.
Asked by Lau Llobet payas:

Hi , If we want to edit in office we go to the file list , expand the file menue and click edit in office. But when we try to place links to thoose files in a page, the default action when we click them is to download the files. How can we enable edit in office when clicking to a link?

Thank you.


Answers:
author: Mick Davidson
body: Lau,

The only way I know to do this is to embed the document in the page using either the Word or Excel macro. You also have to use either Firefox or IE for the edit functionality to work.

Cheers.


author: Davin Studer
body: To piggyback off Mick. If you have access to the html macro you could put the below into an html macro and hide the document ... if you only want to see the link.

```
&lt;style&gt;.office-document {display: none;}&lt;/style&gt;
```


author: Lau Llobet payas
body: Please, can somebody help us ? Thank you.
Display notification message on topbar based on user group/users for JIRA/Confluence
Asked by Hung Dinh:

Is there a way, or a plugin can help display special notification (with close/dismiss) on the top bar like JIRA with the time zone notificatin setting, or jira client.   

![](http://content.screencast.com/users/hungdv/folders/Snagit/media/17142748-f6fc-45a0-988c-57bdcc53f60b/10.31.2013-19.05.png)


Answers:
author: Renjith Pillai
body: <https://marketplace.atlassian.com/plugins/com.atlassian.pas>

comments: author: Hung Dinh
body: Thank you very much Renjith. I just install the plugin, however it does not work :)


author: Renjith Pillai
body: Any specific error you are seeing in the logs?


author: HungD
body: Here is a rely from the support team:
> I noticed that Public Announcement Service Plugin is only compatible with Confluence 5.0 - 5.1.5 \& JIRA 6.0 - 6.0.8. Since you are using Confluence 5.3, this may be the main reason why it didn't work in this version and also due to this:  
>
> ```
> 2013-11-06 17:38:11,370 WARN [http-8091-19] [plugins.pas.rest.AnnouncementResource] checkTargetGroups Unknown target groups: [] -- referer: http://domain.com/plugins/servlet/pas/admin | url: /rest/pas/latest/announcement/create | userName: xxxxxxx
> ```
>
> The target group seems to be unknown. Based on the [plugin's documentation](https://bitbucket.org/atlassianlabs/pas/wiki/Home), you can only target all users or only specific groups.

I do see the plugin works if I indicate specific groups into the "\<label for="pas-target-groups"\>Target groups\</label\>", however it does not work if I leave blank (to target all users)  

I can add every groups to the target groups, however how can display the message to Guest/Not login users?  


author: Hung Dinh
body: Hi Renjith,   
I just fired a support ticket ID [JSP-176737](https://support.atlassian.com/browse/JSP-176737) where I include all information required for investigation. Would you mind having a look at the ticket


Tags: confluence-administration
Changing Confluence's help button link
Asked by Maria Kougioumoutzi:

Hello,

I am trying to change the link of the confluence online help, which is acessed by the question mark button on the top bar menu, with a link to my local help.

Does anybody know how to do this?


Answers:
author: Maria Kougioumoutzi
body: I added this to my custom hmtl (confluence admin \> custom html) at the **end of the head** and it worked:

\<script\>

AJS.toInit(function(){

AJS.$('#confluence-help-link').attr('href','http://mysite.com/confluence/display/ds/Help+Home');

});

\</script\>


author: Maria Kougioumoutzi
body: Thanks Peter..I will try that :)


author: Peter Van de Voorde
body: Hi Maria,

You'll probably need to edit the layout or the actualy velocity templates that create these screens. Good luck.

Best regards,

Peter
user mentions
Asked by Mohammed Shamil:

I would like to know if we can use @mention functionality for groups,if not,if this will be available in the future releases and also if there is a way by which we can include a predefined list such as department and then address the list in some way


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

Currently you can only @ mention users. If you want to request it for groups, please create a new feature request here : <http://jira.atlassian.com>

Best regards,

Peter
How are usernames on tables encoded/hashed in Confluence 5.2.x or greater
Asked by Joshua Thompson:

This relates to v5.2.3 of the Download version of Confluence.

I use the SQL Plugin with the SQL macro to query information directly out of our Confluence instance. Somewhere in a recent upgrade (5.0.x to 5.1.x or 5.1.x to 5.2.x) the format of usernames on tables such as CONTENT.LASTMODIFIER or NOTIFICATIONS.USERNAME have changed from a plaintext version to an 32 character hexadecimal hash. Previously these plaintext versions were identical to CWD_USER.USER_NAME.

I want to be able to profile information such as,

* Contributions per person per period
* Who is watching/subscribed to different blogs/spaces/pages

I can't seem to do it unless I can reverse this hash, or join it to a table that also has this hash which identifies the plaintext username.


Answers:
author: Marcel Rutjes
body: It looks like the user_mapping table stores the relation between the key and the username.

comments: author: Joshua Thompson
body: This table doesn't seem to exist in my Confluence instance nor is it mentioned in the data model <https://confluence.atlassian.com/display/DOC/Confluence+Data+Model>

Are you able to elaborate?


author: Joshua Thompson
body: Nevermind. I tried to select from the user_mapping table from a SQL macro in Confluence and it wasn't working. I've connected directly to the database and I can see the user_mapping table and the data linking the users.

It might now just be a permission issue.

Thanks!


author: Joni Nousj?rvi
body: This helped me track down some users who don't have an email address set but have still subscribed to some notifications. Thanks!


author: Sam Hall
body: I suspect they are hashing the user id somehow because the hexidecimal values seem to be sort of incremental (the first 24 characters of the hashes I've looked at seem to be the same). I'd also just like to point out that since usernames are allowed to be up to 256 alphanumeric characters in length, 32 hexidecimal character hash of such usernames would allow for collisions, so I very much doubt it's a hash of the username unless it's glitched.


author: Sam Hall
body: I'd also like to know what that's about, it can't be an efficient way to join tables. Also makes those audit columns less than useful.


Tags: confluence-administration
login with admin failed
Asked by zhou hong:

when I login with admin, always move this page.

ask me to input the word in image, but the image not display,

I have try it in many browers, but not show the image,

so I can't login with admin.

by the way, my license will be expired, I have apply a new license,

bug I can't login with admin, so I can't set the new license key,

please help me ASAP, 11/1 will be expired.

Thanks!

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


Answers:
author: RambanamP
body: submit a support request @ <https://support.atlassian.com>


Tags: confluence-administration
Confluence Team Calendar "Related page" url Label
Asked by Mikael:

In Confluence Team Calendar, when creating or editing an event, how do I put in an external URL link that doens't display the whole URL, but a label? I tried ?labelsString=, but that didn't work. For example:  

http://SharePoint.company.com/sites/dept/CM/RM/Internal/_layouts/xlviewer.aspx?id=/sites/dept/CM/RM/Internal/Shared%20Documents/MtGO_Release_Pages/Maintenance%202013-10-23.xlsx\&DefaultItemOpen=1\&Edit=1?labelsString=ReleasePage

Using Confluence 5.3

Pleaes advise. Thanks, Mikael Sikora


Answers:
author: Guilherme V.
body: Hey there,

Confluence only resolves internal links, so at the moment you can't "shrink" the URL. Nevertheless, I've created a improvement request which I suggest voting in order to expedite its resolution.

* <https://jira.atlassian.com/browse/TEAMCAL-3313>

Cheers,


Tags: team-calendars-for-confluence
Attachments missing in Confluence
Asked by M.R. van Kleef:

I'm using Confluence 4.2.1 and I have pages where attachments are disappearing.  
Attachments are stored on disk and they aren't removed physically but the records in the Attachments table in the database seem to be removed, so the attachments cannot be found by a page.  

It only happens on a few pages but if so all (links to) attachments on that page are removed.  
I don't think someone has deleted them by accident, because the files themselves are not removed, only the links in the database. Is there some kind of process what's causing this? A bug in Confluence?  

Michiel   


Answers:
author: Jo-Anne MacLeod
body: We have the same problem with Confluence 5.1.5. We resolved it by recreating the attachements (which were still in the attachment directory).

There is this, <https://jira.atlassian.com/browse/CONF-16348> reported problem/workaround that may work for you. It didn't work for us though.

comments: author: M.R. van Kleef
body: Thanks. I can try it but running the script or recreating the attatchments cannot be a definite solution. Until now there is only one user who reported this problem but I have about 60 spaces and hundreds of users. I expect this will be much more in the next months.  
If this isn't solved by Atlassian yet, I need to look for a document management system to store important attachments.


author: M.R. van Kleef
body: I have contacted Atlassian Support for this but they need more information, for example from the log files. I have to wait until this problem will occur again.


author: M.R. van Kleef
body: I have created a trigger on the attachments table which is fired when an attachment is removed. The attachment data will be copied to a temporary table. If an attachment is removed from a space where nobody has permissions to do so, I'll get a mail of that. Then I can look in the log files for more information.
Confluence API for add and remove space watcher
Asked by Vijay Krishna B:

Is it possible to add and remove space watchers through confluence API.


Answers:
author: Royce Wong
body: <https://docs.atlassian.com/confluence/latest/index.html?com/atlassian/confluence/mail/notification/NotificationManager.html>

The method removeAllNotificationsForSpace might work, but it might do more then you asking for thought. Try it and let us know.


author: Jobin Kuruvilla [Adaptavist]
body: I don't think you can add watchers for Space. You can do individual content types (pages, blog posts etc) using this.

<https://docs.atlassian.com/atlassian-confluence/REST/latest/#d2e2>

comments: author: Vijay Krishna B
body: Hi Jobin,

I can't see any thing in the shared link.It might be happened because of browser compatibility i verified in chrome,IE and firefox.Can you please send the right one.

Otherwise please send the required code for add or remove a watcher for a page.

Thanks in advance

Vijay Krishna


Tags: cloud

confluence-cloud
Atlassian SysAdmin is only Confluence Admins
Asked by bsjenkins:

I recently added Confluence to my package and although I and some other of our Jira users can access it and add pages etc, I am unable to add new users as the only confluence-administrators user is the default sysadmin user which seems to be something set up by Atlassian themselves? Does anyone know a way around this?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: System Administrator permission is not available on onDemand. It is a [restricted function](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand#RestrictedFunctionsinAtlassianOnDemand-Confluence).

You should be able to add users as Confluence Administrators (not System administrator) by adding users to administrators group (if I remember the group name correctly!).


Tags: cloud

confluence-cloud
Cannot insert Gliffy at bottom of Confluence 5.3 page
Asked by Rosalind:

We are testing Confluence 5.3 on our Development server. We cannot insert gliffy diagrams at the bottom of a Confluence 5.3 page. The Insert Gliffy option (following Save and Exit in Gliffy plug-in) works fine if the cursor is at the top of a Confluence page, or in a table, but not when the cursor is at the bottom of a page, following other content. Is there a fix for this?


Answers:
author: KatyK
body: Hi Rosalind,

If you can send an email to [support@gliffy.com](mailto:support@gliffy.com) and record a screencast of what is happening that would help us troubleshoot. Thanks!

Katy

Gliffy Support


author: Ryan Goodwin
body: Hi Rosalind,

I just tested this locally and didn't have any issues inserting a gliffy diagram after a bunch of text on a Confluence 5.3 page. The gliffy diagram was inserted at the bottom of the edit window below a couple paragraphs of dummy text.

Can you open up the developer console and choose the network tab, then try to insert the gliffy diagram and see if there are any errors shown? Are there any confluence errors reported in the logs?
jenkins confuence integration
Asked by srinivasp:

I am new to Jenkins and so would like to explore more about Jenkins. How to show jenkins reports on confluence pages?


Answers:
author: Benjamin Paz
body: It appears that the confluence plugin is out of date in Jenkins. It looks as though it is trying to connect via a SOAP api in Confluence. I understand that api was deprecated. Please advise if there is another solution available.


author: Ankit Tripathi
body: hi is there any way to upload any file in a tabular format to confluence through jenkins.

And one more question i uploaded the text data to confluence through jenkins but now i am not able to delete that content from confluence .how to solve it?


author: srinivasp
body: Any more suggestions please?


author: Zubin Irani
body: Hi Srinivas -

You can try the Confluence Publisher Plugin for this - link below:

<https://wiki.jenkins-ci.org/display/JENKINS/Confluence+Publisher+Plugin>

Not sure if the plugin is upgraded to 5.x yet.

comments: author: srinivasp
body: Hi Zubin, I have already seen that but it was not provided with much information. It was also mentioned that the jenkins reports would be published as attachments on confluence pages but I am looking for plugins to dig and show the reports in some tabular formats.


author: Mark Levitt
body: We've presented the rss feed from jenkins as a panel in confluence but management was not impressed. Presenting live content from a jenkins view along with the projects other (e.g. Jira issues) would be a more valuable dashboard.
Curate the recommended updates email / share aggregated content?
Asked by Stephen Hayden:

This is a nice looking simple email, is there a plugin or method anyone has used to try and manually influence or curate this? Is there no plugin or method to aggregate content into this form and mail it to people? This has been around long enough that I'm surprised I haven't seen more about this. Is there really nothing except turning it on and hope that it's useful?


Answers:
author: Stephen Hayden
body: Closing this absent a resolution to end the nag emails.


author: Sergio Storch
body: Stephen, I guess you didn t attach the e-mail example. Can you send?

comments: author: Stephen Hayden
body: It's the default Recommended Updates email COnfluence sends as of 4.2, here's a snippet, usually it's 3 of these, automatically curated per user based off some voodoo involving likes, comments, views, etc: [https://confluence.atlassian.com/download/attachments/273286009/RecommendedUpdatesEmail.png?version=2\&modificationDate=1332117144200\&api=v2](https://confluence.atlassian.com/download/attachments/273286009/RecommendedUpdatesEmail.png?version=2&modificationDate=1332117144200&api=v2)


Tags: confluence-administration
Changing font globally in confluence hosted instance
Asked by Alex Yasurek:

I would like to change the font for confluence to make it use Arial by default for everything. The documentation says that the default font is Helvetica, Arial, sans-serif. I essentially would want to remove Helvetica so that first default option is Arial and then sans-serif if Arial doesn't exist. Is this possible to do globally in confluence?


Answers:
author: Bhushan Nagaraj
body: Hey Alex,

Haven't tested this but take a look at

<https://confluence.atlassian.com/display/DOC/Styling+Confluence+with+CSS>

I think you need to place

.body

{

font-family:Arial, Helvetica, sans-serif;

}


Tags: css

font
OnDemand export space takes F O R E V E R ... and then crashes out / hangs indefinitely
Asked by Lee Correll:

If I try to normal export a space to PDF - with subpages (694 total) - it hangs on the 4th page, with the time remaining just continuing to increase (at 4 hours, I kill it.)

If I try to normal export a space to HTML - it stays at "Starting" for half an hour...at which point, I kill it.

Let's not even discuss a custom export. There's no way I know of to determine if these processes are still running or not. I did a reindex 2 days ago, so that's not it.

Does this work on OnDemand?


Answers:
author: Zubin Irani
body: It is very likely that the OnDemand instance is running out of memory. We noticed a similar problem, but on JIRA - while importing a project into an OnDemand instance, it worked well until the import progressed to 90% and then continued to hang. Needed Atlassian support's help to finish the import.

Contact Atlassian support - they are very responsive, especially for OnDemand tickets.


author: Harry Chan
body: There's likely not enough memory allocated to the OnDemand instances for such exports. I'd contact support asking for a temporarily memory increase or something, but these operations all require restarts / downtime.


author: Lee Correll
body: actually, "kill it" is a misnomer. I just close the browser window. From what I can tell, because performance then tanks, the process continues. I don't know how to - or if I can - kill it.


Tags: cloud

export

space
toc macro says "No Macro Metadata" since upgrading to 5.3
Asked by Oliver Maerz:

When trying to add a toc macro via "Insert" -\> "Table of Contents" or when trying to edit an existing toc macro I get the following error:

*"No Macro Metadata*   

*There is no metadata configured for this macro which means no configuration screen can be presented here.*   

*If this is a user macro then you can add metadata to the template using the User Macro Administration console."*

I have reinstalled the plugin and also removed the plugins-cache, plugins-osgi-cache, plugins-temp directories in confluence home but no luck.


Answers:
author: Sergey Zhukov
body: I've tried all suggestions to fix this problem with no success.

Now I fixed it by adding **jaxrpc.jar** from Axis project to /lib/ folder of Confluence.

I don't know why it helps but it removed the error "java.lang.NoClassDefFoundError: javax/xml/rpc/ServiceException" from logs and metadata has been returned.


author: Sumit Kumar
body: To check this plugin is working correctly, do the following;

1. Load the Administration dashboard (Browse \> Confluence Admin)
2. Load Manage my plugins (Configuration \> Plugins \> Manage my plugins)
3. Under System plugins, click Show system plugins
4. Search for Table of Contents Plugin, and click on the plugin name to expand the dialogue box.
5. Ensure that the plugin is enabled (if enabled, the Disable button should be shown on the right of the box).
   1. If the button is showing Enable, press it to enable the plugin.
   2. Also check that next to Manage plugin modules, it shows that 6 of 6 modules enabled
6. Also ensure that you are running the [most current version of the plugin](https://plugins.atlassian.com/plugins/org.randombits.confluence.toc). You can automatically update the plugin to the latest version by pressing the Update button on the right hand side of the screen.


author: HosseinA
body: Hi,

Have you checked if the TOC is enabled?

- Confluence Admin \> Manage Add-ons

- Under System plugins serach for Table of Content

You will then see if it is enabled or disabled. If disabled press Enable ;)


Tags: confluence-administration
Pull fields from JIRA using Macro in Confluence
Asked by MarkC:

Is there a way to accomplish the following:

1. Create a JIRA issue and populate a custom field called Requestor.
2. Create a user macro in Confluence that does the following:
   * Specify a JIRA issue number
   * Locate and read the Requestor field
   * Print the value of the Requestor field onto a Confluence page
3. Put the macro onto a Confluence page and set it for the issue and pull the specific field.

I'm trying to find ways to increase the integration for certain individual fields so that content is updated in one location and automatically updated in another. The JIRA Issues macro is not what I need/want to create. I want to pull specific fields from JIRA into Confluence.

We already have Confluence and JIRA linked together to pull in issues.


Answers:
author: Renjith Pillai
body: Can't think of any add-on which can do this directly. You may need to write a macro that calls the JIRA REST interface for the JIRA issue and can display the value of that custom field within JIRA

<https://docs.atlassian.com/jira/REST/latest/#d2e1223>

Or a user macro might be sufficient for this code - <https://confluence.atlassian.com/display/DOC/Writing+User+Macros>

comments: author: MarkC
body: You wouldn't happen to have an example...?


Tags: jira
Cannot delete or update a parent row: a foreign key constraint fails
Asked by bilal_mk:

Hello,

I have upgarded Confluence from 5.1.3 to 5.3 version. I got the following error on atlassian-confluence.log

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (\`confluence\`.\`AO_9412A1_USER_APP_LINK\`, CONSTRAINT \`fk_ao_9412a1_user_app_link_user_id\` FOREIGN KEY (\`USER_ID\`) REFERENCES \`AO_9412A1_AOUSER\` (\`ID\`))  
How to fix this issue?


Answers:
author: Patrice Rompas
body: Hi Bilal,

You seem to encounter a bug in Confluence (<https://jira.atlassian.com/browse/CONF-32014>). Check if the workaround can help you fix the problem.

Regards,  
Sam


author: SriniC
body: I am also getting the same error, when I upgraded from Confluence v4.3.7 to v5.4.2. Any solutions?


author: John Stetter
body: Did you end up finding a solution for this one? Encountering the same issue from 5.2.3 to 5.4.
Not compatible with Confluence 5.3
Asked by Maxym Mykhalchuk:

Hi, what's the timeframe to get Confluence Advanced Macros addon updated to be compatible with Confluence 5.3?

<https://marketplace.atlassian.com/plugins/confluence.macros.advanced>


Answers:
author: Ryan Goodwin
body: Hi Maxym,

Atlassian doesn't always update the bundled add-ons shipped with Confluence to marketplace right away. If you want to get the latest advanced macros which is v2.4.1, you can download Confluence 5.3 or 5.3.1 and extract the archive. Then look in /confluence/confluence/WEB-INF/atlassian-bundled-plugins for the latest version of the add-on.

comments: author: Maxym Mykhalchuk
body: thank you, Ryan


Tags: confluence-administration