youngmon/atlassian-qna huggingface dataset:
Can OnDemand integrate with box.com?
Asked by John Bottiglieri:

Wondering if OnDemand can integrate or connect to box.com?


Answers:
author: Ellen Feaheny [AppFusions]
body: Hello JohnnyB -

This is high on our list to make happen, given the upcoming release of [Plugins 3](http://blog.appfusions.com/the-riddle-is-solved-plugins-3-framework-for-atlassian-on-premise-and-ondemand/).

Aiming for a first cut of *OnDemand with Box* at [AtlasCamp](http://www.atlassian.com/company/about/events/atlascamp/2012) Sept 2012, when dev relations will officially release Plugins 3.

We have already done a remote app with [OnDemand and DropBox](http://www.youtube.com/watch?v=ggQv6cHdvCg&feature=player_embedded#t=907s) (see this [Atlassian Summit presentation](http://www.youtube.com/watch?v=ggQv6cHdvCg&feature=player_embedded#t=907s) or [this old blog](https://www.appfusions.com/pages/viewpage.action?pageId=11864171)!), and have been working with our Box on-premise integrations for almost a year now.

* [Box in Confluence](https://marketplace.atlassian.com/plugins/com.appfusions.confluence.plugins.box.box-in-confluence)
* [Box in JIRA](https://marketplace.atlassian.com/plugins/com.appfusions.jira.plugins.box.box-in-jira)

That said, since similar use case, we do not foresee any major issues for this integration on our development side. ETA Oct/Nov 2012.

Do you want to be our first Atlassian OnDemand with Box customer?

Ellen

[info@appfusions.com](mailto:info@appfusions.com)

p.s.

Otherwise, happy to help you port you to [24x7 hosted managed Atlassian services](https://www.appfusions.com/display/Dashboard/AppFusions+Resales%2C+Renewals), where you can deploy either of our existing Box connectors (and any other plugin/integration too).


author: PauloP
body: Hi Johnny

Since it requires a third party plugin, I believe that you can't integrate BOX with an AOD (Atlassian Ondemand) JIRA instance.

For further details, please review the following links:

1. Third party plugin \> <https://www.appfusions.com/display/BOXJIRA/Home>

2. Restricted functions in an Atlassian Ondemand environment \> <https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand>

However, it seems to be easy in a standalone version.

Cheers,

Paulo Renato

comments: author: JohnA
body: You are entirely correct Paulo, great answer!


author: Ashish Bhutiani
body: @Ellen - What is the status on this?


Tags: box.com

cloud

confluence-cloud
Confluence Plugin install problem (License N/A)
Asked by Antoine Gehl:

I have these errors when I try to install some plugins :

2012-08-23 14:57:25,348 WARN \[http-8080-6\] \[plugin.licensing.internal.LicenseRestrictionServiceImpl\] applyRestrictions Restrictions Failed with the following errors This plugin license is for server Id: "N/A" - however the server Id of this system is: "B2XN-501A-1RPL-0ULX".

I had a problem before with Confluence License Key. By default my License Key was N/A (I don't know why) so I fix it following instructions described on this page : [https://confluence.atlassian.com/display/CONFKB/Server+ID+Shows+as+$action.serverId+or+$action.sid.](https://confluence.atlassian.com/display/CONFKB/Server+ID+Shows+as+$action.serverId+or+$action.sid) So now in my BANDANA Table and in my config.cfg.xml it's this serverid B2XN-501A-1RPL-0ULX but now I have some issues when I try to install plugins.

Have you some ideas ?

NB : we are using Confluence 4.2.6


Answers:
author: AlysonA
body: Glad to hear that. =)

Indeed the error messages are a bit misleading here. In case you're using MySQL it is possible that your logs contains "MySQL packet size" errors. Anyway, good to hear things are working now!


author: AlysonA
body: Hello there,

If you can confirm both confluence.cfg.xml file and the BANDANA table contains the correct server id then I suspect this might be something to do with the plugin you're trying to install, can you confirm this is happening to all plugins?

You might want to wipe out the content from the following folders:

\* The _\<confluence-home\>/bundled-plugins_ folder  
\* The _\<confluence-home\>/plugin-cache_ folder  
\* The _\<confluence-home\>/plugins-osgi-cache_ folder  
\* The _\<confluence-home\>/plugins-temp_ folder  
\* The _\<confluence-home\>/bundled-plugins_language_ folder

This will discard any malfunctioning plugins.

comments: author: Antoine Gehl
body: Thanks Alyson !

I try that but when I do that and relaunch app, most of my plugins have dissapeared so I turn back. I think I have found the problem because after relaunch I have tryed to install others plugins as you said but someone hadn't exactly the same error.

After analyse and make a "df -h" on my unix server I found the problem :) Free space = 3MO :s. I think errors in logs was not the good errors (or was not catched correctly). I give more space and it solve my problem :)


Tags: server-id
How to identify requirements in Confluence
Asked by Aur?lien Rey:

Hi,

We use Confluence for all our project documentation.

We have some use cases and for each one, some business rules.

For the moment, we enlight the business rules with de "{info}" macro but there is no numerotation or any tracability.

I try to use JIRA for it but I didn't manage to make something clear.

Have you got any idea to generate unique "tag" for the business rules and so trace it ?

Regards,

Aurelien


Answers:
author: Adrien Ragot 2
body: I've built [Requirement Yogi](http://documentation.play-sql.com/display/RY/Requirement+Yogi) for this exact purpose:

* Regarding numerotation: Requirement Yogi helps you find the right key by suggesting the next available one,
* Regarding traceability: You can link to a requirement instead of linking to a full page. My perk is when you hover over a requirement link, it shows an inline dialog with an excerpt of the original requirement.


author: Amalia
body: I am not sure if this is the best approach. However, you can have a space for all business rules and create a page for each business rule. Put a tag for these pages. When you want to include the business rule, ensure that you use Include Page macro to do that :)


Tags: requirement
How do you create a read only user in confluence ondemand
Asked by Steven Seese:

There doesn't seem to be a way to deny edit access to an atlassian ondemand confluence user. Does anyone know how to do this?


Answers:
author: RianA
body: Hi Steven,

You can change the [Space Permissions](https://confluence.atlassian.com/display/AOD/Configuring+Default+Space+Permissions) for this issue. You could just navigate to Administration \>\> Wiki \>\> Permissions \>\> Space Permissions. From there you can revoke the permission or customize it.

Hope this information helps. Cheers.


author: Harry Chan
body: Hi,

Are you referring to a particular Confluence space? If so you need to set who has edit permissions per each Confluence space. You should be able to set different users permissions, including a browse only permission in Space Permissions.

comments: author: Harry Chan
body: Hi, refer to <https://confluence.atlassian.com/display/AOD/Configuring+Default+Space+Permissions> for instructions on configuring space permissions.


author: Steven Seese
body: How do you do that


Tags: cloud

confluence-cloud
Confluence Insert Link dialog extension
Asked by sm shamim:

We have created an extension of the 'Insert Link' dialog. It shows a list of videos from a video site. When a user select a video and click insert, the video url is inserter onto the editor. Is it possible to change this behaviour so that the inserted link is wrapped with an iframe embedding object? So that the video the url points to gets embedded.


Answers:
author: sm shamim
body: What the 'Insert Link' dialog does is that it creates a anchor node with the given link and insert this node to the linkBrowser.

We wrote the following fragment of code inside the preSubmit handler of our 'Insert Link' extension.

```
preSubmit: function () {      	var widgetMacroText = "&lt;p&gt;&lt;img class=\"editor-inline-macro\" src=\"/confluence/plugins/servlet/confluence/placeholder/macro?definition=e3dpZGdldDp1cmw9aHR0cHM6Ly9zZW5kdmlldy50by93LzM2MTYwYmZiOH0&amp;amp;locale=en_GB&amp;amp;version=2\" data-macro-name=\"widget\" data-macro-parameters=\"url="+url+"\""+" &gt;&lt;/p&gt;";            	tinymce.confluence.NodeUtils.replaceSelection(widgetMacroText);            },
```

The above code made sure that our video url got connected with the Widget Connector extension we created.

comments: author: sm shamim
body: The above code was changed to

```
var node = "&lt;p&gt;&lt;img class=\"editor-inline-macro\" src=\"/download/resources/com.dreambroker.confluence.plugins.dreambroker-confluence-plugin:image-resource/macro.png\" data-macro-name=\"widget\" data-macro-parameters=\"url="+url+"\""+" &gt;&lt;/p&gt;";var ed = tinymce.activeEditor;	var node = AJS.$(newNode).clone(true,false)[0];ed.execCommand('mceInsertContent', false, node.outerHTML);
```


Tags: confluence-app

link
Children Display - can't find markup in user info
Asked by Mick Davidson:

All,

I'm trying to add the {Children Display} macro to a template but it doesn't recognise this code.

I've tried using the wikifier (see: [http://www.amnet.net.au/\~ghannington/confluence/wikifier/rt/](http://www.amnet.net.au/~ghannington/confluence/wikifier/rt/) and [https://answers.atlassian.com/questions/70963/can-you-add-plugins-macros-to-a-template-in-confluence](/questions/70963/can-you-add-plugins-macros-to-a-template-in-confluence))

but that gets the same unknown macro msg.

I've also tried to find the markup in the user info (<https://confluence.atlassian.com/display/CONF40/Confluence+Wiki+Markup>) but can't.

Is this info (and similar options) elswhere, if so, can someone point me at it please?

Cheers


Answers:
author: Mick Davidson
body: The actual macro is:

{children}

which can be added directly to the template.

Thanks to [Charles](../../users/7427/charlesh/ "Charles") for that info.


Tags: child-page

markup

page
Fixing page permissions via database
Asked by volalex:

Hi, all!

How i can set and unset page permissions directly from database? It's needed because view our confluence page not permited for all users(Confluence Admins,System Admins etc...).

Confluence version is 4.2.8


Answers:
author: Bruna Griebeler
body: ```
Hi Alexy,In case you're familiar with database manipulation, you can refer to the SPACEPERMISSIONS table that stores all permissions from Confluence. Just be sure to create a database backup before changing anything.Here's a page that might be of your interest: confluence.atlassian.com/display/DOC/Confluence+Data+Model
```


author: Bob Swift (personal)
body: It would be safer to use something like [addPermissions](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addPermissions) and [removePermissions](https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-removePermissions) from [Confluence Command Line Interface](https://bobswift.atlassian.net/wiki/display/CSOAP) to do this type of thing.

comments: author: Anitha Parvatham
body: Is this issue resolved ? How is the issue fixed ?


Tags: permission
Using text editor instead of add comment button
Asked by Kavita Parab:

Is there a way which will help me display a text editor instead of add comment button on each page?


Answers:
author: Giuliano C.
body: You can reproduce it with Confluence "Quick Comments" plugin. But, bear in mind that it is only available for Confluence 4.2 and above.

Cheers


author: Kavita Parab
body: In confluence


author: David Toussaint _Communardo_
body: is that JIRA, Confluence or something else you are speaking of?
How do I change the date display format for comments in Confluence 4.2?
Asked by Chris Selvig:

I'm working to roll out a comment-intensive area in our Confluence 4.2 instance and want to change how comment times are displayed. Right now the comments shows as "*x* minutes ago," or *"*about an hour ago." I'd like to display these in standard datetime format, eg "Aug 22, 2012 12:31."


Answers:
author: Luzia Mendes
body: I don't believe you change it.

During the first 24 hours, it'll show like "x hours ago". After that, it changes to Date format.

You can play around with your date formats in General Configuration.


Tags: comment
License Key and SEN Question
Asked by Derrick Reynolds:

We are using Confluence version 2.10.3 (production).

How can I find out what my license key is?

Also, how do I find out what my Support Entitlement Number (SEN) is?

Thanks.


Answers:
author: Eric S
body: Hi Derek,

All license keys are managed at [my.atlassian.com](http://my.atlassian.com). However, if you are not a technical or billing contact for the license you are looking for you won't see it in your account.

This [page](https://confluence.atlassian.com/display/Support/Finding+Your+Support+Entitlement+Number) explains how to find your SEN #.

Cheers,

Eric


Tags: licence
Issue while integrating JIRA dashboard on Confluence- unique and interesting
Asked by Umakant Mishra:

Hi All,

i am trying to embed a JIRA dashboard link in the confluence page. Idea to to show the dashboard within the confluence page.

tried something like:

jiraportlet:url=https://code.xxx.com/jira/secure/Dashboard.jspa?selectPageId=11488\|anonymous=truon doing this the page shows a link to the dashboard and when u click, it routres to the JIRA dashboard page and have to press back button to come back on confluence page.

Later i tried:

jiraportlet:url=https://code.xxx.com/jira/login.jsp?os_destination=%2Fsecure%2FDashboard.jspa%3FselectPageId%3D11488

it shows the JIRA dashboard page, but u need to enter credentials before viewing the page.

is there a way where confluence page takes the credentials of existing user and without entering the credentail again?

tried to use os_username=username, but does not work and do not want to hardcode the view for specific user. want it to be current's user taken from session.


Answers:
author: Maria CW
body: Long time no answer - Any ideas on that?


Tags: dashboard

jira
Error formatting macro: jiraissues: java.lang.RuntimeException: Service Unavailable
Asked by Ron Smith:

I just started a position with this company and I am not all that familiar with Confluence and Jira. One of our testers is using Confluence and Jira together and could successfully use Jira issues until recently. When he attempts to use jira issues he gets the message in the title that I will post below:

Error formatting macro: jiraissues: java.lang.RuntimeException: Service Unavailable

<br />

Are there any common issues that would cause this issue?


Answers:
author: Giuliano C.
body: Judging from the stack trace, can you confirm your JIRA instance is up and running?

comments: author: Ron Smith
body: I can log into Jira and access content and the admin panel so I would assume it is running. Is there some specific service that I should check?
Basic question about Crucible workflow and git branch strategy
Asked by Michelle Eshow:

We're planning our migration from ClearCase/ClearQuest (!) to the Atlassian stack (except Stash, which is coming soon) and **git**. I have a basic question about how folks manage the number of branches that proliferate in the main repository when using Crucible. That is, we do our development on Issue-named branches. My understanding is the developer has to commit and push their branch to the master repo in order for Fisheye/Crucible to see it and present it to a reviewer. In response to code reviews, the developer has to commit and push a new change set on that branch to the master repo, for the reviewer to see the reworked code.

So over time it seems there will be many branches that appear in the Crucible commit graph browser - one per issue with possibly multiple commits per branch. For us there will be hundreds per year. And each one might have multiple commit events.

So I'm wondering how other customers clean up their git histories or otherwise handle this. Do you get rid of old branches (with git push origin --delete branch_name)? Do you automate that? Or is there a more elegant way to keep old branches from showing up in Crucible? Maybe this is more of a git question but it seems the Crucible model forces branches to be pushed and not remain local to the developer.

Michelle


Answers:
author: Stefan Saasen
body: > So I'm wondering how other customers clean up their git histories or otherwise handle this. Do you get rid of old branches (with git push origin --delete branch_name)? Do you automate that?

Hi Michelle,

In my opinion that's largely up to the team and the procedures/policy the team likes to follow. The Confluence team for example uses issue branches and cleans them up regularly. We've automated that using Bamboo and the Bamboo jobs deletes all branches:

a) that have been fully merged into the main line branch (so no commit is lost)

b) where the last commit is more than 30 days ago (so presumably the developer who was working on that branch has no intention of adding more changesets to that branch.

Logging those deletions allows us to recreate a branch if necessary.

Hope this helps.

Cheers,

Stefan

comments: author: Michelle Eshow
body: Thanks so much -- just hearing how an expert team does it is very helpful. I didn't know Bamboo can do that -- that's great.

Michelle


author: Stefan Saasen
body: Hi Michelle,

Bamboo currently doesn't do that out of the box. We currently use a custom plugin to achieve that but you could achieve the same with a script that executes git commands.

HTH,

Stefan


author: James Dumay
body: Michelle we are tracking this improvement request for Bamboo [here](https://jira.atlassian.com/browse/BAM-12783). Please watch the issue and vote for it :)


author: PiotrA
body: @Stefan - what is that plugin you're talking about? Is it the "issue-driven-development" plugin, or something different?


author: Stefan Saasen
body: Yes, that's the one.


Tags: fisheye-crucible

git
Purging non active users
Asked by Danny Spence:

We need to remove over 1000 users from the confluence database who are no longer active. Can we do this directly from the database or will this cause a problem inside of Confluence? If this cannot be done directly from the database, then what is the method of purging users so we can free up some licenses?


Answers:
author: Vladimir Omelchenko
body: It is better not to remove the users from the tools because it can cause issue but you can always disable them.

We have a connection with Crowd and all Atlassian tools so if we want to disable the inactive users we can just use the query like following:

use confluence_db;

update cwd_user set active='F' where user_name in ('user1','user2',...,'userN');

Better do no do it on live system and stop the confluence and crowd first.

comments: author: Arthur van der Molen
body: Thanks...

First, this is a confluence issue but second we create users the soon the want to acces any space, We use a single signon setup based on CAS. So even when users have no content what se ever we have created the user. As we have each year more then 5000 new students and 5000 who leave our university we have lots of accounts without any content and they just fill tables...

So I need a query that selects the users with no content (pages, comments, blog entries) and putge them from the USERS table


author: Arthur van der Molen
body: Yes, we would like this too. We had this option to prune in mediawiki. Not in confluence.... Every year we have 5000 new students and not only 1% create content....
Confluence is sending watchers two identical emails on page updates
Asked by David Williams:

Our Confluence instance is sending watchers duplicate emails when a page they are watching is updated.


Answers:
author: Azwandi Mohd Aris
body: Any chance that you have the Descendant Notification plugin turned on? If that's the case, you might be hitting into this bug - <https://www.adaptavist.com/display/community/Double+notification>


author: Alexander Flekshtien
body: I had the exact same issue on Confluence version 4.2.1.  
I tried running it in Debug node and scanning the log files for any errors or problems while this is happening and couldn't find any errors,

Finally ,

I noticed we had a plugin named "Descendent Notification Plugin"

Once I disabled it the problem disapeared


author: Fru Asanga
body: Users watching confluence page get two email notifications per update done on the page.

I will appreciate some help with this.

Also, is this a bug?


author: BernardoA
body: Please, inform which is your Confluence version, because this is a known issue in some versions.


Tags: email
Is gliffy enterprise license available for confluence on-demand?
Asked by Scott Mercer:

I'd like to be able to import visio diagrams, and from what I can tell this requires an enterprise license for gliffy. I cannot tell if it is possible to obtain this license when using confluence ondemand.


Answers:
author: Keith Rockhold
body: Hi Scott,

No, currently you cannot get an Enterprise license of Gliffy in OnDemand. However, we expect to make an announcement on this issue in the next couple of months. I apologize for the inconvenience. One way to work around this issue would be to create a Gliffy Online pro account. This would give you the ability to import Visio diagrams into Gliffy Online which you can export from GO and import into OnDemand.

Feel free to contact me for details.

Thank you,

Keith Rockhold  
Support Engineer  
keith@gliffy.com

Gliffy Inc.  
PO Box 7775 #35255  
San Francisco, CA, 94120-7775

877-2-Gliffy (877-245-4339)

comments: author: Lutz Hoeger
body: Hi Keith,

Any update on this? We just got a license for Gliffy for Confluence onDemand, only to find out that it still doesn't provide Visio import. Or does it?

Thanks,

Lutz.


author: Nic Brough -Adaptavist-
body: Yes it is. Go to your OnDemand account and buy one.

See <https://confluence.atlassian.com/display/AOD/Atlassian+OnDemand+Plugin+Policy>

comments: author: Scott Mercer
body: Hi Nic - Thanks for the response. I already have the Gliffy plugin set up, my question is specifically with regard to the enterprise license. I haven't seen anything that says the enterprise flavor is not available to ondemand users, but I cannot find anywhere in [my.atlassian.com](http://my.atlassian.com) to upgrade it.


Tags: cloud

gliffy

gliffy-cloud

visio
Write Specific information in log file in confluence
Asked by Natalie Wenz:

I read the documentation about the logging behaviour of confluence. I am not sure how to edit the logging behaviour. For example i would like to log special things what some user did. I want to know when an user deletes an attachment.

Is there a way to configure the log files for getting customized output?


Answers:
author: Giuliano C.
body: Hello,

I'm not sure if it is exactly what you need, but you can change the log configurations through Confluence Admin section: <https://confluence.atlassian.com/display/DOC/Configuring+Logging>.

Also, you can follow these steps to enable user access logging:

<https://confluence.atlassian.com/display/CONF41/How+to+audit+Confluence+-+enabling+user+access+logging>

Cheers

comments: author: Natalie Wenz
body: Ok thank you very much. I have read this both pages but i think its not possible to get specific log output on this way. I'm wondering if its possible to create a new log file just with the relevant information.