youngmon/atlassian-qna huggingface dataset:
Jira Groups not recognized by Confluence?
Asked by jared forrester:

Hello,

We've been testing an upgrade from Jira 4.1.1 to 4.4.1 and Confluence 3.2.1_01 to 3.5.13. One problem we're encountering is that the Jira groups are not appearing in Confluence.

The Jira User server has been set up and the user directory has been added to Confluence. Users are able to log into Confluence but of course get a not permitted error when trying to access anything.

Are we missing anything obvious? If there is anything else I should provide to help answer this, please let me know.

Thanks.


Answers:
author: William Zanchet [Atlassian]
body: Hi Jared,  

All users imported by an JIRA User, must be imported to confluence-users and/or confluence-administrators groups, otherwise the \*Not Permitted\* page will be shown. Also, is important that these both groups have the \*Can Use\* checked on \*Confluence Admin \> Global Permissions\*. So please check if this is set in your Confluence instance.  

I hope this helps.  

WZ


Tags: confluence-administration
Identify Confluence Users and Groups vs. Active Directory's
Asked by RIsk:

We use Active Directory Users and Groups for permissioning in Confluence. We also have a handfull of users and groups defined in Confluence. When Admins administer permissions, it would be helpful if there's an indication next to users and groups that notes the source, AD or Confluence.

I thought about renaming Confluence groups adding a prefix but apparently you can't name groups in Confluence.

Any advice on how you manage permissions regarding users and groups in a mixed enviornment would be helpful.

Thanks.


Answers:
author: Christ Christ
body: We use Active Directory to manage our internal users/groups and Confluence to manage our external users. We solved this issue by creating groups in AD that were prefaced with "CG" (Confluence Group). For example, we have CG Development, CG Marketing, etc. Then our internal user ids are placed in those groups via AD. The external users are managed within Confluence but we don't have them associated with any groups since we have very few external users (less than 10 users).


Tags: administration

group
Where do I find my installation directory?
Asked by Michael Harris:

I'm looking to upgrade my 3.5.5 instance to the 4.0 beta.

However, but for the life I me I can neither remember where or find my confluence installation directory.

Is there somewhere in the Administration panel which will identify where this directory is, and if so where?

Alternatively, I'd searched the system to find possible directory paths, and here's the possible locations:

* /usr/local/confluence
* /usr/local/confluence/confluence-3.5.5-std/confluence
* /usr/local/confluence/confluence-3.5.5-std/confluence/WEB-INF/classes/com/atlassian/confluence
* /usr/local/confluence/confluence-3.5.5-std/work/Standalone/localhost/confluence

Trying any of these paths in the 4.0 installer returns:
> The directory you have selected is not a valid Confluence installation directory.

Running installer (atlassian-confluence-4.0-rc3-x64.bin) in /usr/local/confluence, logged in as root.

Anyone who can point me towards the right install dir for my existing instance, or inform me what idiotic mistake i've made, it would be greatly appreciated.


Answers:
author: David Dube
body: Do you have access to the Confluence Admin section? If you do:

Under Administration -\> System Information -\> Confluence Information Table (1st Table) -\> Confluence Home (The path displayed should point you in the right direction)

