youngmon/atlassian-qna huggingface dataset:
Confluence Shortcut Link Not Working?
Asked by sautaja:

Hi guys,

So I have the following shortcuts enabled under Confluence admin -\> Shortcut Links

google <http://www.google.com/search?q>  
cache [http://www.google.com/search?q=cache:\<br\< a=""\> /\>googlegroups](http://www.google.com/search?q=cache:%3Cbr)[http://groups.google.com/groups?q=\<br\< a=""\> /\>imdb](http://groups.google.com/groups?q=%3Cbr)<http://us.imdb.com/Title?> Remove  
dictionary [http://www.dict.org/bin/Dict?Database=\*\&Form=Dict1\&Strategy=\*\&Query=](http://www.dict.org/bin/Dict?Database=*&Form=Dict1&Strategy=*&Query=)

But when I put "test@google" into the quick search bar on the top right and the page doesn't show any result. What did I do wrong?


Answers:
author: Remo Siegwart
body: From the [documentation](http://confluence.atlassian.com/display/DOC/Configuring+Shortcut+Links):
> Shortcut links provide a quick way of linking to resources that are frequently referenced from Confluence. When you create a shortcut link, you assign a key to an URL so that, when editing, a user can type just the key instead of the complete URL.

The shortcut links can be used in the editor to quickly link to resources, not in the search bar.

Hope this helps


author: David Holshouser
body: Agreed, even the built in shortcuts don't work:

google <http://www.google.com/search?q=>

should result in the ability to use a link shortcut in a Confluence space page like \[xkcd@google\] but it doesn't do anything.


author: Henry Yei
body: Doesn't work for my in edit mode either.


author: Mark Hrynczak
body: The shortcut links are not meant to help with the search box.

Instead, they allow you to enter links on a page quickly and easily. For example, you can enter a link such as test@google onto a page, then when the link is clicked it will redirect to the full Google search URL.

For more details on using shortcut links, see <http://confluence.atlassian.com/display/DOC/Linking+to+Pages#LinkingtoPages-shortcutlink>

Cheers,  
Mark

comments: author: Remo Siegwart
body: sorry, didn't see your answer before my post...


author: Karl M Kovaciny
body: This doesn't work for me at all on Confluence Cloud in 2019 or Confluence Server 5.10. You don't have to troubleshoot for me, I just wanted to let others know that it may not be worth trying to get this working.


Tags: shortcut
Confluence 4.0 Editor, cannot scroll to the bottom of the window.
Asked by Steve Knights:

We are experiencing issues whereby the user is unable to see the last 7 or 8 lines of a page within the editor window. The cursor will disappear below the bottom of the window. As a workaround we have scrolled to the bottom of the page and put carriage returns to fill the bottom of the page allowing users to see all content but this is not an acceptable solution.


Answers:
author: Akeles
body: I think there might be some error in your theme. You might want to switch back to the default theme to see if the same error occurs. Then you can compare the differences to make the necessary amendments.
Nested table in wiki markup (Confluence 4)
Asked by MASH Trust Atlassian ICT Team:

Hello,

I'm struggling with writing a wiki markup for a Confluence 4.0 template... I want to nest a table within a table, and it has to be within a wiki markup format... can someone please help me?

An idea for Atlassian based around this: what about making an option within 'Tools' to view the page in wiki markup format (you have already got 'view source' \& view format') - this would be a great tool to use so we can create in WYSIWUG format and then we can adapt to a Global template as we see fit....

So, anyone ho can help me with the wiki markup coding I would be very greatful...

Hopefully you will see what I would like to have below (since I can't upload a pic):

```
+-------------+-------------+| table 1a    | table 1b    ||             | +---------+ ||             | | table 2a| ||             | +---------+ ||             | | table 2b| ||             | +---------+ |+-------------+-------------+
```

Regards,

Grunta


Answers:
author: Dave Bhatt
body: Hey Grunta!

You **sure can** nest a table within a table in Confluence **by enclosing this nested table within the NOTE or INFO macros**.

**Here is how you can do this:**

<br />

\| Type \| Indicates the type call.

{note:icon=false} \|\| Type \|\| Call \|\|

\| Missed \| Bogus \|

\| Bogus \| Missed \|

\| Host \| Virus \|

\| Bug \| Flu \|{note} \|

OR

\| Type \| Indicates the type call.

{info:icon=false} \|\| Type \|\| Call \|\|

\| Missed \| Bogus \|

\| Bogus \| Missed \|

\| Host \| Virus \|

\| Bug \| Flu \|{info} \|

Hope this helps! :)

It isnt the BEST of methods, but sure is sweet! Ain' it? (:  

Best,

***Dave***

comments: author: Gregory Kneller
body: {panel} works also


author: Eric Moore
body: Will work if you wrap {section} tag around table too...

{csv} will work too.


author: Dennis Kromhout van der Meer
body: Hey Grunta, unfortunately the wiki markup doesn't support nested tables. However, the XHTML editor does; we're planning on integrating the XHTML editor with templates in the near future, please follow this ticket for automatic updates: [CONF-11744](https://jira.atlassian.com/browse/CONF-11744)


author: MASH Trust Atlassian ICT Team
body: Hello,

Does anyone know if this can be done? - I'm a little puzzled as to how to do this...

Thanks,

Grunta


Tags: content

nest

table
How do I add the Next and Previous links in a page?
Asked by Michelle Peters Spivack:

I like how the next and previous icons are added in the tutorial, but I'm wondering if I need to add that manually to each page.

I looked through the tutorials and the confluence site, and edited the page to see the wiki markup, but I might be missing something.  
Example of the next and previous buttons: <http://support.rescuegroups.org:8091/display/ds/Creating+pages+and+linking>


Answers:
author: Bob Swift (personal)
body: See <https://answers.atlassian.com/questions/10635/how-to-add-next-and-previous-buttons-on-each-page-of-the-confluence-system-automatically/10652>


author: Michelle Peters Spivack
body: Also:

I see a lot of older posts for plugins that are not supported in 4.0

I'd prefer not to have to manually add in previous and next links. Especially as we develop these pages and things could move around.

I saw a post to add this:

{children:page=/}

Could someone give me some tips and suggestions? I'd really appreciate it.

Thanks!
Directly emailing a PDF of a Confluence page to non-Confluence users
Asked by Francois St-Pierre:

Hi,

I often need to share a Confluence page with non-Confluence users. I have to Export to PDF, then attach the PDF to an email. Given the amount of times I do this, it would be great to do this procedure in one step. Any way of doing this currently in Confluence 4.0?

Cheers,

Francois


Answers:
author: Gorka Puente _Appfire_
body: Hi @Francois St-Pierre, @Keith Wallace, @Eric Potratz, @Maurizio Nadai

We've released this week the new version of Share Attachments and Pages

<https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments>

With this new version you can share your attachments and send your pages to non-Confluence users. Just generate a unique link and share it like you do in Dropbox!

Give it a try and let me know what you think!

Regards,

Gorka


author: Maurizio Nadai
body: Same here.

Mau


author: Eric Potratz
body: Me too...


author: Keith Wallace
body: It is a pity that there is no answer yet. I am looking for the same feature.


Tags: email

pdf
How to access the Confluence database?
Asked by Christian Christian:

We do have multiple systems in place and hence want to avoid the duplication of data. There is one application which we are running which we have not managed so far to connect to our AD/LDAP. As Confluence is synced with the AD/LDAP I am looking for a possibility to access following data from the Confluence database via an external application:

- User information (name, telephone, email, ...)  
- groups and their members

Is this possible or does Confluence not allow this at all?

Thanks,  
Christian


Answers:
author: Dennis Kromhout van der Meer
body: You can always extract this information via database directly, but you have to be careful with your queries for deletion, etc. For example, this query returns all the users in Confluence:

```
select child_namefrom cwd_membershipwhere parent_name='confluence-users'
```

It's also possible to get the required information via the [Confluence API](https://developer.atlassian.com/display/CONFDEV/Confluence+XML-RPC+and+SOAP+APIs) or via the [Atlassian Commandline Interface](https://studio.plugins.atlassian.com/wiki/display/ACLI/Atlassian+Command+Line+Interface).
Problem adding the same user macro more than once on a single page
Asked by Peter Conrad:

I have defined a user macro, let's call it {current_version}. I want to use it in a page like this:  

Make sure you download version {current_version} of the file, because if you download anything but version {current_version} you get gibberish. See below for a list of URLs:  
<http://www.example.com/files/file>{current_version}  
Remember to download {current_version} only. Thanks, bye!  

But what happens is, if I use a user macro more than once on a page, it conflates them all and sticks them together, so the above page would render like this:  

Make sure you download version 1.1.0 only. Thanks, bye!  

All the intervening stuff is skipped! I'm using Confluence 3.4. Is this a bug, or is there a workaround, or what?


Answers:
author: David Peterson
body: Hi Peter,

Make sure you have your user macro set to have 'no body'. I think what it's doing is seeing the first and last as the opening and closing macros, but you want one that doesn't actually have a closing macro.

Hope that helps!


Tags: macro

user-macro
Change Confluence 4.0 email notification template?
Asked by Robert Lauriston:

Is it possible to modify the email notification template to remove the "This message was sent by Atlassian Confluence ..." tag at the bottom and include some of our own content?


Answers:
author: SimonS
body: Hi Robert,

Yes - it's possible. Here are the instructions:

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

Hope it helps!

-Simon


Tags: notification

template
Can I import multiple new users into multiple groups each using the .csv importer?
Asked by Scot Jandly:

I have about 80 or so user accounts to create. They all need to belong to about five groups each (same groups for each user). [This documentation](http://confluence.atlassian.com/display/CROWD/Importing+Users+from+CSV+Files) provides an example group membership .csv, but it only shows each user belonging to one group. I attempted to add a few more 'group name' columns, and ran the importer. I mapped all the group name columns to the 'group name' field, then proceed, and Crowd threw an exception. It works when I only want to add the imported users to one group at a time, but adding the remaining would be tedious.

Perhaps I've overlooked something, or can anybody advise how to import users and add them to several groups all at once (or in as few steps as possible)?


Answers:
author: BernardoA
body: I think this documentaiton provides some insight about this question:

<https://confluence.atlassian.com/display/CROWD/Importing+Users+from+CSV+Files>

Cheers,

Bernardo


author: Dan Shick
body: Oh, thanks! I see now that we need a separate line for each group membership.

joesmith,admins

joesmith,jira-admins


author: Dan Shick
body: I would really like to know the answer to this as well!


Tags: crowd

csv

group

import

user
Export global activity
Asked by Mark Nixon:

Hi,

Im wishing to export the global activity found in confluence admin so I can manipulate this data in excel. Is there a way to extract the data (only need it for a daily number of viewers) in a csv or something?

Thanks

Mark


Answers:
author: Remo Siegwart
body: The data displayed in the global activity section is collected by the [Usage Tracking Plugin](https://studio.plugins.atlassian.com/wiki/display/USGTRK/Confluence+Usage+Tracking+Plugin), which stores the data in a separate lucene index. I don't know of any export possibility by the plugin itself, so I think you would need to write a custom plugin for that.

But if you just need the daily number of viewers, you could try to use the [usage macro](https://studio.plugins.atlassian.com/wiki/display/USGTRK/Confluence+Usage+Tracking+Plugin#ConfluenceUsageTrackingPlugin-Macros):

```
{usage:timespan=1d|events=view}
```

Hope this helps
How do I lookup from a phone directory?
Asked by Dimitrios Zlitidis:

Hi all,

I am going to have a phone directory in Confluence. I am thinking that this directory will have a tabular format. That is, it may have 2 columns; one with name and the other with telephone.

In the same space I will have separate pages with the users, each user will have a separate page. I want to look up their telephone number and add it in their page.

Any ideas how to start?

Thank you very much,

Dimitris


Answers:
author: Remo Siegwart
body: You could use the [Metadata plugin](https://studio.plugins.atlassian.com/wiki/display/META/Confluence+Metadata+Plugin) for this. It even offers a [users-report macro](https://studio.plugins.atlassian.com/wiki/display/META/Confluence+Metadata+Plugin#ConfluenceMetadataPlugin-usersreportmacro) that lets you generate a report of all the users, showing any metadata attached to the user. For users with personal spaces, the metadata is fetched from the space, while for regular users the metadata is fetched from their profile.

comments: author: Dimitrios Zlitidis
body: Thank you for your quick reply! My requirements, though, are quite different. Users won't add their detailes, e.g. telephone or email to their profile. There will be a page in a space called Phone Direcotry. Then I will have a page in this space with separate pages for each department of the company. In each department there will be tha personel. In these separate pages of the personel I want to look up the telephone numbers in the Phone Directory Page and show them in each page.

Any thoughts on that?

Thank you!


author: Remo Siegwart
body: With the Metadata plugin you would usually do it like this:

1. Add a page for every person with the following wiki markup:

```
{metadata-list}|| Name | John Doe ||| Phone | 012 345 67 89 |{metadata-list}
```

2. Then on the parent page you could create a report of the metadata like this:

```
{metadata-report:Name,Phone}
```

I know this is the other way around as you want it, but it should give you an example on how to use the metadata macros. You can find lots of other examples in the [documentation](https://studio.plugins.atlassian.com/wiki/display/META/Metadata+plugin+version+1+documentation).

Hope this helps


author: Dimitrios Zlitidis
body: It worked great! Thanks for the guidance and inspiration!
How to get list of admins for each space
Asked by Ji?? Wetter:

Hello,

im trying to get list of admin for each space. But without success.

This is my inspiration: <http://come2niks.com/?p=821>

*I using sql plugin with*

SELECT DISTINCT T2.SPACENAME, T1.PERMUSERNAME, T1.CREATOR FROM confluence.spacepermissions T1 JOIN confluence.Spaces T2 ON T1.SPACEID=T2.SPACEID

**Result is**   
\| Application \| user2 \| user1\|  
\| Application \| user3 \| user2\|  
\| Application \| \| user3\|  
\| Application \| \| admin\|  

user1 created user2  
user2 created user3  
In Space admin \> Advanced i get information "Created By: admin (22. 08. 2008)".  

My question is what does mean 3rd line?  

If you solved or solving similar task i will appreciated for some tips or advices.

Thank you


Answers:
author: Ji?? Wetter
body: ```
SELECT spacename, wm_concat(DISTINCT(ADMIN)) ADMIN FROM(SELECT T2.spacename, T1.PERMUSERNAME ADMIN FROM confluence.spacepermissions T1JOINconfluence.Spaces T2 ON T1.SPACEID=T2.SPACEIDWHERE T2.spacekey NOT LIKE '~%'UNION ALLSELECT T2.spacename, T1.CREATOR ADMIN FROM confluence.spacepermissions T1JOINconfluence.Spaces T2 ON T1.SPACEID=T2.SPACEIDWHERE T2.spacekey NOT LIKE '~%')GROUP BY SPACENAMEORDER BY SPACENAME
```

comments: author: Ji?? Wetter
body: Without users spaces (NOT LIKE '\~%')


author: Andrei [errno]
body: you should have mentioned that this code is for Oracle DB


author: Nic Brough -Adaptavist-
body: The third line in your results is telling you when the space was created, and by whom.

I think your SQL isn't quite right though, I think it'll be fetching information about individual users who have admin rights and have created a space. That won't capture the current space admins, especially if you use any groups in the permissions.

I'm not that familiar with the database though, I have to admit to writing a few lines of code in a small plugin to list users and groups with admin rights (provided a macro to display them)

comments: author: Ji?? Wetter
body: Ok, and how do you explained me this (is impossible that 3 peoples created same space)

|-------------|-------|---------|
| Application | \| \| | johnos  |
| Application | \| \| | weveros |
| Application | \| \| | enrico  |
|             |       |         |


author: Joe Clark
body: It looks to me like it is referring to the user who created the permission, not the user who created the space.


Tags: cloud

confluence-administration

confluence-cloud

report
Confluence - attachements not visable across spaces
Asked by Mark Stocker:

In Confluence I created some pages within an existing space, added some images and some Gliffy diagrams. I then decided this content needed it's own Space so I moved all pages without images or gliffys but got an error when I tried to copy the main page with the extra bits on.

So I created a new page in the new Space and did a copy and paste of the HTML but now the Gliffy wont display and none of the images show up (display broken links).

When you attach images are they restricted to only be editable for the Space you are in at the time? There doesnt seem to be any path within the HTML to the item so I presumemd they would be in a generic place but I cannot add in the Gliffy doc or any of the other images so I have to redo them.

Any ideas?


Answers:
author: Rodrigo Girardi Adami
body: Hello Mark,  

This is a strange behavior. Can you confirm this happens only to gliffy images or it happens for other attachments types as well?  

If this happens to other attachments as well, please open a support ticket for atlassian as such we can investigate this.  

If this only happens to gliffy images, I suggest to get in touch with gliffy support to get further help on this.  

I hope this helps.  

Regards,  

Rodrigo
I can't insert Jira issue in Confluence.
Asked by Ricardo Kriegler de Souza:

I can't insert Jira issue in Confluence (hosted). The Application Link was created, but when I try insert a Jira issue in Confluence the "Insert JIRA Issue" dialog don't show Jira Projects to select.


Answers:
author: NikE
body: The situation you are experiencing is due to a small bug in the current version of OnDemand. [The bug report.](https://studio.atlassian.com/browse/JST-5515 "Issue Tracker")

This issue should be fixed in the near future, but in the meantime, if you open a [support request](https://support.atlassian.com "Support Request") we can apply the work-around on your account and have this issue resolved for you.


author: Ricardo Kriegler de Souza
body: I opened a support request and the workaround was applied. Now is working.


author: NikE
body: The above issue has not yet been resolved. However, if you open a [support request,](https://support.atlassian.com/ "Support Request") we can apply the work around to your instance, which will resolve the issue for you until the full fix is implemented in an upcoming update.


author: Deepthy Ravindran
body: Can I please know if the above issue is fixed or not?

I am having the same problem where I am not able to see Jira issues from confluence on demand. The search option gives the following error - '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.'

I have a JIRA project from which I have associated and synchnorised the confluence space. Please let me know if I need to do any additional setup to link JIRA issues to confluence.


Tags: cloud

confluence-cloud
What is the regex Confluence uses to set passwords?
Asked by JT:

Does ayone know what the regex is that confluences uses to set passwords?


Answers:
author: Jeremy Largman
body: You might be looking for this:

<https://developer.atlassian.com/display/CONFDEV/Password+Hash+Algorithm>

comments: author: Michael Demey
body: Apologies for the necropost, but is this also the case for Jira? I looked around and this is the only thing I found about password hashing.

Thanks.


author: Jeremy Largman
body: Actually necromancer is one of the badges :).

Yes. It's the same for JIRA. You can see a similar process over at the [JIRA password reset](https://confluence.atlassian.com/display/JIRA/Retrieving+the+JIRA+Administrator).


author: Michael Demey
body: Hi, thanks for answering!


author: Remo Siegwart
body: Do you mean the regex to validate the password while the user sets a new one or the logic to generate a new password when the user wants to reset it?

As far as I know Confluence has no password policy except that it can't be empty. For better password control there was the [User Security Management plugin from Adaptavist](https://www.adaptavist.com/display/Plugins/User+Security+Management), sadly it is no longer being actively maintained.

To generate new passwords Confluence uses [java.security.SecureRandom](http://docs.oracle.com/javase/1.4.2/docs/api/java/security/SecureRandom.html) to generate a random sequence of bytes.

Hope this helps
Confluence 4 Editor Table And Outline Problems
Asked by John Price:

We are having users report lots of problems with cursor position and expected behavior in the new editor. Not all have clear steps to reproduce, but here's an example that I can replicate:

1) (IE 8 and Firefox 8 at least) Table navigation doesn't work within a list - Create a page. Start a numbered list. Type foo for the first item and bar for the second. Now insert a small table in the second item (common in say, instructions). Type in the first table cell. Hit TAB. Expected behavior is to tab to the next table cell, but instead the list item just indents further. You also cannot hit tab to add a new table line the way you normally do with a table.

2) Using bold within a list causes cursor to get stuck/lost (Chrome 15, partially broken in IE8) - Start a bulleted list. Type foo and hit Enter. On the second item hit TAB to indent, click the Bold icon and type bar. Click the Bold icon again to turn off bold. Hit Enter twice more and then type hello. On Chrome, the cursor freezes/disappears. On IE8, the second Enter causes the list item to outdent back to the first level, and when you type the h in hello, the bullet disappears. On FF8 it works ok.

These are a couple of examples ... but overall people seem to be having problems typing more complex wiki pages now, especially with lists involved. I have also had other cases (usually I use FF8) where the cursor seems to get lost.


Answers:
author: John Masson
body: Hi John,

Thanks for taking the time to provide this feedback and the steps to recreate the issues. I've made a note of both these issues which I'll recreate and log cases for, then add them to our [Editor Feedback Page](http://confluence.atlassian.com/display/DOC/Confluence+4.0+Editor+-+Customer+Feedback). You might want to put a watch on that page to stay up to date with these and some other similar issues people have raised.

I'm sorry you've had what sounds like a pretty bad experience with the new editor in these areas. We know there's some work to be done and are definitely focused on continually improving the editing experience, starting with fixing issues like these.

Thanks,  
John


Tags: moderators