youngmon/atlassian-qna huggingface dataset:
User Macro with no color lozenge or uses outline border instead
Asked by Jerri Knipstein:

I need a user macro with no color lozenge or uses white background with border. Can anyone assist? I really need to use a custom macro to list various Project Status but don't want to use the color lozenge. I found previous code on the internet that works, but has the color lozenge. Below is the code I found, but is there a way to use this macro without any color? Or can I have it with the outline style (subtle)?

I am also testing using Easy Dropdown menu, but would prefer a macro if possible.

## Developed by: Davin Studer  
## Date created: 03/19/2014  
## [@Param](/t5/user/viewprofilepage/user-id/1345631) Status:title=Status\|type=enum\|required=true\|enumValues=Inactive, Active, On Hold, Complete, Cancelled\|desc=Choose a status.

#if ( $paramStatus == "Active" )  
#set ( $color = "Green" )  
#elseif ( $paramStatus == "On Hold" )  
#set ( $color = "Yellow" )  
#elseif ( $paramStatus == "Cancelled" )  
#set ( $color = "Red" )  
#elseif ( $paramStatus == "Complete" )  
#set ( $color = "Blue" )  
#elseif ( $paramStatus == "Inactive" )  
#set ( $color = "Gray" )  
#else  
#set ( $color = "Gray" )  
#end

\<ac:macro ac:name="status"\>  
\<ac:parameter ac:name="colour"\>$color\</ac:parameter\>  
\<ac:parameter ac:name="title"\>$paramStatus\</ac:parameter\>

\</ac:macro\>


Answers:
author: Bill Bailey
body: The example you have uses the status macro. You just need to add the following parameter

```
<ac:parameter ac:name="subtle">true</ac:parameter>
```

For example:

```
<ac:structured-macro ac:name="status" ac:schema-version="1">
<ac:parameter ac:name="subtle">true</ac:parameter>
<ac:parameter ac:name="colour">Yellow</ac:parameter>
<ac:parameter ac:name="title">On Hold</ac:parameter>
</ac:structured-macro>
```

For another version of this type of wrapper macro (with more details), take a look at my article:

[Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro](https://community.atlassian.com/t5/Confluence-articles/Getting-Started-with-User-Macros-Writing-a-Wrapper-Macro/ba-p/979571)

comments: author: Jerri Knipstein
body: Bill Bailey - Thank you for the quick reply and the assistance. I also ready the link you provided which is also very informative. Thanks again!


author: Bill Bailey
body: You're welcome. Do me a favor and accept the answer?


Tags: confluence-server

server
I do not have a 'Calendars' option in the Confluence Header. Help?
Asked by Terina Mailer:

I tried to follow the instructions on creating a calendar located here: <https://confluence.atlassian.com/teamcal/create-add-and-edit-calendars-654213559.html>

After choosing 'Create from template', there is no 'Calendars' option. I have the following options:

* Blank Page
* Blog Post
* Content Formatting Templates
* DACI decision
* Decision
* Experience Canvas
* File List
* Health Monitor
* How-to article
* Jira Report
* Meeting Notes
* Product Requirements
* Project Poster
* Retrospective
* Share a link
* Task report
* Troubleshooting article
* Academic Systems Support
* Academic Systems Support Outage Plan
* ASS weekly development meeting template
* Gliffy Diagram
* PIR Database and Data Changes
* PIR - Developent and Test Environment
* PIR - Project Home Page
* PIR - Release Calendar

Where should I find the 'Calendars' option?


Answers:
author: Mikael Sandberg
body: Hi [@Terina Mailer](/t5/user/viewprofilepage/user-id/3047765)

Welcome to the Atlassian Community.

You will only see the Calendars option if you have installed the app [Team-calendars for Confluence.](https://marketplace.atlassian.com/apps/72307/team-calendars-for-confluence?hosting=server&tab=overview)


Tags: confluence-server

server
The Excel Macro used to provide an option to "Edit" the file from the Confluence page. Can you still
Asked by jeanann.mueller:

The Excel Macro used to provide an option to "Edit" the file from the Confluence page. Can you still do this? Our company just updated to a new version.


Answers:
author: Dominic Lagger
body: Hi [@jeanann.mueller](/t5/user/viewprofilepage/user-id/3048087)

To which version did your company change?

Since [version 6.11](https://confluence.atlassian.com/doc/confluence-6-11-release-notes-953678666.html#Confluence6.11ReleaseNotes-Abetterwaytoeditfiles), there is a new way to edit files with the companion app. The edit button got lost. Since version [6.14, the edit button](https://confluence.atlassian.com/doc/confluence-6-14-release-notes-963655609.html#Confluence6.14ReleaseNotes-Morewaystoeditfiles) went back.

Hope this helps

comments: author: jeanann.mueller
body: This is the only solution I could find for this. If you find another solution, please share. ?

<https://confluence.atlassian.com/doc/edit-files-170494553.html>

[Atlassian Companion app](https://confluence.atlassian.com/doc/edit-files-170494553.html#EditFiles-AtlassianCompanionapp)
Changed Confluence Server url - Can't connect to localhost
Asked by ALOM IT Support:

Hello,

We upgraded our Jira core to 8.1 and decided to install confluence. It successfully installed but when I changed the server url to kb.mycompany.int I cannot login to localhost anymore.

I feel like its quick fix. Do I need to alter my server.xml config file too? Any help is appreciated.

Thanks!


Answers:
author: Diego
body: Hello there!

You should be able to still use http://localhost:8090 (or other port being used by Connie) even after changing the Base URL.

I changed my local instance to the one you sent us:

```
http://kb.mycompany.int
```

After that, I am still able to access Confluence from within the server itself using http://localhost:8090.

For you to access Confluence via localhost you need to access it through the server that is hosting Confluence itself.

Further, could you clarify some points for us:
> 1. Are you able to access Confluence via the new URL?
> 2. Are you trying to access Confluence via localhost from within the server itself?
> 3. Did you follow our docs here at**[Configuring the server Base URL](https://confluence.atlassian.com/doc/configuring-the-server-base-url-148592.html)**?
> 4. Do you have a proxy in your environment?
> 5. If you switch back to the previous Base URL, what happens?
> 6. Is there any error thrown when you try to access Confluence via localhost?

When you say that "I cannot login to localhost anymore.", do you mean that you can reach the login page but there are errors or does it mean that you can not even reach this page?

Looking forward to your reply!

comments: author: ALOM IT Support
body: Thanks! got it up and running.


author: Diego
body: Great to hear that! If you ever need something again, come to the Community!
I installed the product, now i can get it started
Asked by Sanjay Patel:

I installed the product, and setup the demo site. After a server reboot i can not get the product to start.

Winodes 2016

Postgress SQL


Answers:
author: Kurt Klinner
body: [@Sanjay Patel](/t5/user/viewprofilepage/user-id/2319414)

Did you have already checked the log files for any kind of errors?

How do you start the confluence instance (as which user does confluence run, are the permissions right)?

Cheers

Kurt
Confluence Cloud for Slack (Official) integration
Asked by Ivan Sharkov:

Hello!

I installed [@Confluence](/t5/user/viewprofilepage/user-id/338789) bot for Slack and can't link to my account - it always 404 page not found.

What do I wrong?


Answers:
author: Diego
body: Hello there!

Ivan, this is a strange behaviour indeed. Is it affecting other users from your Slack server as well?

You can take a look on how to enable this feature within Slack here:

**[Confluence Cloud for Slack](https://confluence.atlassian.com/confcloud/confluence-cloud-for-slack-956709523.html)**

So, a few thing to make sure that are in place:
> 1. Your workspace is added to Confluence
> 2. The Slack Notifications add-on is enabled
> 3. The page is not restricted ( [Add or Remove Page Restrictions )](https://confluence.atlassian.com/confcloud/add-or-remove-page-restrictions-724764891.html)

Also, you can take a look on the Slack add-on itself:

**[Confluence Cloud - Slack](http://slack.com/apps/AC23SDS77-confluence-cloud)**

Let us hear from you Ivan!

comments: author: Ivan Sharkov
body: Hi!

I don't have this options on the page:

1. Click ... \> **Slack Notifications**.


author: Ivan Sharkov
body: I can't link my account from @confluece bot for Slack. The bot gives me wrong URL (Page not found)


Tags: cloud

confluence-cloud
How can I see Confluence KB articles in Jira Service Desk?
Asked by James_Styles:

Hi All,

I am very new to Atlassian. I recently started a free trial of Confluence and Jira Service Desk. I would like my user base to be able to see KB articles when they start typing in their details about the support they would like to receive from Jira Service Desk. I have already created a KB article, but can't see it from Jira Service Desk. Can someone provide some insight into how to accomplish this?


Answers:
author: Diego
body: Hello there James! Welcome to Community then. Always nice to have new users around.

So, for you to use Connie as a Knowledge Base you can start by taking a look here:

**[Use Confluence as a Knowledge Base \| Confluence Cloud](https://confluence.atlassian.com/confcloud/use-confluence-as-a-knowledge-base-724765471.html#UseConfluenceasaKnowledgeBase-Createaknowledgebasespace)**

So, could you clarify what exactly happens when you try to use your Confluence as a Knowledge Base? Is there any kind of error thrown?

Let us hear from you!


Tags: cloud

confluence-cloud

jira-cloud

jira-service-desk
Unable to upload any files on a space
Asked by Gauresh Chavan:

I have been trying to upload word documents on to my confluence space. However I am getting a system error:

**org.hibernate.AssertionFailure: null id in com.atlassian.confluence.impl.journal.JournalEntry entry (don't flush the Session afterQuery an exception occurs)**   
**at org.hibernate.event.internal.DefaultFlushEntityEventListener.checkId(DefaultFlushEntityEventListener.java:60)**


Answers:
author: Shannon S
body: Hello Gauresh,

Welcome to Community! Thank you for reaching out.

Can you confirm the following?

1. Your Confluence Server version
2. If this occurs with all Word documents across all Spaces
3. If multiple users can replicate the issue
4. What the error looks like in the UI - feel free to attach a screenshot
5. The full stack trace from your [Confluence server logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html). The part you've included appears to be only one piece of a full error message, but we'll need to see more. For example, the part that starts with **ERROR** and ends with the line **Caused by** will help us to understand more.

Thank you for your help!

Regards,

Shannon

comments: author: Gauresh Chavan
body: Hi Shannon,

To give you an update, I installed a new Confluence version 6.15.2. But I'll appreciate a solution on the error.

1) Confluence Server I was using was 6.14.1  
2) Yes, the error was occurring across spaces with every user trying to upload  
3) Yes, multiple users could face the same issue. They tried uploading .png, .pdf, .xlsx files as well  
4) Sharing the screenshot   
![confluence error.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/52324i4329E836409F63ED/image-size/large?v=v2&px=999 "confluence error.jpg")


author: Shannon S
body: Gauresh,

Thank you for that. Generally this occurs when splitting a Word document into child pages, but it's very odd if it also occurs when adding image attachments to a page.

Thank you for your screenshot, but I'd also really like to see the entire stack trace. Could you copy/paste the entire stack trace, but do it from the [Confluence server logs](https://confluence.atlassian.com/doc/working-with-confluence-logs-108364721.html?_ga=2.140152243.1645456266.1556008674-1483961444.1556008674)? The UI tends to cut off part of the error.

You can use [Pastebin](https://pastebin.com/) or something similar if you're not able to paste them into this thread.

Regards,

Shannon


Tags: confluence-server

server
Query works in the query editor but not in Pocket Query
Asked by Joao Flavio Mendonca:

I am running a query with single quotes in the select and it is not working in Pocket Query.

This is the query:

SELECT  
LEFT(c.title,(position('.' IN c.title)))\|\|'pdf' as "document",  
ct.creationdate "labeldate",  
c.pageid "page"  
FROM content c

I receive a error in confluence referring to syntax error next the word "IN", however if I run the same query in the database , it works perfectly.

Is there any interpretation error in Pocket Query?

Thanks

Joao Flavio


Answers:
author: Diego
body: Hello there!

Jo?o, I can see that this query is not attributing the name **ct** to any table. This might be te problem that you are facing when you try to run the query.

I tried out this query and the only issue I had running it was with the ct.creationdate part.Since there is no table being "nicknamed" ct, the query was not running. When I changed it the query returned values as expected.

I am running PostgreSQL on my local instance.

So my advice would be to change ct.creationdate to c.creationdate and check again if the query runs! Also, which database are you currently running?

Looking forward to your reply!

comments: author: Joao Flavio Mendonca
body: Hello Diego,

Thanks a lot for your answer.

The problem was not in the query itself but the in the database and driver used by Confluence to connect to the database.

After we upgrade the database and correctly setup the driver everything worked again.

Thanks again for your help

Best Regards

Joao Flavio


author: Diego
body: Hey, great to hear that Jo?o!

If you ever need something, come share with the Community.


Tags: confluence-server

pocketquery

scandio

server
confluence cloud iframe embedded graphs not updating
Asked by Jim Barnebee:

I have some graphs from grafana that I added to a confluence page using iframe. They show up fine, and say they are updating with the refresh tag per the documentation, but none of the refreshes ever show up on the confluence page. This is not a restriction I can find in the cloud vs. server or other problem with confluence as a product.

Is there a way to make the updates from the actual graphs appear on the confluence page (the graphs are being updated on their server)?

If the iframe does not show the data from the page it is referencing, but only a snapshot of that page, what does the refresh attribute do?


Answers:
author: Diego
body: Hello there!

So, as I understand a graph within an iFrame in Connie does not update as expected. Is that correct?

You could try to remove and then re-insert the iFrame in Connie and check if the graph is still out of date.

Also, could you clarify some points for us? Here they are:
> 1. Is this "refresh" button coming from the site that is inserted via iFrame?
> 2. Has this graph worked at some point in the past?
> 3. What happens if you insert the same iFrame into another Confluence page?
> 4. What happens if you clear the browser cache?
> 5. Is there some kind of setting in the origin site that deals with update interval for external links?
> 6. Could you link the documentation about the refresh tag?

Looking forward to your reply Jim!


Tags: cloud

confluence-cloud
Linking/Chaining Documentation
Asked by Ken Carter:

Is it possible to link two documents so that when I update one, a record is created on another effectively updating both documents?


Answers:
author: Sireesha Dugginapeddi [Appfire]
body: Hi [@Ken Carter](/t5/user/viewprofilepage/user-id/2474677)

You can use a [Include Page](https://confluence.atlassian.com/doc/include-page-macro-139514.html) macro. :)

Thanks

Sireesha

comments: author: Ken Carter
body: Adding a Macro is good information for standard documentation and thank you. I should have been more clear in my question.

The documents I am trying to link would be a service desk document (or ticket) to another document I have stored in Confluence. I am not seeing the ability to add a macro from one project to another. Is this functionality available between these two?
MultiExcerpt Include Macros Do Not Get Included In Pages
Asked by Robert Delwood:

Sometimes several of my MultiExcerpt Include macros do not render in the pages, PDF, or HTML output. The error message is "MultiExcerpt named 'XXX' was not found. The page: YYY was found, but the multiExcerpt named 'XXX' was not."

The page and the MultiExcerpt are there. Forcing an update works temporarily to render it, but it occurs later.

Any idea what is causing this and how to fix it?


Answers:
author: Diego
body: Hello there!

It seems that this is a known error with Artemis MultiExcerpt macro. I was able to find this report on their system:

**[MEPOD-5](https://artemis.atlassian.net/browse/MEPOD-5)**

[**MEPOD-6**](https://artemis.atlassian.net/browse/MEPOD-6)

Also, check if your MultiExcerpts are not **inside other macros**. This is a behaviour present in Server, but could be present in Cloud as well:

**[CMEP-66](https://artemis.atlassian.net/browse/CMEP-66)**

There does not seem to be a workaround to this for the time being.

Looking forward to your reply!

comments: author: Robert Delwood
body: Thanks for confirming this. You'd think having a macro that doesn't work would make it more of a priority than "MInor."

They are sometimes in another macro such as Table Of Content Zone. At any rate, this problem shows inconsistently.

Do you know of any replacements?


author: Diego
body: Hey there Robert!

Maybe try posting your thread on their issue is a good idea.

Regarding options to this macro. We do have some plugins that may do what you need. You can check them here:

**[Include Content by Keysight Technologies](https://marketplace.atlassian.com/apps/1217141/include-content?hosting=server&tab=overview&_ga=2.16541302.1140731583.1555332941-79410561.1553795485)**

**[projectdoc Toolbox for Confluence by smartics](https://marketplace.atlassian.com/apps/1212629/projectdoc-toolbox-for-confluence?hosting=server&tab=overview)**

[**Linchpin Personalized Content by //SEIBERT/MEDIA**](https://marketplace.atlassian.com/apps/1218310/linchpin-personalized-content?hosting=datacenter&tab=overview)

Let us know if this helps you out!


Tags: cloud

confluence-cloud
Indent Doesn't Work With Ordered List
Asked by Matt N.:

Hi,  

I have a page that I created in Confluence.   

I am adding a ordered list to the document. I want to indent the ordered list, but Confluence won't let me.

When the text is not an ordered list, then Confluence lets me indent the text. However, when the text is an ordered list, then the indent button doesn't do anything.  

I know that I should be able to indent the list, because lists in other parts of the same document are indented.   

**How do I get Confluence to let me indent the list?**

I am accessing Confluence through a web interface. The version is 6.15.1.  

Thanks.


Answers:
author: Phil Hadley
body: Related issue: <https://community.atlassian.com/t5/Confluence-questions/Why-can-I-not-indent-Bullet-Numbered-lists/qaq-p/841210>


author: Phil Hadley
body: I have the same issue. It happens with both ordered and unordered lists, and it stopped working with our last Confluence upgrade to version 6.14.3


Tags: cloud

confluence-cloud

indent

list
How to modify LDAP/Active Directory settings
Asked by Kenny Stern:

We have Active Directory added as a user directory. If I wanted to Edit the settings how would I do that? I see where I can add Active Directory again and access settings when I add one but not how to modify existing settings.


Answers:
author: Alexey Matveev
body: Hello,

Go to User Management -\> User directories. You will see the list of user directories. In order to be able to modify an Active Directory you need to connect under a user in another directory. Usually it is done by a user in the Jira Internal Directory. Jira will not let you edit an AD user directory, if you are logged in by a user from this directory.

comments: author: Serge Stalnoff
body: Thanks!
Confluence Security Advisory - 2019-03-20 question
Asked by Jon Blackwell:

First, I am new here.

Second, if the temporary workaround of disabling plugins suggested isn't going to work for us because we need our users to be able to edit pages, what other choice do we have?

Is upgrading our one and only option?


Answers:
author: Tarun Sapra
body: Hello [@Jon Blackwell](/t5/user/viewprofilepage/user-id/3040790)

If you can't disable the plugins then yes, upgrading is the only option available.

But you said

*isn't going to work for us because we need our users to be able to edit pages, what other choice do we have?*

Even after disabling the plugins, the users can keep using confluence and keep editing pages. Only issue is that they can't import doc files into confluence page as office connector is impacted.

comments: author: Tarun Sapra
body: The advisory says

*If you disable the WebDAV plugin, you will not be able to connect to Confluence using a WebDAV client. Disabling this plugin will also automatically disable the Office Connector plugin, which means Office Connector features such as Import from Word, and Edit in Office will not be available. Note that because WebDAV is not required to edit files from Confluence 6.11 and later*

Hence normal page edit will work as usual only live edit of office files from within confluence will not work.


author: Jon Blackwell
body: I probably should have mentioned we are on version 5.7.3.


author: Tarun Sapra
body: Hello [@Jon Blackwell](/t5/user/viewprofilepage/user-id/3040790)

Yes, what I see in the advisory is you need to upgrade soon, but disabling the plugin is immediate mitigation of the problem and by disabling the plugin the edit page feature of the confluence should keep on working as I don't see it anywhere in the advisory that that disabling the plugin will stop the edit feature of confluence for your version of confluence.


Tags: atl-confsec

confluence-server

server
tables exported to pdf all have same column width. What can be done?
Asked by Zachary BeHage:

PDF out put has all columns same width. I tried changing the column n to fixed width and it didn't help.


Answers:
author: Vero Rivas
body: Hi [@Zachary BeHage](/t5/user/viewprofilepage/user-id/3000635)

Look at this

<https://jira.atlassian.com/browse/CONFSERVER-25233>

Cheers


Tags: confluence-server

server
Long ttfb accessing Confluence pages after some idle-hours
Asked by David Thielheim:

In the morning or after a few hours it take seconds over seconds until the server sends the requested content, doesn't matter which space or page. After this first time access the content delivary is fast and realy fine (below 1 second).

Found these unsolved thread on this, but unfortunately no answer to my question:

<https://community.atlassian.com/t5/Confluence-questions/Slow-quot-index-action-quot/qaq-p/776995#U1059301>

We use Confluence 6.10.1 on a virtualized Windows Server box here with a MS SQL Database (sorry, company policy). 4 Cores with 8 GB RAM and sufficient disk subsystem is in place - should be enough for approx. 50 users and only 5 editors.

Followed design guides / hardware requirements, checkt the caching statistics... no hints. BUT, currently i'm the unly user on the system!

It seems the system is sending some processes or services to sleep when it isn't used. How to find them?


Answers:
author: David Thielheim
body: No one an idea?

comments: author: David Thielheim
body: Hm it's really sad an frustrating, that seemingly i'm the only guy in the entire conflunce world is experiancing this issue and that Atlassian is not willing to help people like me, who are starting with a small instance and willing to grow if the solution fulfil the needs.

Currently it does'nt, when i have to tell the people publishing our new confluence based wiki that sometimes they have to wait for what any reason until they'll get answer from the confluence server. Sad, sad, sad...