youngmon/atlassian-qna huggingface dataset:
Hide info/title of embeded youtube video
Asked by Nico n:

Hello everyone,

I would like to embed a youtube video into Confluence Server and hiding info/title of video that normally is showed on the top. Could you help me, please ?

Thank you.

Nico


Answers:
author: Hermance NDounga
body: Hi Nico,

I embbeded the youtube video using the HTML macro and using the code provided by Youtube. I'm able to hide the title by adding in the CSS of the sapce :

```
.ytp-title-text {
```

```
display: none;
```

```
}
```

Let me know if it works !


Tags: server

video

widget-connector
How to restore the deleted account
Asked by ???:

Accidentally,I deleted some our member who leaved our company last month.

If the way to restore the deleted account is exist, please let me know.


Answers:
author: Nic Brough -Adaptavist-
body: There is no way to restore a deleted account. That's why we recommend disabling them instead.

comments: author: ???
body: Hi Nic

Thank you for your answering.

I give up to restore the deleted account.

I'll Try to inactive the account when I manage same situation.
Any way to limit a Confluence Page?
Asked by Tu??e Boyac?:

Hi Everyone,

How can i limit a confluence page size/width? Is it possible without using any add-ons? If it's not, are there any add-ons to do this?

Confluence version is 5.7.4

Thanks.


Answers:
author: Tuomas Saranen
body: Only way is to use CSS: <https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html>

comments: author: Tu??e Boyac?
body: Thanks [@Tuomas Saranen](/t5/user/viewprofilepage/user-id/221251)


Tags: page
How can I fix a Confluence questions rendering problem
Asked by Bob Do:

I have also a problem. If I want to add the question macro to a page, I see only the mistake "Error rendering macro 'questionslist-macro' : Unable to compile Soy templates at: com.atlassian.confluence.plugins.confluence-questions:questionslistmacro-resources". (Confluence Version 5.8.5). I have 229 component modules activated of the macro. I have no idea how can I fix it?

That is an excerpt of the log-file.

```
Caused by: com.atlassian.soy.renderer.SoyException: Unable to compile Soy templates at: com.atlassian.confluence.plugins.confluence-questions:questionslistmacro-resources
?? ?at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:125)
?? ?at com.atlassian.soy.impl.DefaultSoyTemplateRenderer.render(DefaultSoyTemplateRenderer.java:52)
?? ?at sun.reflect.GeneratedMethodAccessor911.invoke(Unknown Source)
?? ?at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
... 345 more
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Required plugin module com.atlassian.plugins.atlassian-help-tips:common was either missing or disabled
```


Answers:
author: AnnWorley
body: Let's dig into the second "caused by:" entry. It seems to indicate that the plugin **atlassian-help-tips** is missing or disabled. Please check on that plugin and see if it can be enabled if it's disabled.

comments: author: Bob Do
body: Thank you! The tip is correct. The plugin**atlassian-help-tips**must be enabled.


Tags: questions-for-confluence
DB recommendation - Confluence upgrade from 5.5 to 6.3
Asked by princejhcl:

We are in the process of upgrading Confluence. At present we are in Confluence 5.5 and moving to 5.10 or in 6.x. Currently having backend as MYSQL and wanted to checked if Confluence 6.x support MYSQL.

If it does not support what will be the best option.


Answers:
author: Nic Brough -Adaptavist-
body: It does support MySQL - see <https://confluence.atlassian.com/doc/supported-platforms-207488198.html> for versions
Creating a chrome extension to pull from confluence?
Asked by Van Couver:

Is there a preferred way to create a chrome extension that could log into a confluence cloud instance to pull some data from our knowledge base and populate a form?


Answers:
author: Vero Rivas
body: Hi [@Van Couver](/t5/user/viewprofilepage/user-id/1138782)

Look at this post, maybe can help you

<https://community.atlassian.com/t5/Confluence-questions/Fast-Create-a-Confluence-page-from-outside-of-confluence/qaq-p/1514713>

Cheers


Tags: app

chrome
Macro that automatically jump to last paragraph of a page when it's loaded
Asked by Christian E_:

Some pages have a lot of content and the latest changes and results are in the last paragraph of the page. Is there any way that confluence automatically jumps to the last paragraph to see the latest information?


