youngmon/atlassian-qna huggingface dataset:
Page title from user macro
Asked by Ian:

I used $content.title to get the page title which has worked in a user macro but now I want to get only the first letter on a page title since my pages have more than one words e.g

I have a page titled AF \| Afghanistan now I want to only get AF?


Answers:
author: Stephen Deutsch
body: Hi Ian,

Here is an example of how you might get the first word (up until the first space character):

```
## @noparams
#foreach ( $element in $content.title.split(" ") ) 
#set ( $firstWord = $element )
#break 
#end
$firstWord
```

comments: author: Ian
body: [@Stephen Deutsch](/t5/user/viewprofilepage/user-id/781490) Hurraaayyyy!!

Thanks alot.It has worked.
URL to Confluence default dashboard
Asked by Stefan Bogdan Cimpeanu:

Hello,

How can one reach the Confluence default dashboard, if in user profile the Site homepage has been set to a custom space?

Is there a special URL for this please?

Thank you!


Answers:
author: Shannon S
body: Hi Stefan,

The URL is as follows:

https://BASE-URL/dashboard.action

**Accessing the dashboard with a site homepage set** on [Configuring the Site Homepage](https://confluence.atlassian.com/display/DOC/Configuring+the+Site+Home+Page) for more information.

I hope this helps!

Regards,

Shannon


Tags: confluence-administration
Need a function that can each user's comment can be scored and accumulated in confluence
Asked by Kyle Li:

Is there any plugins or functions in current confluence that can scoring on users comments in article and accumulating each users scores in confluence ?


Answers:
author: Nic Brough -Adaptavist-
body: You probably need to explain "scored" in a less vague way, but without better information, my instinct lead me to look for this:

[https://marketplace.atlassian.com/search?product=confluence\&query=gamify](https://marketplace.atlassian.com/search?product=confluence&query=gamify)
Confluence Cloud vertical scrollbar on navigation menu doesn't work as expected
Asked by Brian Houston:

We have a lot of top-level pages on our Confluence instance. When trying to scroll down to view lower items, I can use the scroll wheel on my mouse, however - trying to grab the scrollbar does not work - and usually just collapses the sidebar.

This is unexpected for me and my users. Aren't scrollbars meant to be handles that can be grabbed?

I continue to have difficulty and be frustrated with the user experience choices made for the new Confluence design![scroll.png](/t5/image/serverpage/image-id/10480i73C583930ABA68BD/image-size/large?v=v2&px=999 "scroll.png")


Answers:
author: Mark Feldpausch
body: I wholeheartedly agree. This design flaw is extremely frustrating and is hurting user adoption greatly.


Tags: user-interface
after upgrade can't reboot server without stopping / starting confluence
Asked by Chris Hoerske:

I updated my older version to the newest build.. I then backed it up and restored it to a fully patched Ubuntu 17.10 instance. If I reboot or shutdown the server Confluence won't boot. I have to delete the 'lock' file and manually start the confluence app. I'll attach logs afterI create the ticket.


Answers:
author: Chris Hoerske
body: It works when I manually stop Confluence.. I guess I can do that for now on.. But.. I notice I'm using 3 GBs of RAM just on Confluence? I have one user that uses it.. That's way too high..

comments: author: Shannon S
body: Chris,

Is this an automated task? Since your server doesn't appear to be stopping Confluence properly before it is rebooted then perhaps you could set a task to completely stop Confluence, verify that it is stopped, and then reboot?

As for the memory, you may do better if you ask another question with a relevant title as other users may have suggestions on that, but I would recommend reviewing our [Memory Usage](https://confluence.atlassian.com/doc/memory-usage-and-requirements-130882.html) and [Performance Tuning](https://confluence.atlassian.com/doc/performance-tuning-130289.html) documentations. You can set the amount of RAM Confluence should use and there are things that can cause high memory which are mentioned in those articles.

Regards,

Shannon


author: Shannon S
body: Hi Chris,

When the reboot of your Ubuntu server occurs, are you doing this manually or for a cron job/scheduled task?  

I would recommend trying first to properly shut down Confluence, and then perform the reboot of Ubuntu, and let me know if Confluence is starting up in that case.

It appears that for some reason your server may not be properly shutting down Confluence before it restarts.

Kind regards,

Shannon
Faster Way To Organize Wiki
Asked by cloud49:

Hi All:

Does Atlassian have a service where I can more quickly create/reorder pages. Something similar to a file browser on my computer?

Could I create a Wiki in markdown files locally, and then just upload and get the same structure and nesting?


Answers:
author: Christian Reichert (resolution)
body: Hi Dan,

you don't write if you are talking about Confluence Server or Cloud.

I used to create structure quite quickly using the Webdav Interface. I mounted the WebDav from Confluence into my Finder and then every page is represented by a folder. So you can easily create Pages \& Subpages by creating folders (doesn't address you Markdown)

But I know Webdav is no longer supported by Confluence Cloud - only Server.

If you are good on scripting you can probably do something via the REST API or the [Bob Swift CLI Apps](https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/server/overview).

Maybe this helps nevertheless.

<br />

Cheers,  
Christian

comments: author: cloud49
body: Sorry Christian, I was referring to Confluence Cloud. Thanks for the suggestions though and the CLI option you posted looks like it will work for Cloud.  

Sad there aren't any faster options but oh well.

Again thanks for answering.
Links from PPT/Word etc.. Connect to Confluence Home Page and not Specified Link within Confluence
Asked by AndrewP:

I have a user who is adding links to a specific Space/page within our Confluence environment to a PPT.

Using Safari the links from the PPT works fine - the link goes to the specified page.

Using IE (Edge) the links from the PPT works fine - the link goes to the specified page.

Using Chrome, the links only report back to the Confluence Home Page.

Confluence On Prem - 6.4.2 Linux


Answers:
author: Peter DeWitt
body: [@AndrewP](/t5/user/viewprofilepage/user-id/541188), It sounds like a browser issue. Could you share one of the links with us?

.pd
Macro Browser will not open on new install
Asked by Justin Brant:

I did a clean install today on linux and I cannot launch the macro browser when adding macros in.


Answers:
author: Shannon S
body: Hi Justin,

Could you [Clear your Plugins Cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) and let me know if that solves your issue? A corrupted plugin cache often is the cause of this issue.

If not, please feel free to tail your atlassian-confluence.log when you attempt to pull up the macro browser and let us know what error messages you're seeing.

Regards,

Shannon

comments: author: Justin Brant
body: ```
 -- url: /display/TI/Making+a+template | traceId: 2a780499784ab1f5 | referer: http://publicIP:8090/display/TI/Projects+in+motion
2017-12-12 15:05:24,327 WARN [http-nio-8090-exec-8] [atlassian.confluence.event.MonitorableCallerRunsPolicy] rejectedExecution Queue Overflow happened: Runnable: [Invoker: com.atlassian.confluence.event.ConfluenceListenerHandlersConfiguration$TimingListenerHandler$1$1@5ea32f4e; Event: HttpRequestStatsEvent{requestCorrelationId=2a780499784ab1f5, url=display.TI.%, key=Optional[confluence.page.view], reqTime=534, reqStartTime=1513109123779, dbReqTimesInMicros=, dbReqFinishTimes=, requestUserTime=340, requestCpuTime=339, requestGCDuration=0, requestGCCount=0, timingEventKeys=viewPageRenderingStarted,viewPageRenderingFinished,viewPageTemplateStart,viewPageTemplateBodyStart,viewPageTemplateBodyFinished,pageDecoratorStart,pageDecoratorContentNavigationStart,pageDecoratorContentNavigationFinished,pageDecoratorInfoPanelStart,pageDecoratorInfoPanelFinished,pageDecoratorSidebarStart,pageDecoratorSidebarFinished,pageDecoratorContentStart,commentsDecoratorStart,commentsDecoratorFinished,pageDecoratorContentFinished,pageDecoratorFinished,viewPageTemplateFinished,sitemeshDecoratorApplyStarted,mainDecoratorStart,confluenceResourceTagsStart,confluenceResourceTagsEnd,mainDecoratorBodyStart,commonsHeaderStart,commonsHeaderFinished,mainDecoratorContentDivStart,mainDecoratorContentDivFinished,mainDecoratorFinished,sitemeshDecoratorApplyFinished,serverRenderEnd, timingEventMillis=13,83,84,85,85,86,103,121,121,121,121,159,159,179,190,190,251,251,278,280,333,420,421,425,501,502,509,516,516,534}]; Executor: [java.util.concurrent.ThreadPoolExecutor@5a6c8e36[Running, pool size = 1, active threads = 1, queued tasks = 192, completed tasks = 243]]
```

Here is what I got.


author: Shannon S
body: Hi Justin,

You can confirm you cleared your plugins cache completely and the issue persists?

The line you sent doesn't appear to be an error message, but a warning. Do you happen to see any other lines in your logs that mention any errors or what might be causing the problem?

Regards,

Shannon


author: Justin Brant
body: Not that I have seen but to be honest I am not well versed in troubleshooting of this nature. I did clear the plug-in cache and all the files above in the article.


author: Shannon S
body: Alright, Justin.

What I'll do now is create a support ticket for you so we can have a look at your full support zip.

Please stay tuned for my email.

Regards,

Shannon
I can't edit word documents
Asked by Patricio Tituana:

When I'm trying to use the "Edit in Office" feature the app ask me to find an app in the windows store for MS-Word, but, the store do not have it. Before I was able to edit word documents in MS Word 2016, but for some reason is not working anymore.

Can somebody help me?

Thanks,

Patricio


Answers:
author: Peter DeWitt
body: [@Patricio Tituana](/t5/user/viewprofilepage/user-id/1168831), This feature has always been a pain to use. It always felt like it was half developed. Anyway, take a look at this doc from Atlassian. If one of the pre-requisites is off the whole thing will turn out badly.

For the record, I don't recommend this to my users; ever.

.pd

comments: author: Peter DeWitt
body: Forgot to add the link. :)

<https://confluence.atlassian.com/conf54/confluence-user-s-guide/creating-content/working-with-the-office-connector/editing-an-office-document-from-confluence>


author: Patricio Tituana
body: Thanks!

I'll look into this.
SSO Bypass for Service Accounts
Asked by Doyen Blair:

Hello, we have recently implemented SSO for Confluence.

We have issues with regards to accounts that have been set up within Confluence for service reasons and API calls.

There are no AD accounts associated with these IDs. Is there any way that we can bypass the SSO login so that users can login as said service user using ID and PW?

Thanks.


Answers:
author: Christian Reichert (resolution)
body: Hi Doyen,

similar to Lars's Question - it would be interesting how you implemented "SSO for Confluence". If you use a 3rd party plugin like ours ([SAML Single Sign on (SSO) for Confluence](https://marketplace.atlassian.com/plugins/com.resolution.atlasplugins.samlsso.Confluence/server/overview)) then we can give you some advice on that.

In other words there are many things to achieve SSO that you could mean - to possibly help you, we'd need more info.

Cheers,  
Christian


author: Lars Olav Velle
body: There might be many ways of achieving this. We offer fallback to username/password and IP filtering.

Are you using SAML/Kerberos? Perhaps the vendor has the same possibilities?

Cheers,

Lars, Kantega Single Sign-on
display pages from any cql-query in a page-tree?
Asked by bolmstrand:

I would like to be able to display the pages from a cql-query in a page-tree. Is there a way to do that already? If not, what would it take to make it possible?

Many times our users need to get an overview of a subset of pages within a space containing a much larger set of pages. Cql seems very powerful and can produce very precise results when searching for the pages, but displaying them in a list doesn't provide a very good overview.

Ideally the input would be a root ancestor node and a cql-query. The pages from the input cql-query may not include all branches to the ancestor, but could be queried separately to return all pages needed to construct a fully "connected" tree to be displayed.


Answers:
author: Martin Cleaver
body: I need this also... (don't know why I can only answer, I'd rather comment...)


Tags: cql

page-tree
For one user, Jira issue link is not showing in confluence page
Asked by vivuu:

For one user, Jira issue link is not showing in confluence page

<br />

We have a confluence page , where all can view the assigned issues in one jira projects. As a adminI can see this as shown in the attachemnt.

But one user for him this links are not visible in confluence. where its displaying as Project is doesnot exist or you dont have permission.

But by accessing the same url in browser , he can access the project.


Answers:
author: Christian Reichert (resolution)
body: Hi!

Has the user the same Username in Jira \& Confluence?

<br />

Cheers,  
Christian

comments: author: AnnWorley
body: That was my question as well. If they are logged into Jira with one account and Confluence with a different account it would explain the issue.

If they log into Confluence in an incognito window or private browsing session can they still access the Jira link (same url in browser)?


author: vivuu
body: Yes same username . Crowd account.

In confluence. These jira project links are not showing for them. But I can see am admin. U tested with a new test user and given jira project permission on the project. But the same issue persists as they faced. The url of the browser is accessible separately in browser,but in confluence it's not visible for them


author: AnnWorley
body: To speed up communication I opened a ticket for you on our support portal. You should receive an email shortly asking for logs and other materials.


author: Ankit Patel
body: [@AnnWorley](/t5/user/viewprofilepage/user-id/502040) I am having the same issue, how was this resolved?


author: Mathijs Mooij
body: I am also interested in hearing the answer to this problem, since we have the same issue!


author: vivuu
body: ![not exist.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/10452i74287F17CEFAB829/image-size/large?v=v2&px=999 "not exist.PNG")
Can multiple JIRA instances use ONE Confluence?
Asked by Nick P:

Hi Atlassian Community!

I need some expert help! So I have two companies, let's say **Company A** and **Company B** with separate Atlassian instances (both with JIRA \& Confluence).

**Company A** has already got a really fleshed out Confluence with 2 specific spaces dedicated to generic "How To" Docs and Internal Knowledge Docs that are supposed to be "Org Wide" (i.e. need it to be visible across **Company A** and **Company B**) while the rest of the spaces in A's confluence are company specific (client sensitive).

My aim is to make sure ***users in Company B can view these Company A Spaces without needing a Company A login***.

Here's what I've tried:

* Making the individual spaces "Anonymous" view, essentially making the pages public to anyone with the page links. *Not a viable solution.*
* Created an Atlassian login for Company A's instance for a Company B employee (meaning we're paying for 2 licenses) - *again, not a viable solution.*
* Looked into [Shared Teams](https://confluence.atlassian.com/jiraportfoliocloud/managing-shared-teams-828785294.html) however couldn't make full sense of it.

So now I turn it over to you guys. I REALLY don't want to have to copy \& paste each doc to create a "Company B" version of everything, creating double work, but right now in the interest of not having confusing double licenses, or risking public visibility, my hands are tied.

Does anyone else have this set up to work?

Thank you :D


Answers:
author: Nic Brough -Adaptavist-
body: People from both companies are going to need their own accounts on your Confluence. Both sets of people are users.

comments: author: Nick P
body: Ah that sucks, really not ideal. Thanks!


author: Mike Rink
body: Hey [@Nick P](/t5/user/viewprofilepage/user-id/1144539), is there a large amount of pages in Company A's Space? If it's a smaller amount, you might be able to use our app [Comala Share It](https://marketplace.atlassian.com/plugins/com.keinoby.confluence.plugins.share-attachments/server/overview) to create shareable links to pages in Space A that Company B users can utilize to see the content. This solution doesn't scale that well unfortunately, but it may be a stop-gap until you can find something better. Let me know if I can answer any questions about the app!

comments: author: Nick P
body: Hey [@Mike Rink](/t5/user/viewprofilepage/user-id/306174) - thanks for the response.

Yes company A has a lot of stuff already created. Don't really want to go down that road, would rather sort it out for a longer term, but appreciate the heads up.

We decided to move all cross-company docs out of Confluence unfortunately, it was easier to use other solutions vs. fighting with permissions or paying more with Atlassian which is a shame.

We will however keep team \& project specific notes \& docs in confluence to maximize the features between it and JIRA.


author: Mike Rink
body: Hey [@Nick P](/t5/user/viewprofilepage/user-id/1144539), sorry we couldn't find a solution that would work, but thanks for the update!


Tags: team
Any risks editing the CSS style sheets for one space?
Asked by Karen Clarke:

I am a technical writer for a development team in a large company. We have our own space within the overall company Confluence site.

The company style sheet is quite limited. There are no options for second level lists, list continue numbering, indented paragraphs in list items etc... All these style options I use in Word documents (and have used in other documentation tools) and are necessary for creating well-structured complex processes and procedures.

I know there is an option to edit the CSS for a space as well as the site. I am just looking for reassurance that if I request and am given permission to edit the CSS style sheet of my team's space, that ithere isn't any possibility of it having any effect on the company-wide site.

What should I take into consideration before requesting this permission from the company site's administrator?

Thanks,

Karen


Answers:
author: Shannon S
body: Hi Karen,

You'll want to make sure you're only editing the space's stylesheet:

[Styling Confluence with CSS](https://confluence.atlassian.com/doc/styling-confluence-with-css-166528400.html)

Make sure to follow these instructions for the space:
> **To edit a space's CSS style sheets:**

1.
   > Go to the space and choose **Space tools** \> **Look and Feel** from the bottom of the sidebar
2.
   > Choose **Stylesheet** then **Edit**.
3.
   > Paste your custom CSS into the text field.
4.
   > Save your changes. The new CSS will be visible on all content pages in the space.

This will not affect other spaces in the environment.

If there is already custom CSS listed, I would recommend that you make a copy of it somewhere in case you need to revert to it.

Let me know if you have any additional questions about that.

Regards,

Shannon

comments: author: Karen Clarke
body: Thanks for your reply, Shannon. Just need the reassurance!


author: Shannon S
body: No worries, Karen! Glad I could confirm that for you.

Kind regards,

Shannon


Tags: css

technical-writer
Conditional Content Macro, Is it possible To assign two different colors to conditional content?
Asked by Age Life:

Hello Everybody,

My question is that is it possible in confluence assign different highlight colors(normally it is gray) to different content.

For example

content from 1st condition(have a light yellow highlight color)

content from 2nd condition(have a light green highlight color)

Many Thanks

![adada.PNG](/t5/image/serverpage/image-id/10436i1A04B864796FB0E3/image-size/large?v=v2&px=999 "adada.PNG")


Answers:
author: roman
body: Hi [@Age Life](/t5/user/viewprofilepage/user-id/1168708),

this is not currently possible, but there is a feature request in our Jira: <https://k15t.jira.com/browse/VSN-3492>. Please sign up at <https://k15t.jira.com/secure/Signup!default.jspa> to watch, comment on or vote for this issue. We'll then send a notification for every status update.

Roman.


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

atlassian-marketplace
I have problem with Microsoft EDGE and confluence?
Asked by Roberto Lindmark:

Confluence is not displaying correct on Edge. There is no newsfeed and no top navigation meny. Chrome and Firefox works fine. Can you please check?


Answers:
author: Christo Mastoroudes _Adaptavist_
body: On Confluence server if you are using add-ons then it is possible some styling applied might not yet be supported on all browsers. Enabling safe mode will disable all add-ons. Check again to see if it is working. <https://confluence.atlassian.com/upm/disabling-and-enabling-add-ons-273875716.html>

Ensure that your browser is the latest version. You can have a look at the cloud supported browser list. <https://confluence.atlassian.com/cloud/supported-browsers-744721663.html>


Tags: confluence-server

server
Script placing file on Confluence page
Asked by Rogier The:

Is there a possibility to automatically place a number of files which are in a specific folder and place/attach them on/to an existing Confluence page?


Answers:
author: Christian Reichert (resolution)
body: Hi!

You can write something yourself using the REST API

```
curl -v -S -u admin@example.com:password -X POST -H "X-Atlassian-Token: no-check" -F "file=@myfile.txt" -F "comment=this is my file" "https://your-domain.atlassian.net/wiki/rest/api/content/3604482/child/attachment
```

The above is taken from this page containing lots of examples: <https://developer.atlassian.com/cloud/confluence/rest-api-examples/>

Alternatively you can also use a plugin like Bob Swift's Command Line Interface: <https://marketplace.atlassian.com/plugins/org.swift.confluence.cli/server/overview>

This would allow you something like:

```
./confluence-cli  --action addAttachment  --space "zcliattachments"  --title "attachment page"  --content "attachment content"  --name "data.txt"  --comment "attachment comment"

```

Hope this helps,

Chris

comments: author: Rogier The
body: Thanks Chris, I think with the examples I can get what I want.


author: Christian Reichert (resolution)
body: My pleasure.
Dynamic Filter with Jira
Asked by Pradeep Panayal:

I wanted accept the user inputs such as range and project and create a filter accordingly. I added jira filter to confluence with static filter, how can I provide a provision to accept the user input in confluence and make the filter dynamic?


Answers:
author: Vero Rivas
body: Hi [@Pradeep Panayal](/t5/user/viewprofilepage/user-id/1168635)

Look at this posts, maybe can help you

<https://community.atlassian.com/t5/Jira-questions/Dynamic-filter-in-Confluence-pages/qaq-p/1008009>

<https://community.atlassian.com/t5/Jira-Core-Server-questions/Add-dynamic-filter-to-other-filter-results/qaq-p/264257>

[https://marketplace.atlassian.com/apps/1223958/dynamic-filters-jql-replacer-gadgets?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/1223958/dynamic-filters-jql-replacer-gadgets?tab=overview&hosting=cloud)

Cheers


Tags: developer

jira