comments: author: Michael Harris
body: Which claims it is /var/lib/confluence, however the upgrader also refuses to recognise it as a valid install directory :(

Will have to look into if there's a bug with the installer.


author: Craig Skipsey
body: I found mine in /opt/atlassian/confluence

This was on Ubuntu 14


author: Jeremy Largman
body: There's a difference between the 'confluence home' and the 'confluence install' directories. The answer by Dave Dube is for the confluence home directory, which is why the installer is reporting an error.

You want to find the directory called \*-std. In the above example, the confluence-install directory is /usr/local/confluence/confluence-3.5.5-std.


author: Nicholas TenBrink
body: I am having this exact same problem, i know the home directory but the installer for v4.x just states is not a valid Confluence Installation Directory.
How do I drag and drop a parent page from 1 space to another?
Asked by Kim Wilson:

I want to move a parent page with children pages that I have been working on in my personal space to my team's space. How do I do this?


Answers:
author: Kim Wilson
body: You can't drag and drop, but you can move it by going to the tools drop down menu.


author: Jo-Anne MacLeod
body: As already said you can move. One heads-up, is that if you are running a confluence install older than than 3.5.3, it may not work. There used to be a problem moving pages between spaces. That has, however been resolved in 3.5.3


author: David Dube
body: To follow on Dave's great suggestion... if by chance you ever need to copy the content into a different space, check out the [Copy Partial Space](https://plugins.atlassian.com/plugin/details/22213) plugin.


author: David at David Simpson Apps
body: You can't drag and drop, but you can choose **Move** from the **Tools** pulldown menu on the parent page that you wish to move.

The will bring up a dialog that allows you to choose the new space and new parent page from which to "hang" the new page.

The dialog:![](http://s3.amazonaws.com/twitpic/photos/full/397777921.png?AWSAccessKeyId=AKIAJF3XCCKACR3QDMOA&Expires=1316016107&Signature=GrL2R15XWZBZoqMOQKqbyZcNqgc%3D)

<http://twitpic.com/6ktrep/full>
confluence license
Asked by jason hong:

Hi.

I would like to purchase 10 users license for confluence.

I have a question.

10 users license is except administrator user , Or including administrator user ?

is jira also same ?

Thank you


Answers:
author: jason hong
body: thank you for your answer


author: Azwandi Mohd Aris
body: In Confleunce, the number of registered users includes only users who have the 'Can Use' global permission, no matter if the user is an administrator or normal user.

Same goes to JIRA, but for anyone who has the 'JIRA Users' global permission.


Tags: licence
Use of template variables within add-page macros
Asked by Kevin Buchs:

I am not sure if it is possible to get template variables to properly expand in the markup of an add-page macro, but this is what I would like to do. My attempt is below. It does not expand the second or third macros (i.e. the user is not prompted for them when using this template for a new page; only @Subject@ is working.

{center}{color:blue}\*Project @Subject@ Journal Page\*{color}{center}

----

h2. Subject Description

{color:gray}Enter description{color}

h2. Create New Journal Entry

{add-page:template=Meeting-Instance-CommonInclude\|parent=@self\|prefix=

@Prefix@ Journal Entry %page:title% }Click to add new journal entry{add-page}

{add-page:template=Meeting-Instance-CommonInclude\|parent=@self\|prefix=

@Prefix2\|textarea(1,10)@

Journal Entry %page:title% }Click to add new journal entry{add-page}

h2. Journal Entries

{children:depth=1}


Answers:
author: Daniel Brice
body: I think this is a duplicate of: [How do you add template variables as macro parameters or in plain text macro bodies?](../141785/how-do-you-add-template-variables-as-macro-parameters-or-in-plain-text-macro-bodies)
"Powered by a free Atlassian Confluence" banner in middle of first printed page?
Asked by Ian Crew:

I'm getting reports from a user that:

"I see that many pages I print from the wiki get a Confluence banner printed part way down the first page, cutting off the text ("Powered by a free Atlassian Confluence blah blah"). Most annoying. "

I can't seem to reproduce it, unfortunately. Has anyone else seen this?

Thanks!


Answers:
author: twong_atlassian
body: I see that happen when there's some kind of broken formatting on the print layout. I would identify which space he's looking at, and check the Space Admin \> layout for print. Probably worth it to just reset to defaults if it's deviated.


author: twong_atlassian
body: Oops! I apparently have necro'ed a topic! Bad Tim!

Thanks for responding back Ian- Guess I wasn't paying attention to what I was clicking on :/


author: Ian Crew
body: I asked this question 15 months ago, and I'm no longer involved with the project in question. Still, Tim Wong's answer seems the most plausible, so I'm accepting that one just to close this question out and not waste anyone else's time with it. Thank you both!


author: Giuliano C.
body: Hello Ian

It could be something regarding the customization settings on your Confluence instance. If you have some custom theme or something regarding customization on your Confluence estructure, could you please try to default them?

Hope it helps!

Kind Regards,

Giuliano


Tags: print
how do I get Insert Jira Issue to work in Confluence?
Asked by Kris W:

I have Confluence 3.5.9 and Jira 4.4. I have set up Jira to trust Confluence using AppLinks.

In Confluence, when editing a page, I can click the Jira button to insert a Jira issue. But:

When Recently Views is highlighted, it says "No search results found."

When Create New Issue is highlighted, the dropdowns have no options. There are no projects in Projects and nothing in Issue Type.

When Search is highlighted, if I enter a search term, it says "The JIRA server didnt understand your search query. If you entered JQL, please ensure that its correctly formed. If you entered an issue key, ensure that it exists and you have permission to view it."

What do I need to do to get this working?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: When you setup Applinks, have you given the ip addresses? Try removing it because JIRA and Confluence both have applinks plugin installed.

comments: author: Kris W
body: I can't edit the IP patterns or URL patterns.

Jira has nothing in the IP Patterns or URL patterns under Outgoing Auth. Under Incoming Auth there's 1 IP pattern and a bunch of URL patterns, the ones mentioned in the documentation.

/rest

/plugins/servlet/applinks

plugins/servlet/streams

/rpc/soap

/sr/jira.issueviews:searchrequest

/secure/RunPortlet

Each on a separate line. But I can't edit either field. When I click and start typing, nothing happens.


author: Jobin Kuruvilla [Adaptavist]
body: If you scroll down, you will see a 'Modify' button. Click on it and then you can change the ip patterns and urls.


author: Kris W
body: Thanks for pointing out the modify button.

I removed the IP patterns and it's working now -- thank you.


author: Martin Herzog
body: You da man. That was my problem. Thanks.


author: Roman Samorodov
body: Try to turn on the oauth authentication in both JIRA and Confluence.  
In **JIRA** go to **Application Links** click **Edit -\> Outgoing Authentication -\> Oauth** and click **Enable** .  
The same steps for **Incoming Authentication** in **JIRA** .  
Also you should do the same in **Confluence**.


author: Azwandi Mohd Aris
body: I'd check if the server base URL is correctly set both in JIRA and Confluence. If that does not help, review the atlassian-confluence.log for any related error messages.

If you are using trusted app for outoging authentication, make sure that the same username has access in JIRA.


Tags: application-link

jira
Problems with the Recently Updated Macro in special context.
Asked by Thomas Zobel:

We have problems with the {recently-updated}-macro on following pages:

[http://MYWIKI.com/pages/recentlyupdated.action?key=SPACEKEY](https://mywiki.com/pages/recentlyupdated.action?key=spacekey) and

<https://MYWIKI.com/users/viewuserprofile.action?username=USERNAME>

The follwing error block appears: 'Unknown macro: {recently-updated}'.

Do someone have an idea?

Thanks in advance,

Thomas


Answers:
author: Nic Brough -Adaptavist-
body: The macro is disabled, or not installed at all. Check the plugins list, and the application log. Is it working anywhere else?


author: Thomas Zobel
body: Yes, the macro was disabled!
Deleting Confluence pages automatically after a certain period of time?
Asked by Tsuyoshi Ito:

Hi everyone,

I am wondering if there is any way to delete Confluence pages automatically after a certain period of time?

I have found this plugin, but this is slightly different what I expect.

<https://plugins.atlassian.com/plugin/details/123>

Thanks

tito


Answers:
author: Midori
body: You are on the right track! You **can actually do this by combining the [Archiving Plugin](https://marketplace.atlassian.com/123) with [CLI](https://marketplace.atlassian.com/plugins/org.swift.confluence.acli)**.

It requires two steps, but it is dead simple:

1. Set up the Archiving Plugin to archive the pages that should be deleted. Please note that this will move the pages to spaces whose name ends with "(Archive)". Configure the Confluence managed archiving job to run at 01:00AM, for instance.
2. Set up CLI to delete all spaces whose name ends with "(Archive)"! Configure a cron job to run it at 05:00AM, for instance. (It leaves 4 hours for archiving to complete, which is more than enough even for very large Confluence instances.)

Voila! You have clean content each morning by 05:10AM!


author: Bob Swift (personal)
body: You didn't explain what you expected and why the plugin didn't do what you wanted, so it is hard to say what you are looking for. Specifically, what criteria determines whether a page should be removed? You can use [Confluence Command Line Interface](https://studio.plugins.atlassian.com/wiki/display/CSOAP) to script logic to make determine what needs to be removed and use **removePage** . Optionally, you can save the page source to a file or copy it to some other space or Confluence instance before you remove it. If you can construct a select statement against your Confluence database for pages that need to be archived, then it is easier to use the **runFromSql** action to do the archiving and removals.

comments: author: Tsuyoshi Ito
body: Hi Bob,

Thank you so much for your advice. Yeah, I also notice my question was not clear enough to ask. Sorry for that.

Anyway, I think Confluence Command Line Interface is the good place to start. Let me play with this first, then.

Again, thank you so much for your prompt assistanse. I appreciate it a lot.

tito
Login with Jira user accounts
Asked by Joost Molenaar:

I'd like to configure Confluence to use Jira's user accounts. Jira and Confluence are both on the same Tomcat instance and they're running on an internal network.

In Confluence, I added Jira as a trusted application with incoming and outgoing authentication. In Jira, I did the same. I filled in IP addresses and URL patters according to this chapter\[1\] in the Application Links manual.

Still, I can't log in to Confluence using my Jira account name.

Is this even possible? Where can I find out what's wrong?

\[1\] <http://confluence.atlassian.com/display/APPLINKS/Configuring+Trusted+Apps+Authentication+for+an+Application+Link>


Answers:
author: JamieA
body: Not sure if you're reading the right thing... you need to set jira up as a user server. Information here: <http://confluence.atlassian.com/display/DOC/Connecting+to+Crowd+or+JIRA+for+User+Management>

comments: author: Nic Brough -Adaptavist-
body: Jamie is absolutely right, you're looking in the wrong place. You don't need trusted apps at all, when using Jira users as Confluence users, follow the link he's given.


Tags: application-link

authentication

jira
Upgrading Confluence 2.10.3 to Confluence 3.5.13 or 4.0
Asked by Jaime Romaguera:

Hi,

We are upgrading confluence 2.10.3 to the latest version of confluence 3.5.13.

I have gone through the upgrade documentation for confluence.

Wonder if the is any issues upgrading from confluence 2.10.3 to the latest version.

Only issues I can see is non supported confluence plug-in?

Any advice would be greatly appreicated

Thanks

Jaime


Answers:
author: Joe Clark
body: Confluence 4.0 isn't available just yet (very soon, though!), so 3.5.13 is currently the latest version.

Both Confluence 3.5 and Confluence 4.0 have some fairly major upgrade steps. If you want to play it safe, I would recommend upgrading first to 3.5 and then to 4.0 in a second step - this will give you a better chance of identifying the cause of any upgrade problems you encounter.


author: Matt
body: If you upgrade to Confluence 3.5 first (recommended) you'll be able to try the [new guided upgrade process](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Release+Notes#Confluence40ReleaseNotes-NewConfluenceInstallerandGuidedUpgrades) in the new Windows and Linux installers for Confluence 4.0.
highlighting inside a picture
Asked by C.Magoley:

Hi,

Is there any way that i can highlight regions inside graphical material? Maybe a specific Plugin?  

E.g. I upload and attach a menu screenshot to a confluence site and want to draw a red circle around a button.

Since I want to reuse the image, for instance to mark up other parts in another chapter, it would be handy to upload only the clean screenshot and do all the highlighting via macros/online.

Thanks

Chris


Answers:
author: Jim Birch
body: Use multiple images.

Confluence doesn't have any native image highlightling or annotating.

Using a plugin or some css code might work, then again it might screw up somewhere down the track on different browsers, versions, whatever.

By the time you've done that you might as well have pumped out the set of images and have a simple, robust solution! :\]


author: JamieA
body: If you can enable the html macro you might be able to do it all through css and js eg <http://odyniec.net/projects/imgareaselect/>

Pretty sexy jquery plugin...


author: David at David Simpson Apps
body: It's likely quicker and easier to just keep and original and Photoshop the highlight areas as appropriate.


author: Azwandi Mohd Aris
body: Would the ImageMap plugin help? <https://plugins.atlassian.com/plugin/details/253>

comments: author: C.Magoley
body: Thanks  
That's also a great tool and I think about integrating it. But it doesn't offer highlighting options though (like a red arrow etc.)

Or does it?


author: Azwandi Mohd Aris
body: No, I don't think it does...
Is there a way to control access to the Share link?
Asked by Dave Drexler:

Hi folks - regarding the Share \<this page\> link that was added in v3.5 (I think): is there a way to turn that off for users in a particular space? There doesn't seem to be any reference to it in the space-level permissions.


Answers:
author: Akeles
body: Hi Dave,

There are no feature to turn it off.

You can insert the following css in the space stylesheet

```
#shareContentLink  {display:none;}
```

comments: author: David at David Simpson Apps
body: Exactly .


author: Dave Drexler
body: Unfortunate...

Atlassian: consider this an enhancement request. Features should generally be controllable by permissions.


Tags: share
Hello current logged in user
Asked by Kit Cargile:

Quite simply I would like to create content that has structure around the current logged in user. I have not found anything yet that allows me to utilize such data. I thought I could use {user-info:FullName} and {user-info:Email} but presents my information (page creator?) and not the current user viewing the page.

As the page is written I would like to present two things to the user in a greeting to start with.

> Hello {logged in user},
>
> Welcome to the marketing team, your email address is {logged in users email address}

Where this would present to the user as
> Hello Bob Smith,
>
> Welcome to the marketing team, your email address is [bob.smith@example.com](mailto:bob.smith@example.com)

I may have other uses for this but this is the simplist fashion in which it could be used.


Answers:
author: Bob Swift (personal)
body: Reporting plugin (<https://plugins.atlassian.com/plugin/details/186>) has user information. Also, the [Run Plugin](https://studio.plugins.atlassian.com/wiki/display/RUN) has [pre-defined variables](https://studio.plugins.atlassian.com/wiki/display/RUN/pre-defined+variables "pre-defined variables") including those you listed.

comments: author: Kit Cargile
body: I went with Run Plugin as it had the variables predefined and I may find other uses for it.

The way I ended up implementing this was a wiki html form posting to SalesForce and it works perfectly. Below is a format example of how I implemented it.

THANKS!

Hello, {run-now}$current_user_name  

Please use this form to submit your request. This will create a case in SalesForce   
{html}  
\<form action="https://www.salesforce.com/servlet/servlet.WebToCase?encoding=UTF-8" method="POST"\>  
\<label for="name"\>Name:\&nbsp;\&nbsp;\</label\>\<input id="name" maxlength="80" name="name" size="20" type="text" value={html}$current_user_name{html} readonly style="border: 0"/\>\<br\>  
\<label for="email"\>Email:\&nbsp;\&nbsp;\</label\>\<input id="email" maxlength="80" name="email" size="20" type="text" value={html}$current_user_email{html} readonly style="border: 0"/\>\<br\>  
\<input type="submit" name="submit"\>  
\</form\>  
{html}  
{run-now}
Readibility of Confluence pages
Asked by Tiemco de Jong:

We have several colorblind and visually challanges people in our company.

Is there an option to improve readibility without changing the default layout for everyone?

Something like a personal style/skin/theme?

Currently our users change indivual pages for readibility by 2 our 3 colorblind testers.

Any idea's?


Answers:
author: Matt
body: How about trying the Readability browser extension?

<https://addons.mozilla.org/en-US/firefox/addon/readability/>

comments: author: Tiemco de Jong
body: Readability helps somewhat. Some browser extension like <http://www.colorblinds.org/> is also needed, but should be locally hosted (for sensitive images) or <https://addons.mozilla.org/nl/firefox/addon/color-management/>


author: Akeles
body: Hi Tiemco,

How about changing the colour scheme?

<http://confluence.atlassian.com/display/DOC/Customising+Colour+Schemes>
Confluence don't start
Asked by Josef Boudnik:

Hi, I have a problem. I installed jira for standlone packege. And I want install confluence on same machine. I downloaded confluence standlone packege and unpack on directory jira. After I edited conf/server.xml for jira and I added lines

\<Context path="/confluence" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"\>  
\<!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\>  
\<Manager pathname="" /\>  
\</Context\>

But confluence don't start. On page localhost:8080/confluence is system error

Log: java.lang.NoClassDefFoundError: Could not initialize class com.atlassian.confluence.util.I18NSupport  


Answers:
author: Nic Brough -Adaptavist-
body: Are you trying to run Jira and Confluence inside the same Tomcat as Jira?

Three points on doing that

1. It's not recommended or supported
2. You need to do quite a bit more than just tweak server.xml to get it to work if you really do want to run them inside the same container.
3. Jira standalone is built to run Jira, if you really want to run both apps in the same Tomcat, standalone is a really bad place to start, and you really should download a clean Tomcat, then Jira and Confluence WAR versions separately.

And we'd need a lot more info on your configuration of that to help you out - the contents of the conf directorty, the other files you've changed to set up your classpath, your full environment settings and so on.

If that is not what you are doing, could you explain what you are actually doing?

comments: author: Josef Boudnik
body: I want start both apps in the same tomcat. So I donwlonded Jira WAR and Confluence WAR. Thanks

I thought that Confluence is added to exists Jira standlone...  


author: Nic Brough -Adaptavist-
body: No, it's a bit of a pain to add anything to the standalone installations. It's much cleaner to start with an empty Tomcat and configure the WARs independently. You should be able to follow the instructions for each pretty much independently!