Answers:
author: AnnWorley
body: If each paragraph starts with a header you could use the [Table of Contents](https://confluence.atlassian.com/doc/table-of-contents-macro-182682099.html)macro at the top of the page.


Tags: automation

confluence-cloud

developer

navigation

user-macro
Confluence SSL issues
Asked by tim wilkinson:

Hi,

I'm trying to get Confluence (CentOS6, Confluence 6.2) running over SSL (using <https://confluence.atlassian.com/doc/running-confluence-over-ssl-or-https-161203.html>) and I'm having a difficult time getting it to work.

I've created the certificate, got a signed certificate back from our CA (which is an internal CA) and the keystore is in root home dir. I think I'm following the ncessary steps (having to import a root certificate and a subroot certificate from our CA otherwise it gives an error ('Failed to establish chain from reply').

I've run the commands and seemingly successfully imported the root, subroot and reply, configured server.xml and I thought I was getting somewhere when I was able to telnet into port 8443 but when I try to connect, the browser never loads the website properly (seems to open port 8443 in borwser but never loads the website - stays like this indeifintely - I've actually noticed this behaviour exists even if I don't import any certificates and configure server.xl for port 8443 only).

I'm not sure what I'm doing wrong - it seems like it should be a simple process but something is not right. Where should I start to sort this out? I was wondering if the keystore location being in root home might be an issue (apparnetly tomcat is expecting to be in the home of whatever user is running tomcat but I'm not sure how to determine that). It could also be something to do with imported certificate chain.

I'm also wondering if the version of keytool has any bearing - there appear to be multiple instances of keytool on the server (not sure if they are different or not).

Any other advice?

Cheers,

Tim


Answers:
author: Jeff Clay
body: Under linux, to find the user a process is running as use the command "ps aux". In this scenario you can run "ps aux \| grep tomcat" and it will show only the process info for tomcat. I'm pretty new to Jira myself, so I can't comment on the other aspects of your issue but I'm pretty familiar with linux. And you're right, Jira usually runs under the "jira" user (unless you configured it differently) and the jira user doesn't have access to anything in /root. You'll probably need to move your keystore to /home/jira and make sure the file ownership is correct.

comments: author: tim wilkinson
body: Jeff - thanks for your reply. although I was doing Confluence rather than JIRA, you pointed me in completely the right direction. It seemed to all be about the keystore file and access to it.

I feel somewhat silly as I'd actually thought along those lines but hadn't tried moving it until your reply.

Thanks for your advice - I created a directory, changed permissions and moved the keystore there - this seemed to do the trick!


author: Jeff Clay
body: Great! Glad that helped. Have you by chance done the db in ssl too? I'm having an issue of my own. <https://community.atlassian.com/t5/JIRA-questions/How-do-you-specify-different-keystore-alias-for-mysql-ssl/qaq-p/604513#M200148>


author: tim wilkinson
body: Jeff - sorry - haven't tried that as yet.


Tags: ssl
what is edit the underlying markup for a Confluence page.
Asked by sn:

hi,

confluence 5.10 server users.

on confluenec documentation - i see the underlying markup and storage format exaple. how can this be used and where can i find this ? is it in DB ?

thanks!


Answers:
author: Robert Reiner _smartics_
body: Here is the documentation for the [Confluence Storage Format](https://confluence.atlassian.com/conf510/confluence-storage-format-829077469.html).


author: Davin Studer
body: I fyou add the [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview) add-on to your instance you can see the storage format when in edit mode. It is mostly html with some xml for the macros.
Filter excel table using excel macro
Asked by Tim Pulver:

I have a page with multiple excel pages inserted using the included excel macro. The tables have the option to filter, but on the confluence page, the filter option is no longer there.

Is there any way to filter the table data within the confluence page without having to open the excel page to sort?


Answers:
author: Andrey Khaneev _StiltSoft_
body: Hello Tim,

You can use [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter/cloud/overview) macro to filter your excel tables rigt on Confluence pages.


Tags: ms-excel
How to Call Confluence Collapsed Node using URL
Asked by Yanick Leclerc:

Using a hyper-link, I want to call a paragraph of content in Confluence that is collapsed using the "Expand" macro, and have that collapsed paragraph appear expanded when called.

I need to call this paragraph from a web page outside of the Confluence site.

I thought I could make this work using anchor links, but that does not seem to work.

That is, in my calling URL, I tried   
\<a href="<https://confluence.ABC_123.com/display/INFO/Some+Page#>ZYX_987_LINK\>ZYX_987 Page\</a\>

and in confluence, I modified the Expand macro with the following:  
\<a name="ZYX_987_LINK"\>\</a\>

The above does not work.

Is there a way to call the paragraph that was collapsed in Confluence using the Expand macro and have it appear expanded?

Here is the Confluence macro I'm talking about:  
\<ac:structured-macro ac:macro-id="..."  
ac:name="expand" ac:schema-version="1"\>

Thank-You


Answers:
author: Stephen Deutsch
body: This is a known issue, but I wrote a workaround for it (as long as you are running Confluence Server):

[https://jira.atlassian.com/browse/CONFSERVER-27357?focusedCommentId=673236\&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-673236](https://jira.atlassian.com/browse/CONFSERVER-27357?focusedCommentId=673236&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-673236)
full screen editor?
Asked by Fred Haeusel:

I just had to go into the "\<\>" to make edits -- do you have a full screen editor?


Answers:
author: AnnWorley
body: The \<\> on the toolbar in the Confluence Editor is provided by a user installed add-on, either the most common (and free) [Confluence Source Editor](https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor/server/overview) or the paid [Source Editor for Confluence](https://marketplace.atlassian.com/plugins/com.mohamicorp.html.source.editor.for.confluence/cloud/overview). Neither provide a full screen option, I am sorry to report.
Change date color when the date has been reached
Asked by Niels Geursen:

I would like to make a list with products and there expiration date. To make the list more clear I would like to change the font color to RED when the date has been reached.

Is this possible this would be very handy.

Thanks in advance.

Niels


Answers:
author: Aron Gombas _Midori_
body: If you create a separate page for each product, then you can easily [set an expiration date](https://midori-global.com/products/better-content-archiving-for-confluence/cloud/documentation/manage-the-content-lifecycle/quick-actions#set-expiration) to them with the [Better Content Archiving for Confluence](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview) app.

When the expiration is approaching, the date turns to yellow, and when it is passed, it turns to red:

![content-status-indicator-cloud.gif](https://community.atlassian.com/t5/image/serverpage/image-id/267093i5D8D5BE5B9A0EBE1/image-size/large?v=v2&px=999 "content-status-indicator-cloud.gif")


author: John Corwith
body: As far as I know, you are going to need a User Macro and admin permissions to install it.

Here's one I wrote that does more than what you were asking for which you can tweak. I don't know if/when HTML 5 compatiblity will be an issue for Confluence so this is HTML 5 compatible.

Your list will be a list of macro boxes. Enter your product name/text whatever in the macro box ($body) and edit the macro to set the expiration date for each product.

## Macro Name: expdatehighligher

## Macro Title: Expiration Date Highlighter

## Macro Body Processing: Escaped

## @param endDate:title=Expiration Date\|type=date\|required=true\|desc=mm/dd/yyyy

#set ($endDate = $content.currentDate)

#set ($currentDate = $content.currentDate)

$endDate.setTime($content.currentDate.parse($paramendDate))

#if($currentDate.before($endDate))

\<p\>$body $paramendDate\</p\>

#else

\<p style="color:white; background-color:red; font-weight:bold"\>$body $paramendDate\</p\>

#end
How to automatically create child pages when a new project is created?
Asked by cliff kirkman:

I have been trying to write some java code which will listen for when a page is created and automatically generate a set of child pages.

I believe I need some data from the event which I have, but I also need to have a pagemanager and a labelManager.

I'm not sure where to get the data from to construct these two, any help would be much appreicated.

Snippet of the code so far:

@EventListener  
public void onBlueprintCreateEvent(BlueprintPageCreateEvent event)  
{

PageManager pageManager;  
LabelManager labelManager;

System.out.println("made it here ...................................");  
ModuleCompleteKey moduleCompleteKey = event.getBlueprintKey();

if (!MY_BLUEPRINT_KEY.equals(moduleCompleteKey)){  
System.out.println("my_blueprint_key= " + MY_BLUEPRINT_KEY + "moduleCompleteKey= " + moduleCompleteKey.toString());  
return;  
}

Page topPage = event.getPage();  
Space ourSpace = topPage.getSpace();  
Map\<String,Object\> blueprintContext = event.getContext();

<br />

System.out.println("2ND PRINT ...................................");  
if(topPage == null)  
{  
System.out.println("topPage EQUALS NULL");  
}  
if(ourSpace == null)  
{  
System.out.println("OURSPACE EQUALS NULL");  
}

Page subPage = null;  
subPage = new Page();

<br />

if(pageManager == null)  
{  
System.out.println("pageManager EQUALS NULL..................................");  
}

subPage.setTitle("title");  
subPage.setSpace(ourSpace);  
subPage.setParentPage(topPage);  
subPage.setBodyAsString("NewPage");  
subPage.setPosition(0);  
//pageManager.saveContentEntity(subPage, null);  
//labelManager.addLabel((Labelable) subPage, new Label("NewPage"));

<br />

System.out.print("Done....................................................");  
}


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi Cliff,

I think you will need to inject PageManager and LabelManager by using Spring constructor injection or setter injection.

private PageManager pageManager;

//constructor

public ClassName(PageManager pageManager) {

this.pageManager = pageManager;

}

comments: author: cliff kirkman
body: Hi Christo,

The problem was @component import needed to be included in the constructor, ill post a snippet below for peoples future reference:

@Scanned  
public class MyPageCreatorModule extends AbstractBlueprintContextProvider {

public PageManager pageManager;

<br />

public MyPageCreatorModule(@ComponentImport PageManager pageManager) {  
this.pageManager = pageManager;  
}


author: renzo
body: Hey [@cliff kirkman](/t5/user/viewprofilepage/user-id/1139090) , does your code work?

Does it create random child-pages or can you do a template for the child-pages aswell?

If yes I would be super gratefull if you could explain to me how to implement it \<3

Kind regards.
Where do I set the "default" confluence permission group?
Asked by Maria Hauer:

At my company we are working with JIRA and confluence. In the current setup there is a certain group that users get assigned to if they are granted access to confluence. The thing now is, that I cannot find the place where this special group has been set to be the default confluence user group. Also a couple of questions arise from this topic:

1. Do I have to have such a group per default?

2. Can I adjust the default group per user?

3. Where do I change the default group?

The second question is one that is directly coming from the problem I want to solve. I want to add a user to confluence which is only allowed to view everything and add comments, nothing else (no writing, no deleting). The default user group set for confluence users though, allows those users to add pages, blogs, comments - basically everything. How do I set this one users permissions and groups in a way to only have reading rights? Do I need to adjust the default user group permissions?

Thanks a lot in advance for your help!!!


Answers:
author: Maria Hauer
body: So I kept looking for the appropriate settings and I found them! For all having similar issues go to "Site administration/Application access/View Configuration (top right)". There groups can be added to also grant access to confluence. Problem solved.


author: Vinod Reddy
body: Here are the steps to Change the Default Confluence group with a new group:

* Go to cog \> user management \> group
* Create a group
* Go to product access (left side menu)
* Go to the product you want to add this group (e.g. Jira software) and add your newly created group
* Right-click on the ellipsis menu of your group
* And click Make this group defaults
* Remove from default the old one if you want
I'm not receiving password reset or verification emails from Atlassian
Asked by Jose Matias:

Hello:

We created two users before their email were operative and now, with the email running y ok, this users doesn't work due the emails that sends CONFLUENCE don't reach the inbox of the end users. We suppose that CONFLUENCE sent the activation emails when the mail box didn't exist and now must be think thar are invalid emails or something like that... The users are monicac@devanddel.com and operaciones@devanddel.com : could you please fix it in order CONFLUENCE can send the credentials, etc. to these new users? Our confluence URL is: <https://devanddel.atlassian.net>

Thanks a lot.


Answers:
author: AnnWorley
body: I went ahead and opened a support request for you - you should have the email for that by now. The Cloud support team will need to investigate why the users are not getting the emails. In order to isolate the issue, they can check the logs to see if the emails are going out.

comments: author: AnnWorley
body: My apologies for the spam, Jose. I see that Cloud support un-blocked the email addresses and all is well, now.
Scroll Office: Colored Text in Scroll Pagetitle Macro
Asked by Marcel Woschek:

I would like to know if there is any chance to use colored text within the *Scroll Pagetitle*Macro.


Answers:
author: roman
body: Hi Marcel.

The macro itself doesn't provide additional settings or styles, which you could configure. It simply overwrites the title of the page. Depending on from where you are starting the export (from the page with the changed title, from its parent, parent of the parent, etc), the changed title could be rendered in the title page, as heading 1, heading 3, etc.

That's why its not possible to assign a certain style to the text in the macro. If you would like to change the colour of the text of the changed title, you need to do it in Scroll Office template for either page title style, heading 1, heading 2, etc.

Does this help?

Cheers,  
Roman.


Tags: addon-com.k15t.scroll.scroll-office

k15t

scroll-office
503 Service Unavailable - Confluence tutorials
Asked by hariszukanovic:

Examples

<https://confluence.atlassian.com/adminjiraserver071/manage-password-security-802592331.html>

<https://confluence.atlassian.com/jira062/changing-your-password-588581678.html>


Answers:
author: Thomas Schlegel
body: **Investigating** - Confluence.atlassian.com is experiencing peculiar behavior resulting in degraded service for most users. We are looking into the issue and will update when we have more information.   

(status.atlassian.com)
Exact search for an attachment using the attachment name in Java
Asked by Tuelle:

Hi,

I want to check (in Java) if an attachment with a given filename already exists in my entire Confluence system. I was able to perform a V2 search and limit the results by ContentType, but how can query for a specific attachment name? What type of Query Object do I have to use and how would the constructor look like?

Thanks

Thorstne


Answers:
author: AnnWorley
body: If you just need to know if the attachment exists in the instance you can query the database with a query like this, which worked on my PostgreSQL db:

```
select * from content where contenttype = 'ATTACHMENT' and title = '<filename_case_sensitive>';
```

If you need to do it in Java because of a solution you are building then we will have to defer to the more Java savvy members of the Community.


Tags: attachment

java

search
Space icon (logo) in side bar
Asked by Dave Stedman:

I have created a number of spaces. I have some of these spaces showing iun the sidebar. I have assigned icons (avatars if you will) to several of thse spaces.

If I am in any of these spaces I can see that space icon at the top of the sidebar.

But from the home page, where I have added the spaces to the sidebar I see different icons, little grey icons.

I want to see my icons (avatars) for each space in the sidebar.

How do I do this?

And where are these little grey icons coming from, there are different ones depending on the page type.

Confluence 6.2.2

Example images show home page, with sidebar listings for a number of spaces. The spaces have a small grey icon.

But if I go to a specific space the custom logo for that space is clearly shown at the top of the sidebar.

I would really like that logo / avatar what ever you want to call it show in the sidebar on the home page so users can just glance and pick instead of having to read and search.

We are operating in a multilingualenviroment, so doing all the tittles in three languges is not on due to space available if nothing else. Graphics are faster and easier.

![2017-07-03_125835.jpg](/t5/image/serverpage/image-id/2679iDBA93D99BBB5A09D/image-size/large?v=v2&px=999 "2017-07-03_125835.jpg")![2017-07-03_125803.jpg](/t5/image/serverpage/image-id/2680i85BAE797C49178E5/image-size/large?v=v2&px=999 "2017-07-03_125803.jpg")![2017-07-03_125732.jpg](/t5/image/serverpage/image-id/2681i93F8DBE64C7C1575/image-size/large?v=v2&px=999 "2017-07-03_125732.jpg")


Answers:
author: AnnWorley
body: I see what you mean, Morning Meetings and Web Site would ideally display their logos on the Space Shortcuts. I do not have a workaround at this time but the issue has been reported before:

[Custom Logo for Space Shortcut Link](https://jira.atlassian.com/browse/CONFSERVER-42611)

You may communicate directly with our dev team by commenting and voting on the issue\^.


Tags: logo

side-bar