youngmon/atlassian-qna huggingface dataset:
Help with pages and user permissions
Asked by SallyD:

I'm on a 30day OnDemand trial of Confluence. I'm putting together a demo showing the wiki as intranet but also as an external partner portal with access to selected internal pages. I was told the best way to handle cantent that needs to be shared this was is a separate space, which I called Shared Content.  

I'm afraid I'm messing up the permissions. I've created a group for our company and a group for each partner, and added users. I attempted to remove the partner users from the confluence-users group. However, I get nothing but Permission Denied when they log in. If I put the partner users back in the confluence-users group, then then dashboard shows all internal pages as well as the partner pages.   

What, if any, restrictions do I need to put on the Shared Content space? I want partners to be able to view, add comments, and export to PDF any pages linked from the Shared Content space.   

And did I mention that I have to do this demo this week? :-) I'll keep reading, of course, but I could use a slightly steeper learning curve on this one. Any assistance you can offer would be welcome.   

Thanks.


Answers:
author: Jonathan Simonoff
body: It sounds like the default page of the wiki should be the home page of the Shared Content space, and then you should make sure that every group can view, add comment, and export that space (alternatively, you can turn on Anonymous viewing. etc. for the space, which will allow any logged-in user to view it).

If you want people to go to the dashboard when they log in, but not all users are in confluence-users, you need to make sure that you've given those group wiki-wide view permissions.


Tags: cloud

confluence-cloud
How can I make the link (entity link) of Confluence Page in JIRA Project?
Asked by enrique Kim:

I made the application link (JIRA ? Confluence).

But I have a problem when I add an entity link from JIRA Project to an entity(Page) in Confluence.

When I click the "Add Link" button, the below error message is occurred.

"Sorry, there are no links available when using anonymous access, check the permission configuration of the remote application."

How should I do?


Answers:
author: Srikanth G
body: Hello enrique for this

step1. go to confluence space you want to link to JIRA. click on space tools on bottom left corner\>permissions\>give required access to anonymous user.

step 2. Go to space tools\>overview\>see project key and note it down

step3. Go to JIRA\>Project you need\>Administration\>Settings\>Configure project links\> put in the key you noted down and you should be able to see the project from confluence now. add it and save


Tags: application

jira

link
Manually change user directory for user
Asked by jason kim:

Hi. We've been using Confluence Internal user directory for a while before integrating with Active Directory, so we had to put the Confluence internal directory as the primary over active directory. Users that have the same names in both directories default to the primary directory, of course. Is there a way to manually override the directory used for a specific individual account? Individuals with the same username is causing an issue. Rather than making active directory the primary, I would like to make it the primary for users with the same name. How would I be able to do this? Thank you for your help.


Answers:
author: Ronald de Vries
body: Two questions:

1) Has anoyone put a "feature" request into Confluence support for this?

2) Is there a way to "hack" the screen of this user addition area to add a selectable directory field until someone in Atlassian delivers the functionality as part of core product? If yes, any guidance on code for a non-Velocity programmer :-)


author: Jim Birch
body: Can't you just make your AD the first directory? We had a set of local directory users that had the same name as their AD name. When we upgraded we made the AD our primary directory and these local users became the AD users. Any user attributes (like access rights, memberships of internal groups, etc) will in effect belong to the username rather than the AD user or the local user, so there is no problem switching to the AD source.

The general reason for using an external directory is to eliminate the creation and management of users in the application. AFAICS the only time you would want to create local application users is for special entities that don't exist in the external directory, eg, confluence-admin.
The element type "link" must be terminated by the matching end-tag "".class java.io.IOException in the jiraissues macro
Asked by Jorge Gaston Rivainera:

When I use the JIRA issues Macro, in the table appears the following error:

Error on line 76: The element type "link" must be terminated by the matching end-tag "\</link\>".\<br/\>class java.io.IOException

Thank you for your help.

Regards

Jorge Gaston Rivainera.  


Answers:
author: Stephen Mason
body: I had this issue too and was able to resolve it by replacing part of the link that I copied over from the XML link attribute.

The original link looked like this:  
http://jira.companyname.com/jira/**secure/IssueNavigator.jspa?reset=true\&**jqlQuery=...

And I changed it to this instead:  
http://jira.companyname.com/jira/**sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?**jqlQuery=...

The second method was the way that we used to insert links to jira task lists into our wiki before this macro was avaialble. Hopefully this helps others as well.


author: Davor
body: I found the solution

U have to copy the XML view of the page in macro funcion in confluence


author: Roee Sa'adon
body: I also get this. Copying the XML url didn't help.

Any solution?


author: Davor
body: I found the solution

U have to copy the XML view of the page in macro funcion in confluence


