youngmon/atlassian-qna huggingface dataset:
Analytics off market
Asked by tuxiaolin2367:

Analytics is off Confluence add-on market and is there any other add-on which can collect the DAU (Daily Active User) information?


Answers:
author: Aron Gombas _Midori_
body: You could integrate Google Analytics to your Confluence server using one of the [several apps that provide this integration](https://marketplace.atlassian.com/search?product=confluence&query=google%20analytics).

Our Better Content Archiving app also provides analytics features to track [page views](https://www.midori-global.com/products/better-content-archiving-for-confluence/data-center/documentation/page-view-tracking) and [page updates](https://www.midori-global.com/products/better-content-archiving-for-confluence/data-center/documentation/page-expiration-tracking) (expiration).


Tags: confluence-server

server
User macro - get email address
Asked by HH:

Hi I'm trying to get the email address of a user with a supplied username. I've been looking on here: <https://docs.atlassian.com/atlassian-confluence/6.6.0/>

But I haven't been able to find what I'm after.

I'm able to get the users name and profile pic, but I'm stuck on email, so if anyone could point me in the right direction that would be great!

```
#set($displayName = $action.getUserFullName($paramUsername))
#set($userPic = $userAccessor.getUserProfilePicture($userAccessor.getUserByName($paramUsername)).getUriReference())

What I'm trying to do but this class doesn't exist :D
#set($email = $action.getEmail($paramUsername))
```

Thanks!


Answers:
author: Dominic Lagger
body: Hi [@HH](/t5/user/viewprofilepage/user-id/65536)

You are on the right track with the [userAccessor](https://docs.atlassian.com/ConfluenceServer/javadoc/7.6.1/com/atlassian/confluence/user/UserAccessor.html):

```
$userAccessor.getUserByName('dominic.lagger').getFullName() <br>
$userAccessor.getUserByName('dominic.lagger').getEmail() <br>
```

[getUserByName](https://docs.atlassian.com/ConfluenceServer/javadoc/7.6.1/com/atlassian/confluence/user/UserAccessor.html#getUserByName-java.lang.String-) gives you an ConfluenceUser. There ou can call getEmail()

Regards, Dominic

comments: author: HH
body: That's great - thank you!


Tags: email

macro

user

user-macro
Software Project list doesn't update in confluence
Asked by Guy Walker:

When I create a new project in Jira, i usually want to go and create a confluence software space to go with it.

When i do Create space in confluence, and create software project space, the new project does not appear in the drop down.

I cannot seem to find any way to get confluence to resync its project list with Jira to pick up the new project. If i leave it a week, generally i think the project appears in the list and i can create the space...but i don't want to wait a week!

How can i force the update, does anyone know?


Answers:
author: Guy Walker
body: I answered this myself. In fact Confluence will pick up the JIRA project list of all projects that you have Issue Creation rights. So despite having admin privs to the project, including browsing rights, because I did not have issue creation rights the project was not listed in confluence. (i guess confluence checks if the issue create shortcut will work?)

If you are using crowd, you might need to sync the user directories in Jira and Confluence for both to pick up any changes to group permissions you make to give yourself issue creation rights.
How to I enter special characters in the new confluence editor
Asked by eric_podico:

Question : How to I enter special characters in the new confluence

sounds stupid, but I cannot do it anymore. I can enter emoj, etc ...

![000659_2020-07-22_102404_CODENAME_LAPTOP-8LAKP5AK_Edit - How to install a S?ntis - Service & Maintenance - Attolight's Wiki.png](https://community.atlassian.com/t5/image/serverpage/image-id/103919iD65625CC8E5B663B/image-size/large?v=v2&px=999 "000659_2020-07-22_102404_CODENAME_LAPTOP-8LAKP5AK_Edit - How to install a S?ntis - Service & Maintenance - Attolight's Wiki.png")


Answers:
author: repi
body: [@eric_podico](/t5/user/viewprofilepage/user-id/3187947)

Easiest with copy and past from a character set table.


Tags: server
The SDK does not allow me to create pages using HTML tags
Asked by Kies Tom:

![image.png](/t5/image/serverpage/image-id/103914iD3787EBD50837F8F/image-size/large?v=v2&px=999 "image.png")

This is the content of Debug.  
\~\~\~  
b'{"statusCode":400,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":\[\],"successful":false},"message":"Error parsing xhtml: Unexpected close tag \</span\>; expected \</img\>.\\\\n at \[row,col {unknown-source}\]: \[1,1031\]","reason":"Bad Request"}'  
\~\~\~

I want to ask how to convert the HTML language to the specification language required by the SDK at once.

Another problem is that the content I get using the SDK is HTML, but using create_page does not allow HTML tags.

The SDK does not have the ability to convert meaning.

Isn't that a conflict?


Answers:
author: Kies Tom
body: I think confluence SDK is responsible for converting the HTML to the format required by the SDK.
How to modify default Confluence search?
Asked by puneet_mishra:

Hello community members,

We are looking at ways to modify a default confluence search functionality to make it more restricted for confluence users. Right now, the search result is bringing search results from across the confluence application, which allows users to see the contents that they are not supposed to see. We wish to restrict this search result by making it more restrictive by applying some sort of filtering based on groups or spaces that a user is assigned. This way a user can only see the pages or space contents that they should see and access preventing unauthorized access. I think this is part of a core application and I am not sure how to override this behavior.

Note: By mentioning the confluence search, I mean the one that gets displayed when we simply click on the quick-search bar at the top of the confluence page. It mainly redirects a user to "dosearchsite.action" page with queryString as the parameter.


Answers:
author: Robby Holtmann_IntraFind Software AG_
body: Hello [@puneet_mishra](/t5/user/viewprofilepage/user-id/2229077)

Unfortunately I only saw your entry now. Perhaps you are interested in a real enterprise search solution for Confluence.

[iFinder Confluence Search](https://marketplace.atlassian.com/apps/1220508/ifinder-confluence-search?hosting=server&tab=overview) is available at Atlassian Marketplace and you can start directly with a trial.

Our [article](https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Enterprise-Search-for-Confluence/ba-p/1584172) in the Atlassian community will give you more information. If you like a demo first, please contact us at atlassian@intrafind.com

Best regards

Robby
Can't create new space
Asked by Yanisa (Yves) Pusurinkham:

I would like to connect confluence to my jira project

I click 'Connect to space' --\> Crate new confluence space  
and it show error 'Connection failed'  
(I changed difference browsers already chrome, safari and it's still show same error)

I'm not sure what should I do, need help.

thank you


Answers:
author: Shannon S
body: Hello Yanisa,

Welcome to Atlassian Community! It's nice to meet you.

There may be an issue with the Application Links of your Cloud site, if both the Jira site and the Confluence site are on the same server. We can have a look at that for you and refresh the links if necessary.

To do that, you can raise a ticket with [Atlassian Cloud Support](http://support.atlassian.com/contact), provided you are one of the site admins, trusted contact, or primary billing/technical contact. If not, please report the issue first to your site admin, and they can raise the case with us and provide access to your site.

Thank you, and take care!

Shannon


Tags: cloud
Confiform Import API - multi select field values
Asked by anuradha govindan:

How do i import multiple values in a single multiselect field. What is the delimiter to give for each value.


Answers:
author: Alex Medved _ConfiForms_
body: As with any choice-based fields you need to import IDs and for multi-select fields these IDs should be given as a comma separated list

For example:

"1,2,3"


Tags: cloud

confiforms

confluence-cloud
Search a substring in a page
Asked by Jaime Murillo:

I have a string in a page that looks like this:  
AVA2_Instructions.   
but when I type AVA2 in the search box, the page I am looking for is not displayed.   
for some reasons other pages that have just "AVA2" are shown in the results.   
but not the one I need.   
same goes for "Instructions" on the very same search.   

is there something I am doing wrong?


Answers:
author: Suhana Suha
body: Hello [@Jaime Murillo](/t5/user/viewprofilepage/user-id/3898870)

Confluence's search is built for finding pages, not content within a page. So even if you did this, the result would not be anything more than a link back to the page you were on.

You can use Macro "**Page Tree Search** ",Using the Page Tree Search macro, you can add a search box to your [Confluence](https://mindmajix.com/confluence-tutorial) page. (or)

Refer Confluence Search Syntax -<https://confluence.atlassian.com/display/CONF57/Confluence+Search+Syntax>

Thanks


Tags: cloud

search

sub-string
502 Bad Gateway
Asked by Ajith Kumar Ravindranathan:

I have been getting a 502 bad gateway when trying to access my confluence cloud account. Some times it does load but the space page on the left fails with an error.

Here is a message which also say's something went wrong

Something went wrong {#toc-hId--1327566994}
-------------------------------------------

Try refreshing the page. Refresh

If the problem persists, contact [Atlassian Support](https://support.atlassian.com/contact/#/) or your space admin with the following details so they can locate and troubleshoot the issue:

* This code: **b6n2rt**
* The URL of this page


Answers:
author: Daniel Eads
body: Hi Ajith, welcome to the Community!

Between 02:30 UTC to 02:45 UTC on Wednesday, July 22, Confluence Cloud experienced some issues with particular features. [This incident was listed on our Statuspage](https://confluence.status.atlassian.com/incidents/nc5dzmry4s6n), and has since been resolved.

Things should be back to normal now. If you continue to have any difficulty, please let me know!

Cheers,  
Daniel \| Atlassian Support

comments: author: Ajith Kumar Ravindranathan
body: Thank you [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694) . It looks good now.


Tags: cloud
Confluence keeps showing Error Message
Asked by christina:

Anyone else having this issue where the Page does not show up but keeps giving two error messages?

![Screen Shot 2020-07-22 at 11.40.35 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/103887i16CF418F0E07774F/image-dimensions/402x315?v=v2 "Screen Shot 2020-07-22 at 11.40.35 AM.png")


Answers:
author: Daniel Eads
body: Hi Christina!

Between 02:30 UTC to 02:45 UTC on Wednesday, July 22, Confluence Cloud experienced some issues with particular features. [This incident was listed on our Statuspage](https://confluence.status.atlassian.com/incidents/nc5dzmry4s6n), and has since been resolved.

Things should be back to normal now. If you continue to have any difficulty, please let me know!

Cheers,  
Daniel \| Atlassian Support


author: Sachin
body: Hello [@christina](/t5/user/viewprofilepage/user-id/3715031) , no I don't see this issue on my site :\|. But looks like you are not alone..  
[cannot open confluence wiki page](https://community.atlassian.com/t5/Confluence-questions/cannot-open-confluence-wiki-page/qaq-p/1438355)   
[502 Bad Gateway](https://community.atlassian.com/t5/Confluence-questions/502-Bad-Gateway/qaq-p/1438358)   
If you keep getting this even after refreshing your page or clearing your browser cache I would reach out to Atlassian [Support](https://support.atlassian.com/contact/#/).


Tags: cloud
cannot open confluence wiki page
Asked by lijiang:

when I access the wiki page, it shows below message, what should I do?

Something went wrong {#toc-hId--1327566997}
-------------------------------------------

Try refreshing the page. Refresh

If the problem persists, contact [Atlassian Support](https://support.atlassian.com/contact/#/) or your space admin with the following details so they can locate and troubleshoot the issue:

* This code: **984f13**
* The URL of this page


Answers:
author: Daniel Eads
body: Hi there, welcome to the Community!

Between 02:30 UTC to 02:45 UTC on Wednesday, July 22, Confluence Cloud experienced some issues with particular features. [This incident was listed on our Statuspage](https://confluence.status.atlassian.com/incidents/nc5dzmry4s6n), and has since been resolved.

Things should be back to normal now. If you continue to have any difficulty, please let me know!

Cheers,  
Daniel \| Atlassian Support

comments: author: Marcos Barcelos
body: .


author: Anis Zuko
body: Hi [@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694). Is the issue similar to [this](https://community.atlassian.com/t5/Jira-Service-Management/I-am-not-able-to-access-wiki-pages/qaq-p/1736011) one that I'm currently facing? Also, If I use another account related to another team I am able to access the wiki page using direct link but the list of pages that should be shown in the left sidebar is missing (infinite loader is shown) and there are errors logged in console.


Tags: cloud
change organization url
Asked by thomas:

my site name is Hirebook.atlassian.com but it should be Brainware.atlassian.com. How can I change the URL and match my organization?


Answers:
author: Daniel Eads
body: Hi Thomas, welcome to the Community!

Unfortunately site renames must be done by Atlassian Support, and require a case in our support portal. Since Cloud Free sites aren't eligible to open support cases, this also means that Cloud Free sites aren't eligible to undergo a rename.

There are a couple options available:

* Export the current site, create a new site at the correct URL, import your data, and delete the old site
* Select the Standard plan (even on a trial basis) from the Manage Subscriptions section in your site's administration - this will make you eligible to open the necessary support case at [support.atlassian.com/contact](https://support.atlassian.com/contact) for our support team to start the site rename process

Cheers,  
Daniel

comments: author: mateuszflisikowski
body: Hi, something changed ?


author: Daniel Eads
body: Hi [@mateuszflisikowski](/t5/user/viewprofilepage/user-id/693750) ,

Recently we've rolled out a self-service option for updating site URLs. The [instructions for doing this are provided in this linked article](https://support.atlassian.com/organization-administration/docs/update-a-product-url/) . However, your site must be on a Standard plan or higher in order to use the rename function. If you are currently on the Free plan, you can opt to do a 7-day trial of Standard at no cost and do the rename while the trial is active.


Tags: cloud
Searching ~1000 external files from Confluence
Asked by Brett Hall:

I'm looking for some suggestions how to index or locate a large number of .doc files within Confluence v7.4.0. We're rapidly adopting Confluence for new projects and new documents are created natively in Confluence, but these legacy documents are hard to find now and thus not able to be found even when they are needed.

These would be much more accessible if they were searchable from Confluence directly, where the new content is. These are \~1000 files, and around 150MB total .doc files.

One obvious way is to attach them to the space, but I worry about overwhelming it and this sounds highly manual. Do you have suggestions on plugins or techniques that could help us make this transition?


Answers:
author: Robby Holtmann_IntraFind Software AG_
body: Hello Brett,

this Enterprise Search Solution "[iFinder Confluence Search](https://marketplace.atlassian.com/apps/1220508/ifinder-confluence-search?hosting=server&tab=overview)" would help.

It is is not only a plugin. You need a separate server (vm) and you will get an high end search engine - based on linguistic analyzer (available for more then 30 languages) which bring the best effectiv results.

It is 100% embedded in Confluence (Server \& Datacenter) and you have the option to connect further sources like file shares, jira, etc. into that search.

Let me know, if you like to do a trial.

Best

Robby

comments: author: Brett Hall
body: Thanks for the reference, Robby, I will check it out. This looks like it could do much more than just what I need for this project..


Tags: confluence-server

file

search

server
Show/hide a paragraph of text based on Confiform field
Asked by Tamara Blake:

I am working on a Confiform where there is a dropdown selection for state (CA, AZ NC etc.) Depending which state is selected I need a block of text to show up with detailed instructions - 100+ words.

Any suggestions how to do this?


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Do you have separate instructions for each option (state)?

How do you plan to manage those instructions? Knowing this could help me to give a better advise on the data and form design...

Alex

comments: author: Tamara Blake
body: Yes - there are separate instructions for each option or group of options.

ie:

Option 1 - Instructions on how to proceed ...

Option 2: - A different type of instruction ...

Option 3, Option 4 - A completely different instruction ...

As far as managing them - as long as I can format them in a normal way it doesn't matter how they are contained on the page, Div, Span etc - not a pdf though

I understand using Rules and the IFTTT field just don't know the best way to do this.


author: Alex Medved _ConfiForms_
body: You can have them on the FormView, in some containers, identifiable by an ID for example. DIV macro is a good example of a container from Content Formatting plugin - [https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=datacenter\&tab=overview](https://marketplace.atlassian.com/apps/247/content-formatting-macros-for-confluence?hosting=datacenter&tab=overview) (can have other macros inside)

And then have the Field Definition Rules with Show/Hide Container rule(s) - showing/hiding these DIVs based on the conditions / selections made by the user (you just specify a CSS selector, basically #ID_OF_A_DIV you set)

For simple containers you can use our user macro (no need for any other 3rd partu plugin) - <https://wiki.vertuna.com/display/VERTUNA/Div+container> (due to the bugs in user macros rendering (by Confluence) it will not work for some HTML markup (we know that textarea is problematic, for example))


author: Tamara Blake
body: Thanks Alex - I'll try it out and let you know if I have any other questions. Thanks for the quick response too!


author: Tamara Blake
body: Thank you Alex! Using the DIV macro and the Hide/Show Container rule worked! Had to play with it a bit on a few of the settings but got it done. This will really make the maintenance of this form so much easier too.

You are the best!


Tags: confiforms

confluence-server

server
What determines how many Confluence licenses I need?
Asked by Beth Hume:

How do I calculate how many Confluence licenses to get (what can a licensee do that a Jira Software or Service Desk licensee can't?) Currently have 100 Software and 100 Service Desk (Cloud, annual plan), Need to go to 200 Software very soon, so would like to understand how many Confluence licenses to get at same time. Currently on a 30 trial of Confluence. Thanks!!! Beth


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: If a user can log in to Confluence, they require a license. If they are a Jira Service Desk Customer and they only consume Confluence knowledge content through the Service Desk portal, they do not need a license.

In a simple example, say you have 25 JSD Agents and 1000 Customers. Your Agents need to create KB content and the Customers never log in to Confluence. You would need 25 JSD Agent licenses, 25 Confluence licenses and the Customer license would be "free." This does assume that all 25 Agents are creating articles, though.

comments: author: Beth Hume
body: Thanks!!!


Tags: cloud
How to use Bob Swift CLI with removeContent?
Asked by ryder:

We already use the Bob Swift CLI.

Now I want to remove some content of plenty pages.

I suppose the removeContent is the right action for that, but documentation is minimalistic.

Is there some examples out there how to remove content from pages via CLI?

Thanks,

ciao

ryder


Answers:
author: Michael Kuhl _Appfire_
body: Hello [@ryder](/t5/user/viewprofilepage/user-id/1243697) - The way to remove content from many pages at once is to use the [runFromPageList](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/1059406735/runFromPageList) action with removeContent as the common action.

Here's an example where you would remove all of the pages that have a certain label:

```
--action runFromPageList --labels "my-label" --common "--action removeContent --id @pageId@"
```

BTW - I'm the product manager for the Bob Swift CLI apps.

comments: author: ryder
body: thanks for that example. But this is not what I need.

And sorry for my bad explenation.

This is what I need and I thought, removeContent is the right action. But it seems, it is not.

I have on a set of page a special heading. This heading is always the same. And I want to remove this heading on every page. So I know how to find my pages with runFromPageList, but I do not understand how to remove the heading from pages.

ciao

ryder


author: Michael Kuhl _Appfire_
body: No worries. In that case try [storePage](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/1068175279/storePage) with the findReplace or findReplaceRegex parameter to change or remove the heading.


author: ryder
body: [@Michael Kuhl _Appfire_](/t5/user/viewprofilepage/user-id/3467229)

Thanks for this hint. Pls. let know, there is no explizit action for delete or remove page content, right?

I had to use findReplace for finding the text content and when I want to remove this content. I had to replace it with nothing, right?


author: Michael Kuhl _Appfire_
body: Yes, that's the correct way to do it.


Tags: bob-swift

cli

cloud