youngmon/atlassian-qna huggingface dataset:
Confluence plugin export to pdf
Asked by Daria Ples:

If i export to pdf a user macro with this code

@param Title1:title=Title1  
.title1:before {  
content: '$paramTitle1';  
}  
\<div class="title1"\>  
\</div\>  

using this pdf layout

\<div class="title1"\>  
\</div\>

confluence somehow passes parameter with name Title1 to exported pdf file

But if i use this code in velocity template in plugin

\<div class="title1"\>  
$Title1  
\</div\>

with the same pdf layout, parameter with name 'Title1' is not passed to the exported pdf file.

Maybe someone can explain whats wrong?


Answers:
author: Vero Rivas
body: Hi [@Daria Ples](/t5/user/viewprofilepage/user-id/928720)

Look at this posts, maybe can help you

<https://confluence.atlassian.com/doc/export-content-to-word-pdf-html-and-xml-139475.html>

[https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud)

<https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html>

Cheers


Tags: app

atl-adm

export

macro

pdf
New users are being directed to dashboard, not the default homepage I have set
Asked by Mike Buchanan:

I'm using Confluence 6.6.1

I'm trying to set up a company intranet and want all users to initialy be directed to a specific space that I've defined as the site home page. I have that space indicated as the site homepage in the Further Configuration area, but when a new user first logs into Confluence, after the welcome messages and choosing some spaces to follow, they are initially taken to the user dashboard and not to the space I specifiy.

Is there a way to get new users to go directly to the correct home page?


Answers:
author: Mike Buchanan
body: Just found this page which tells how to disable the Onboarding experience for new users!-

<https://confluence.atlassian.com/confkb/how-to-skip-the-onboarding-page-welcome-action-for-new-users-in-confluence-777016501.html>

comments: author: AnnWorley
body: That's one way to approach it, for sure! Glad you found a workaround for your use case.


author: AnnWorley
body: Hi Mike,