author: Davor
body: Has anyone fixed his?

I also get this message


author: Jeremy Largman
body: @citnet admin - this is ondemand.


author: Jeremy Largman
body: So this is a bit tricky to troubleshoot without actually playing around with the macro in a guess and check troubleshooting way. Here's what I'd do:

1. Check to see if this is happening on all jiraissues macros (I'm guessing not?)
2. Begin to hone in on what variables make it work or not by adding different columns to your issue navigator.
3. If that's not changing whether its working or not, try accessing this as a different user.

Basically, something isn't closing your html tags correctly. I'm guessing this is a result of a custom field, but it also could be a one-off of the data that's returned.

If you need, open up a [support ticket](http://support.atlassian.com) and give us the URL of your confluence page. Our support team can log in and take a look.

comments: author: Jorge Gaston Rivainera
body: Hi Jeremy, I probe with your advice, but the Macro don't work, thank you for your help.


author: Jeremy Largman
body: Do you mean the macro *never* works? I think the thing to do is open a support ticket at this point and we can look at the exact page.


author: Jeremy Largman
body: I updated your title. It'll be more likely to be seen, plus people will find it on Google later.


author: Jorge Gaston Rivainera
body: It's true, thank you...


author: CITnet CITnet
body: Which version of JIRA/Confluence ? Applinks setup ?


author: Jorge Gaston Rivainera
body: Hi, I have 4.0.5 version of Confluence and 4.4.3 version of JIRA.


Tags: confluence-cloud

cloud
Problem with {include} and links
Asked by Bruce Schlueter:

Hi everybody,

our problem is type of strange. What we did is created a page on which we included a number of subpages. On each subpage we have one icon with a link to the top of the "master page" and next to it a n icon with a link to the subpage. The thought behind it was that if I am on the "master page" and want to edit the displayed article this link would lead me directly to the page. This worked fine until we updated the Advanced Macros Plugin to version 2.0.31 due to bug CONF-22263 into which we also run.

Now the link jumps to the "master page" instead of the sub page. If I edit the link it shows me the correct link but still jumps to another. If I hover over the link on the "master page" it also shows the wrong link. So it seems to loose the correct link after including the page. It is possible to link to a page which is not part of the "master page" and this link will be used correctly.

What seems to work is if we use excerpt macro with include excerpt. But that is not really a solution for us. I hope I have described the problem understandable. Does anybody have any ideas?

Thanks,

Bruce


Answers:
author: Bruce Schlueter
body: Hi Joseph,

I have raised a bug report but am unsure if I did it correct. The id I received is CSP-73733 which makes me believe I chose a wrong product or so. Will someone at Atlassian move it into the right place or what do I have to do?

Regards,

Bruce

comments: author: Joe Clark
body: Hey Bruce, that's fine - you've raised a support ticket instead of a bug report. The support engineer should try to get a copy of your data to reproduce the problem. If they can, they'll be able to raise a bug report for the development team on your behalf.


author: Joe Clark
body: Hey Bruce, would you mind raising a bug report for this situation on the Confluence project? I'd like to get one of the developers who worked on the new editor linking to take a look at your scenario - <https://jira.atlassian.com/browse/CONF>


author: Barbara Green
body: I asked a similar question (actually kind of opposite behavior) about the excerpt-include macro.

[https://answers.atlassian.com/questions/15521/excerpt-include-macro-and-links-with-anchors](/questions/15521/excerpt-include-macro-and-links-with-anchors)

The best answer I got was that it was an issue within the way the page was rendered rather than with the macro itself.

comments: author: Bruce Schlueter
body: Funny is that it worked before we updated the Advanced Macro Plugin. So I guess there is a problem within the macro our that the behaviour before was by accident. ;-)
Confluence 4.0 and 4.1 does no longer support links to Windows resources (aka \\server\directory\file.html)
Asked by Odd Vinje:

Confluence 4.0 and 4.1 does no longer support links to Windows resources (aka server directory file.html).

Earlier we could write:

```
\\server\directoryname even with spaces\file.html
```

.. and it was dispayed and worked as a link. In Confluence 4.x it does not show up as a link, only text.


Answers:
author: Josh Eastburn
body: Didn't work for me (v 4.2.1)


author: Christian Czaia _Decadis AG_
body: Have you tried linking like this:

```
[file://///server/temp/foo.txt]  ?

Seems to work for me (but only in Internet Explorer)
See: http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

You might want to check:
http://confluence.atlassian.com/display/DOC/Working+with+Links
(...and the comments on July, 26th)

Cheers Christian
```
how can I specify the type of code in a code block ?
Asked by Andre van der Elst:

When I paste code in a code-block can I specify what language the code is in ?

In my specific case some code is detected in the wrong language and the highlighting looks strange.

I still remember the wiki markup ( code:xml , code:sql etc), but there seems to be no equivalent in the 'edit' popup to select the type of code.


Answers:
author: Thomas Wendel
body: Are you using the latest version of the plugin? Please check in the Conlfuence Administration if you are using the latest version of the Code Macro Plugin.

comments: author: Andre van der Elst
body: I'm using the Confluence 4.1 , with version 2.0.8 of the Code Macro Plugin (from Atlassian)


author: Thomas Wendel
body: * Are all modules enabled?
* Have you changed something in the configuration of the plugin?


author: Andre van der Elst
body: Also, I used to have the 'new code' plugin installed before we upgraded, maybe this is causing issues ?


author: Andre van der Elst
body: all 22 modules are enabled


author: Thomas Wendel
body: Andre,

I just installed Confluence 4.1 as well because I thought that the problem might have something to do with the latest version of Confluence. But everything seems to work well in that version as well.

Yes it might well be that the use of the new code macro prior to the upgrade is the culprit here. Unfortunately I'm out of ideas and I can't help you any further. I suggest you report this porblem with Atlassian.

Cherrs,

Thomas


author: Andre van der Elst
body: Thanks for checking, I'll contact Atlassian support.


author: Oli S
body: You have to edit the codeblock with the "Edit" Button. In the macro Browser you could change the language (The first dropdown)

comments: author: Andre van der Elst
body: ![](http://download.finalist.com/codemacro.png)what to do if there is no dropdown ?
Can I make my profile picture public?
Asked by jc21com:

When I visit my Confluence 4 site anonymously, the profile pictures for accounts display as anonymous pictures. Is there any way to make my profile picture publicly visible?


Answers:
author: Mark Hrynczak
body: There is a global permission which controls this.

To allow anonymous access to User Profiles, including the profile picture, select the check box for '**View User Profiles**' in the "Anonymous Access" section on the Global Permissions admin page.

See <http://confluence.atlassian.com/display/DOC/Setting+up+Anonymous+Access>

comments: author: Matthew Matthew
body: Beware, though. By doing this, not only are the pictures visible, but so are all users' e-mail addresses. And, the "people directory" becomes browsable anonymously, which may not be desireable.


author: childnode
body: Currently: NO (except you use Gravatar)

This would be your's [https://jira.atlassian.com/browse/JRA-31892
go vote for it ;)](https://jira.atlassian.com/browse/JRA-31892)


author: Matthew Matthew
body: Beware, though. By doing this, not only are the pictures visible, but so are all users' e-mail addresses. And, the "people directory" becomes browsable anonymously, which may not be desireable.


author: David at David Simpson Apps
body: Make your personal space public. Your profile picture will also become public. Check <http://confluence.atlassian.com/> all those with a public personal space have a profile picture.


Tags: image

profile
How to promote use of (existing) templates with new "Add" menu options?
Asked by Normand Brousseau:

We've been using templates since we implemented Confluence many years ago. We're now at v3.4.7, testing v4.0.3, and I notice a change in the "Add" menu options, which are now (in this order):

\* Page  
\* Page from template  
\* ...

and if you choose "Add", it's too late to choose a template!

Q.: Is there an option somewhere which would allow:  
\* forcing the use of a template  
OR  
\* moving the "Page from template" option to the top of the "Add" list?


Answers:
author: David at David Simpson Apps
body: To move the "Page from template" option to the top of the menu

Browse to **Confluence Admin \| Look and Feel \| Custom HTML**

In **At the end of the HEAD** paste:

```
&lt;script&gt;  AJS.toInit(function(){    AJS.$('#createPageLinkTemplate').parent().prependTo('#add-menu-link-space');  });&lt;/script&gt;
```

comments: author: Normand Brousseau
body: Hi David,

Sounds great, but after I edit the \*At the end of the HEAD\* field as specified, option order in the \*Add\* menu doesn't change BUT the code line is displayed on top of the page header (above the Browse and \<username\> menus. Something I'm doing wrong, or is the recipe different in 4.0?

I have screenshots available on my workstation, unfortunately I have no public URL to put them as a reference for this question. Isn't there a way to attach images to this interface from the PC (as in Atlassian Support)?


author: David at David Simpson Apps
body: Yes, that wouldn't work. Check the update though. I forgot to wrap the JavaScript in **script** tags


author: Normand Brousseau
body: Exactly what I was looking for -- many thanks, David!


Tags: template
Confluence: Add Space-Name to subject prefix in notification smtp-emails
Asked by Sven:

Hello,

how is it possible to add e.g. the current space to the email-notifications?

In confluence-admin it is possible to add a subject prefix (e.g. \[wiki\]), but in large installations it would be really helpful if some more information could be added like \[wiki\] \[SpaceKey\] \[PageName\] etc.

How is this possible?

Which templates would have to be changed? It should be a global change - if possible!

Thanks for any hint

Bye

Sven


Answers:
author: Oli S
body: To change the layout of an email, you could take a look into this documentation:

<http://confluence.atlassian.com/display/DOC/Customising+the+eMail+Templates>

perhaps you could start with this information.

cheers oli

comments: author: Sven
body: Thanks for the link. I know about it. But it is really a pain to have to make this modification everytime when there is a new version of confluence and in so many different places. Every plugin uses it's own templates...

I need a patch to a CENTRAL place (like the prefix in admin, but with "variables"...).

Is there a extension point for this?

Could this perhaps be done on the level of the java-mail.jar?
Add content to every wiki page
Asked by Emily Johnson:

Does anyone have a solution for adding content (such as a rating macro) to all pages in a space? I don't want it to appear in the footer because that is too far down.

Thanks!

Emily


Answers:
author: JamieA
body: Normally you'd modify the space velocity templates to achieve this, although I don't think that's a good idea personally (for reasons discussed in answers before).

You could use a plugin that uses javascript to write the rating macro where you need it to appear...

comments: author: Jeison
body: Modifying velocity templates or adding plugins are [restricted functions in OnDemand](https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand).


author: JamieA
body: Oh didn't see the tag. I'd probably knock something up with the remote API for OD then...


author: Jeison
body: Hi Emily,

Templates might help you in this case. Have a look at the documentation [here](https://confluence.atlassian.com/display/AOD/Working+with+Templates). But note that Templates are used only when adding a page. It is not possible to apply a template to an already-existing page.

Hope it helps.


Tags: cloud

confluence-cloud
Disable attachment notification in confluence
Asked by MASH Trust Atlassian ICT Team:

Hello,

In Confluence 4.0 (or 4.1), how can you disable notification of an updated attachment for users? - we have a watch space / page set on a page which also has attachments within it...

The way we operate is this:  
We add / update a series of attachments (i.e. PDF's, photos etc...) - currently notification is sent to the watcher of each and every attachment update... (which we don't want as it looses it's importance due to the number of notifications)...

Ideally after we are happy with the attachments, we then update the page and once happy, a auto notification would be sent as with the ammendments as one completed notification...

Is there a plug-in that I can disable for this function? - or other way?

Am I missing something here?

Regards,

Grant


Answers:
author: Patrick Moynihan
body: Any news on this? Would love to be able to disable notifications when an attachment is added. Thanks!

comments: author: Patrick Moynihan
body: Update: This issue appears to be resolved in Confluence 5.5.<https://jira.atlassian.com/browse/CONF-7612>


author: TomC
body: @Patrick Moynihan Yes and no as far as it being resolved. The resolution to CONF-7612 suppressed notifications in attachments were added in the edit screen. A newer issue - <https://jira.atlassian.com/browse/CONF-33214> - addresses the subject of suppressing notifications when adding attachments to the view screen or directly to the Attachments screen. The typical user at our organization is not aware that how they add an attachment can determine if a notification storm is imminent, but it appears from the comments on this latest issue that there is some resolve from Atlassian to address it.


author: xufenfei
body: This problem resolved ? How to ? I have the same question.


author: Mark Hrynczak
body: Hi Grant,

We are aware that the current behaviour is not ideal, and notifications in general is an area we hope to improve on in the near future.

You track further updates on this issue at <https://jira.atlassian.com/browse/CONF-7612>

Cheers,  
Mark

comments: author: MASH Trust Atlassian ICT Team
body: I see this issue has been an outstanding one for quite sometime then (2007)...

Seriously do you see a solution on the horizon for this type of solution?


author: TomC
body: @Grant Mantle See my comments to Patrick below...


author: xufenfei
body: You problem resolved ? Could you tell me the method? I have the same question, My confluence is 5.4.2.


Tags: attachment

notification
We have Confluence 3.5 is there a way to intergrate with MS Lync2010
Asked by Tom Wilson:

We have Confluence 3.5 is there a way to intergrate with MS Lync2010 for IM/ Presence indicator?

Thank You

Tom WIlson


Answers:
author: LuizA
body: Hello Tom,

Actually is not possible, but we have a feature request for this functionality, see below:

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

In this case I would suggest you to add yourself as a watcher in this feature request to follow the progress and also vote in this register to increase its popularity to be implemented in future versions.

For more information about the implementation of new features (how it works) please check the following link:

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

Kind regards,

LJ.