This was brought up before but abandoned for lack of interest: [Change landing page after onboarding](https://jira.atlassian.com/browse/CONFSERVER-43746). There isn't a workaround yet but I am interested in seeing what the rest of the Community can come up with.

Thanks,

Ann

comments: author: Mike Buchanan
body: Thanks for the quick reply. This is a bit disappointing. Could a workaround be to somehow disable the onboarding experience? It is less than ideal to tell people about our new intranet, show them screen shots of how it will look, and then, the first time they log into it, they are taken to something completely different.
XSRF check failed after pasting license key on 6.1.2.
Asked by Guenter SolyMar:

Community hint on "base URL" already checked. See screenshot.


Answers:
author: AnnWorley
body: Hi Guenter,

Do you have a reverse proxy in front of Confluence? If so, please make sure the proxy support is included in the connector directive in the \<Confluence_Install\>/conf/server.xml file: [Proxy Support](https://tomcat.apache.org/tomcat-8.5-doc/config/http.html#Proxy_Support)
> The proxyName and proxyPort attributes can be used when Tomcat is run behind a proxy server. These attributes modify the values returned to web applications that call the request.getServerName() and request.getServerPort() methods, which are often used to construct absolute URLs for redirects. Without configuring these attributes, the values returned would reflect the server name and port on which the connection from the proxy server was received, rather than the server name and port to whom the client directed the original request.

For example change:

```

 <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
 maxThreads="48" minSpareThreads="10"
 enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
 protocol="org.apache.coyote.http11.Http11NioProtocol" />
```

to include the proxy settings:

```
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"

proxyName="docs.avisia.org"
proxyPort="443"
scheme="https" />
```

Please see [Cross Site Request Forgery (CSRF) protection changes in Atlassian REST](https://confluence.atlassian.com/kb/cross-site-request-forgery-csrf-protection-changes-in-atlassian-rest-779294918.html) for descriptions of conditions that will trigger an XSRF error.

I look forward to hearing whether the server.xml changes help or if you are using a reverse proxy.

Thanks,

Ann

comments: author: Guenter SolyMar
body: Hi Ann,

Thank you for your fast help and solving my issue.

Yes, I am using IIS as a proxy in front of Confluence and I only miss in the server.xml the proxy 'scheme' tag.  
Thanks a lot for this!

Regards

Guenter.


author: AnnWorley
body: I am very happy to hear the issue is resolved! Thanks for the good news. :)
Identify page from URL
Asked by Oliver Lipkau:

Hi.

I am looking into how I can identify a Confluence Page/Content from it's URL.

On the self-hosted server, the page has a reference to the pageid:

```
<!DOCTYPE html>
<html>
 <head>
    ...
    <meta name="ajs-page-id" content="845153134">
```

But on the cloud-hosted server, I only get that after the JS/ajax was executed.

How can I identify the page on a cloud server with curl?

Thanks for the help


Answers:
author: Nazri Muhi
body: Hey Oliver, I might misunderstood what you're aiming for but if you want to get the contentid using curl with the title of the page for example you can use the content REST API endpoint.More information here <https://developer.atlassian.com/cloud/confluence/rest/#api-content-get>

For e.g if the title of the content is "Meeting Notes" you can use curl GET to the following endpoint to get the content id

https://\<instance\>.atlassian.net/wiki/rest/api/latest/content?title=Meeting%20notes

comments: author: Oliver Lipkau
body: Hi.

Imagine you have a short URL: <https://xxx.atlassian.net/wiki/x/YIkAB>.

I want to use <https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-get> to get the content of the page: <https://xxx.atlassian.net/wiki/rest/api/content/{contentId>}.

My question is: how can I find the contentId of the page without knowing the title or space?


author: Nazri Muhi
body: I dont think its possible to get it directly from the existing endpoints. Though i can see that the short URL is returned in the json output so its possible to parse the results using jq to get a list of content id with the matching tinyurl for all content (there's a 500 results limit in the cloud if i remember correctly) with the following command

curl --silent --user \<user\>:\<token\> -X GET "https://\<instance\>.atlassian.net/wiki/rest/api/content?type=page\&expand=property" \| jq ".results\[\] \| \[{ id: .id, tinyurl: ._links.tinyui }\]"


author: Oliver Lipkau
body: walking through all pages on the server is definitely not an option.

Every page as a meta tag which contains the ID of the page:

```
<meta name="ajs-page-id" content="845153134">
```

The problem is that the cloud server only adds this tag through JS.

So I have working code for the On-Premise server and am looking on how I can get it to work for Cloud server as well.


author: Hung Nguyen
body: Did you say you had the code working for On-Premise server ? Can you share it with us? I'm interested in getting the page ID from REST API knowing only the page url which may by a tiny url only


Tags: confluence-cloud

rest-api
No support request form available
Asked by Strukton Service Account GIT:

Under "Troubleshooting and support tools" tab "get help" it is not possible to send a "request support form" . The tab is empty .. there is no text and also no fields which can be filled in.


Answers:
author: Strukton Service Account GIT
body: It was just a browser issue with internet explorer 11 .. using google chrome or firefox there were no problems

comments: author: Shannon S
body: Thank you for confirming that! It should work with IE but depending on your security settings, this could have caused the issue.

Regards,

Shannon


author: Shannon S
body: Hi there,

You can contact Support directly via our support site:

* [support.atlassian.com](https://support.atlassian.com/contact/#/)

Back to your issue, on Confluence 6.7.1, I was able to click Get Help, and there's a button at the bottom that does load for me with the support fields to fill in. You can see the 'Contact Technical Support' button at the bottom:

![Screen Shot 2018-03-05 at 4.24.42 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/16370i5E692F0FE759C6E1/image-dimensions/521x310?v=v2 "Screen Shot 2018-03-05 at 4.24.42 PM.png")

You can report your first problem to the URL I sent you, and if you're still having trouble with this form, please let me know what version of Confluence you have and show me a screenshot of what you're seeing.

Regards,

Shannon
How do I view all of my tasks on Confluence?
Asked by Joanne Pandya:

In the previous Confluence UI version, we were able to easily navigate to all our tasks assigned in Confluence.

I may not be searching in the right places, but I can't seem to find that any more. Is there a listing of all tasks assigned to me in Confluence?


Answers:
author: Lauri Vasko
body: In 2022 the easiest way is:

\* click your profile circle (upper right corner

\* click _Tasks_ right under your profile

I would love to have keyboard shortcut for accessing tasks, however it's not available currently.


author: Fabienne Gerhard
body: Hi [@Joanne Pandya](/t5/user/viewprofilepage/user-id/680846),

Did you look in your Personal Space?

https://++*\<your.url\>*++ /spaces/viewspace.action?key=\~++*\<your.username\>*++

There you can see your tasks (second tag)

Or you can move directly to the tasks by using:

https://++*\<your.url\>*++plugins/inlinetasks/mytasks.action

(*https* or *http* is according to your system)

Hope this helps!

If not - it would be good to tell if you're using Server or Cloud Version of Confluence and which Version of it.

comments: author: Joanne Pandya
body: Thanks [@Fabienne Gerhard](/t5/user/viewprofilepage/user-id/971720) I am using Confluence Cloud which is the new UI version. I was able to find it in the bottom left hand corner under my profile, there's an option for Tasks.


author: Fabienne Gerhard
body: Glad to hear!


author: Gabriel Radic
body: Go to ? *\> Profile \> My Tasks*

There is a My Tasks tab built in your profile page.

The link looks like [https://YOURSUBDOMAIN.atlassian.net/wiki/plugins/inlinetasks/mytasks.action](https://YOURSUBDOMAIN.atlassian.net/wiki/plugins/inlinetasks/mytasks.action?)
global reader group
Asked by Thomas:

Hi,

what is the best way to grant read-access for all spaces and pages. Also restricted pages should be readable.

We have a lot of spaces that should also be readable for that group.

Which solution would you suggest?

Thanks in advance and regards  
Tom


Answers:
author: Gezim Shehu [Communardo]
body: 1- Use default Space Permissions and configure a user group to have view permission

2- Allow anonymous access (view permission only) in the desired Spaces and restrict only the private pages you want to kept hidden

Each has it's own benefits and usecases

comments: author: Thomas
body: Hi Gezim,  
in this case I believe that restricted paged cannot be viewed.  
I don?t really want to give admin permissions.

Thank you!

Regards  
Tom


author: Gezim Shehu [Communardo]
body: So easily you could just set up a Confluence Group then and assign that group view permission only in each space you require.


Tags: bitbucket-server

jira-software
several ad groups
Asked by atlassian:

Hi!

How can I configure several ad groups in the same level.  

Because I have to ignore others.

Thanks


Answers:
author: AnnWorley
body: Hi,

I understand you would like to limit the users synchronized from Active Directory to a Confluence external user directory to include only members of specific groups. This page has example filters for AD at the bottom. [How to write LDAP search filters](https://confluence.atlassian.com/kb/how-to-write-ldap-search-filters-792496933.html)

I look forward to any follow up questions.

Thanks,

Ann

comments: author: atlassian
body: Hi Ann,

that's awesome. Too bad I did not find this myself.

Thanks,

Philipp
importing a msword document with tables and pictures
Asked by EtienneD:

Hi,

This a question from a newbie.

Trying to import our procedures into Confluence, I'm facing this problem:

Most of our procedures are MS Word documents, with tables, descriptive text and pictures. We'd like to import them with as less rework as possible.

When importing (+ \> other macro \> Office Word), I get a well formated text, a nice table... but no pictures in the table !

Importing PDF documents (after converting word docs into pdf) is not an option, as we want to transfer the ability to update the documents directly in Confluence.

So my question is:

is there something that I'm missing when importing my word document ? And if, what ?

I guess I'm not the first one to face this, but could'nt find the answer that I need.

Thanks for your help.

Etienne


Answers:
author: Fabienne Gerhard
body: I tried .doc an .docx both worked wonderful - pictures, tables, text.

Do you split the document in a main page + child pages by using Headline 1 (aso) for creating child pages? That's where I got some problems showing pictures.

comments: author: EtienneD
body: No, the document is in one page.

[@Danyal Iqbal](/t5/user/viewprofilepage/user-id/430572), importing the document in .doc doesn't change the result.

My version of Confluence is 5.10.8 (as a sandbox for running tests before implemenation). Could it be the cause of the problem ?


author: EtienneD
body: Got it to work, I didn't import it the right way.

Sorry if I wasted your time.

Now, I remark that when importing a table with a numbered list, the numbers appear with a "code" (e.g. \<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="9609b5c2-f080-4e8b-a81d-cb09412f4e33"\>\<ac:plain-text-body\>\<!\[CDATA\[)

but this might be a bug depending on the version I'm using right now. Anyway, any workaround would be appreciated.

Thanks !


author: Danyal Iqbal
body: cheers mate!


author: Fabienne Gerhard
body: Good to hear that it worked!

Workaround for your numbering could be to delete first row (with the counting numbers) and use the Confluence counting for tables  
-\> Table settings

<https://www.atlassian.com/blog/confluence/new-improvements-tables-confluence>

![confluence-team-collaboration-tables-row-numbering](http://atlassianblog.wpengine.com/wp-content/uploads/confluence-team-collaboration-tables-row-numbering.png)


author: EtienneD
body: great ! Thanks


author: Danyal Iqbal
body: Is it \*.doc or \*.docx format, that you are trying to import? Try .doc format.

A work around would be to create a new page, attach the word document manually, and then use the macro to display the contents.

comments: author: Munro.Karen
body: Can you advise how you fixed this? I import from word - a table has icons in one column. The images fill the whole cell and I'm unable to resize. I import via the ...More details option and leave the defaults.
TOC in sidebar
Asked by Olga Panova:

Hello,

### Confluence 6.3.3
I have one page that contain several headings (h1, h2 and so on). Can I create TOC for this page in the sidebar with the links to h1, h2 and so on? {#toc-hId-1594969208}


Answers:
author: Vasiliy Zverev
body: Olga, privet!

This is possible to do, but it is broken in many last Confluence versions: <https://community.atlassian.com/t5/Confluence-questions/TOC-in-sidebar/qaq-p/433604>

Best regards,

Vasiliy
'All Updates' newsfeed not updating on dashboard
Asked by IT Service Desk:

* 'All Updates' newsfeed not updating on dashboard


Answers:
author: Sloan
body: Hi [@IT Service Desk](/t5/user/viewprofilepage/user-id/167753)

One thing I can recommend if this symptom is present, a [reindex](https://confluence.atlassian.com/doc/content-index-administration-148844.html). But can you please provide more information?

Such as:

* Are you on Cloud or Server?
* If Server, what Confluence version is currently installed?
* When did it it stop working did someone apply any changes on Confluence beforehand?
* Can you find errors in the application log?
* Are there errors displaying in your browsers console?

Regards  
Niklas

comments: author: IT Service Desk
body: Hi Niklas,

sorry for the delay in reply.

I ran the reindex which pulled it up to date, but then it needed another reindex this morning to update it again

We have Server on version 5.8

It seemed to have stopped working when we moved it from cloud to server.

No errors in browser that I can see
How to configure Confluence MBeans in JMX monitoring with Datadog?
Asked by VINOD VERMA:

I wanted to monitor confluence using JMX monitoring with Datadog as client.

So, How to configure confluence MBeans in jmx.yaml file of Datadog-agent?


Answers:
author: VINOD VERMA
body: Thanks Miranda for your Reply!

I already configured JMX and getting 13 metrics, but wanted to configure 7 MBeans to get more metrics's. So Can I get help on configuring below MBeans to get more metrics's?

**MBeans List :**

CacheStatistics

IndexingStatistics

SystemInformation

RequestMetrics

MailServer-SMTPServer

MailTaskQueue

SchedulingStatistics

Warm Regards,

Vinod Verma


author: Miranda Rawson
body: Hi Vinod,

I was able to find the following blog here with instructions to use Datadog with Confluence: [http://www.randomlyexpressed.com/data-dog-jmx-monitoring/.](http://www.randomlyexpressed.com/data-dog-jmx-monitoring/.?) This does include instructions on how to configure jmx.yaml.

Hope this helps! Thanks for your question.

Kind regards,

Miranda Rawson  
Atlassian Support


Tags: datadog

jmx

monitor
Reindexing does not work properly
Asked by Orkun Gedik:

Currently, I am working on a new plugin which has page generation feature. Instead of I am reindexing each page just after the creating them with ConfluenceIndexer, my pages are not appearing on my Confluence page.

```
Page page = new Page();
 page.setTitle(title);
 page.setSpace(space);
 page.setParentPage(parentPage);
 page.setBodyContent(BodyContent);
 page.setVersion(1);
 page.setCreator(user);
 pageManager.saveContentEntity(page, new DefaultSaveContext(false, false, false));
 confluenceIndexer.reIndex(page);

```

Is there anything that I miss? Should I refresh the cache? These are the questions that I could not figure them out.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Orkun Gedik](/t5/user/viewprofilepage/user-id/1191227) ,

are you talking about search or what?

Fabio


Tags: atl-dev

index
How can I create a task without a meeting
Asked by elecoest:

Hello,

For the moment, all our tasks are created through mettings. It's really good and easy.

A page was created to have all of these.

I'd like to create a task without a meeting but this task must be integred in this report ?

Do you have any idea ?

Thanks.


Answers:
author: Shannon S
body: Hi Emmanuel,

You can create a task in Confluence by typing:

\[\] @usernamehere

You can set a due date by typing //

This won't require you to use a meeting blueprint.

You mentioned it needs to be integrated in the report, can you confirm which report? The Task Report?

Regards,

Shannon

comments: author: elecoest
body: Hi Shannon,

Thanks for your help.

Yes I use the "Task Report".

For the moment our best wey to create a task is the tasks attached to a meeting.

I'm looking for a new way like a button "Create a task" :)

Best regards


author: Shannon S
body: Hi Emmanuel,

Outside of your Meeting Blueprint, the only way in Confluence that is built-in is either to type \[\] or use the Task List button in the editor, which does essentially the same thing as typing \[\]:

* [Create a task in Confluence](https://confluence.atlassian.com/confeval/confluence-evaluator-resources/confluence-how-do-i-create-a-task)

There may be some 3rd party add-ons to help you accomplish what you need, so I will tag the marketplace collection as well in case anyone has any suggestions.

Regards,

Shannon


author: elecoest
body: many thanks Shannon


Tags: atlassian-marketplace

sub-task
How to delete or disable jira account
Asked by S. Adu-Ampoma:

I'm trying to delete or disable Jira account, but do not have the 'delete' or 'disable' option.


Answers:
author: Gezim Shehu [Communardo]
body: How are your users configured?

If you have them synced via AD, you have to remove the user from the (I assume) JIRA group you have configured to have application access.

PS: Please fix the tag to JIRA not Confluence.

comments: author: S. Adu-Ampoma
body: Thanks, the issue is resolve I did not have the admin privileges.


author: Adri?n Plaza [DEISER]
body: Hi [@S. Adu-Ampoma](/t5/user/viewprofilepage/user-id/1193335),

I don't know if you are in server version or in cloud version, but you can find all the information about users on this pages:

* [Server](https://confluence.atlassian.com/doc/delete-or-disable-users-138318.html)
* [Cloud](https://confluence.atlassian.com/cloud/invite-edit-and-remove-users-744721624.html)

But this problem looks like LDAP permission.

Regards,

Adri?n.

comments: author: S. Adu-Ampoma
body: Thanks, the issue is resolve I did not have the admin privileges.
macro 'view-file' is not longer working for one of our space
Asked by Sanampudi Narmada:

All our pages that used this is now displaying "Unknown macro: 'view file'. Please provide your inputs on resolving this issue


Answers:
author: Domenico Manzo _Actonic_
body: Looks like "**The View File macros are going away in a future release**".

More details: <https://confluence.atlassian.com/doc/view-file-macro-170494360.html>

As a workaround you can use default preview function <https://confluence.atlassian.com/doc/display-files-and-images-245827130.html>
Could you use Confluence as a KB to provide context sensitive help in another application?
Asked by David Reaburn:

Company XYZ uses a large scale enterprise platform with Oracle backend

Front end of the platform can be customised \& you can execute javascript

They've asked whether you could link pages from a public Confluence space to screens in this app.

e.g.:

When using this application, you press F1, app then picks up tags on the screen you're in, executes a search query via Rest API in public space Confluence \& returns Confluence pages as results


Answers:
author: Gezim Shehu [Communardo]
body: I don't know how Service Desk does this technically, but does exactly what you are asking.

It includes search results from Confluence, and displays as a pop pup page (styled exactly like in Confluence).

<br />

Maybe you could try and research how this is done.