youngmon/atlassian-qna huggingface dataset:
Content By Label Macro - control what to show if nothing is found?
Asked by Rene Schade:

If you use the "Content By Label" macro and no matching pages are found, the following is shown:

<br />

![content_by_label.png](/t5/image/serverpage/image-id/41538iFC00E813F8DDA7C2/image-dimensions/310x105?v=v2 "content_by_label.png")

I would like this to be \*empty\* =\> nothing is shown if nothing is found.  

Is there a trick to do this?  

thanks!


Answers:
author: Victor Mutambuki
body: Rene,

Unfortunately no. The notice is useful to alert the user that their/the intended label isn't/wasn't used.

Victor


author: Rene Schade
body: I implemented a small workaround, that made the problem acceptable from my side. I simply decided to remove the box using CSS (for that specific space):  

`.macro-blank-experience {`` `  
` display``:` `none``;`  
`}`  

It only removes the box and e.g. "List title"

That trick may come in handy for other as well :)

comments: author: Mike Creed
body: Where did you put this in the code?


Tags: confluence-server

macro

server
How to get a Watch, Like, Label user list details for particular page in confluence
Asked by karthick tgi:

Hi Team,

I need a Rest API service for getting a watch, like, label user list details for the particular page in confluence.

Please let me know if it is possible or not.

If possible then how can we achieve.

Is there anything please share with me your ideas or API.

Thanks and regards

Karthick


Answers:
author: Yoga Reddy {Appfire}
body: Hi [@karthick tgi](/t5/user/viewprofilepage/user-id/1221751)

If you are looking to get watchers list details for a specific page, We can achieve this by using Third-party plugin available i.e [Confluence Command Line Interface (CLI)](https://marketplace.atlassian.com/apps/284/confluence-command-line-interface-cli?hosting=cloud&tab=overview). I have tested this functionality in my local instance and I got the watchers list as shown in the attached screenshot. Please verify the screenshot.

Following the is the action to get the watchers list. You can verify the [example](https://bobswift.atlassian.net/wiki/spaces/CSOAP/pages/10584066/Examples)313 for this issue.

![watchers-list.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/41664i66F2FE13AEDC2A5E/image-size/large?v=v2&px=999 "watchers-list.PNG")


author: roman
body: Hi [@karthick tgi](/t5/user/viewprofilepage/user-id/1221751),

for Confluence Cloud you could use GET /wiki/rest/api/content/{id}/notification/child-created. According to the method description it returns the watches for a page.

Method article in developer docs: <https://developer.atlassian.com/cloud/confluence/rest/#api-content-id-notification-child-created-get>

Hope this helps.

Roman.

comments: author: karthick tgi
body: [@roman](/t5/user/viewprofilepage/user-id/853566) thanks for your update., It's working fine.


author: roman
body: Great! ??

I would be glad if you accept my answer.

Roman.


Tags: cloud

confluence-cloud
how to login with different user in h2 embeded
Asked by kumarnitu:

**how to login with different user in h2 embeded other than SA**


Answers:
author: Nic Brough -Adaptavist-
body: In theory, add another user to the database, and give it the correct rights.

In reality, stop wasting your time thinking about it - you don't need or want to do it. You don't have any data in there you care about, and there's no point in using a different user, as there is zero benefit to doing it.
Open a confluence page from project customer portal
Asked by Anna Protopapa:

We can search from confluence pages from Help Center but when we search from a specific service desk project customer portal we do not have any results. Is this correct behavior? We prefer to search within each project customer portal. Is this possible?


Answers:
author: Victor Mutambuki
body: Anna,

Unfortunately no.   
<https://confluence.atlassian.com/doc/use-confluence-as-a-knowledge-base-218275154.html>

Victor


Tags: customer-portal

jira-service-desk
How can I pull Sharepoint Calendar information into a Confluence Calendar?
Asked by James Rudd:

Hi - my team calendar is Confluence based and I currently have to duel key certain events from another team's Sharepoint based calendar in to my Confluence calendar. Is there a way to set up my Confluence calendar to subscribe to their Sharepoint calendar so that I don't have to dual key?

Thanks


Answers:
author: Shannon S
body: James,

I'm not terribly familiar with Sharepoint, but we do have a few sync options in Team Calendars, if you haven't seen?

* [Subscribe to and from Team Calendars](https://confluence.atlassian.com/teamcal/subscribe-to-and-from-team-calendars-273285883.html)

Hopefully that can give you a workaround to avoid having to enter events twice.

Regards,

Shannon
Export a word document from Confluence, then import Confluence and find that the image cannot be dis
Asked by zhangwei:

```
Export a word document from Confluence, then import Confluence and find that the image cannot be displayed
```


Answers:
author: Shannon S
body: Zhangwei,

Could you let me know how we can help you? Where are you seeing this error, and what are you trying to accomplish?

Regards,

Shannon
Confluence Share a link functionality doesn't let me add some members under the Share with field
Asked by Leonie Meyer:

I am not able to share information with everyone of my team. It is working for some team members, but not for all. Usually when you type the first 3 characters the name would show in the drop-down list and you can select. Even typing the whole email address is not working at all.

Any idea why? Please help.

Sample here:  
![shareThis.JPG](/t5/image/serverpage/image-id/41479i1446F9BCFF1B3049/image-size/large?v=v2&px=999 "shareThis.JPG")


Answers:
author: Diego
body: Hello there Leonie!

We could start by checking if the affected users have **enough permissions and no restrictions** applied to the desired content:

**[Permissions and Restrictions](https://confluence.atlassian.com/confcloud/permissions-and-restrictions-724765432.html#PermissionsandRestrictions-page)**

With this in mind, we can try to create a **test space** where everyone can access and then, create a **test page** without restrictions. After this, try to share with the affected users.

comments: author: Leonie Meyer
body: Thanks Diego for your reply.

I will contact our technical support and find out about the permissions and restrictions of those users.

I hope to get some further answers.


author: Diego
body: Hello again Leonie!  
You could also reach to your Confluence Support so they can keep the thread going here or even raise a ticket with Atlassian Support if need be!  
Let us know your findings.


author: Leonie Meyer
body: HI Diego,

I have addressed it now with the Technical Support of our company. They are a bit busy so it might take a while for them to address the issue. I have referred to this link and as soon as I have updates I will continue commenting here. :-)

Thanks for all your support!


author: Diego
body: Thank you for updating the thread with news!

Looking forward to know more about your findings with support.


Tags: cloud

confluence-cloud
Cannot login
Asked by Adam Ashraf:

I have tried using this method to reset the recovery_admin but it still won't let me login:

<https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>

![Capture.PNG](/t5/image/serverpage/image-id/41477iF6C02453501ED13D/image-size/large?v=v2&px=999 "Capture.PNG")


Answers:
author: Adam Ashraf
body: Thank you, that fixed it!


author: Adam Ashraf
body: Step 1) Stop confluence service

Step 2) Edit the set-env.sh file

Step 3) Sudo su confluence

Step 4) ./start-confluence.sh

The KB doesn't really go into detail on where **exactly** to enter the recovery password line. Does this look correct to you?![confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/41551i318C8DBA899C5CC0/image-size/large?v=v2&px=999 "confluence.png")

comments: author: Nic Brough -Adaptavist-
body: That looks completely correct to me.

The other question I completely forgot though - what version of Confluence are you on?


author: Adam Ashraf
body: * Powered by [Atlassian Confluence](http://www.atlassian.com/software/confluence) 6.5.0


author: Adam Ashraf
body: I can't log in with any accounts, LDAP or local


author: Nic Brough -Adaptavist-
body: Ah, I thought it might be. Confluence 6.5 and below have to use the database method of changing the password, they don't have a recovery function.

Have a look through <https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html> (and remember to remove the -D line if you upgrade to 6.6+!)


author: Nic Brough -Adaptavist-
body: This will only work if you have done everything it says in the documentation. If you miss any step, or alter them away from the docs, it will fail.

Which step did you skip?


Tags: confluence-server

server
How to edit blog posts
Asked by Rory Apperson:

We recently migrated from Confluence server to cloud. I have thousands of blog posts where I would keep a daily record of my work. I typically create an entry at the beginning of the day and update the entry throughout the day as I work. Since the migration, I cannot edit new blog posts once they're initially created. I can edit the old ones that were created on the server version. Also, the new blog posts look totally different: centered, etc.  

Can someone please offer some insight?


Answers:
author: Diego
body: Hello there!  
The described behaviour sounds like a Space Permissions issue. With this in mind, we could start by checking the space permissions that are currently set:  

> 1. Go to the Space where you usually post the Blog Posts
> 2. Click **Space Settings** in the left hand side menu bar
> 3. Select the **Permissions tab**
> 4. Check if your user or group which you are part of has **Permissions to Add and Delete**blog posts

Confluence Cloud and Server have different approaches to application design and content editing. You may want to take a look here:

**[Confluence Editing Improvements](https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html)**

I still have some questions that came up while reading your question:
> 1. Are the **already existing** imported blogposts also shown with the centered layout?
> 2. Are all **affected blogposts** posted into the same Confluence Space?
> 3. Are **other users** also facing this issue?

Let us know if this helps you out!


Tags: cloud

confluence-cloud
Link from blog post to page not in recently viewed list, and edit link text -- in confluence cloud
Asked by Rory Apperson:

I am a long-time Confluence user but we just recently migrated from "server" to "cloud". I'm finding many frustrating differences and shortcomings.  

I have always used blog posts to keep a daily record of my work. I make heavy use of links to reference pages elsewhere in our wiki. In the cloud version, I'm finding two frustrating things:

First, I can't link to files or pages or anything that's not in my "recently viewed" list. Here is what it looks like:  

![2019-01-02_15-08-37.png](/t5/image/serverpage/image-id/41462i9505EAEF45E652A9/image-size/large?v=v2&px=999 "2019-01-02_15-08-37.png")  
Next, if I DO insert something from my recently viewed, I can't modify the displayed text. Here is what the procedure looks like from a regular (non-blog) page:  

![2019-01-02_15-08-58.png](/t5/image/serverpage/image-id/41464iDF8390FDDEBC3B1F/image-size/large?v=v2&px=999 "2019-01-02_15-08-58.png")  

I have thousands of blog entries dating back to 2007. I'd love to figure this one out.


Answers:
author: Diego
body: Hello there Rory!  
This new behaviour you are facing is part of the new editor. The links now work like this:
> **Links**: The link modal has been replaced with an in-line link field. Select the text you want to link, click the icon from the toolbar, and paste in the URL you want to link to.

You can take a further look into this here:

**[Confluence Editing Improvements](https://confluence.atlassian.com/confcloud/confluence-editing-improvements-945107733.html)**

There are some differences between Confluence Cloud and Server, you may want to take a look here:

**[Atlassian Cloud vs. Server: Features and use cases](https://confluence.atlassian.com/cloudkb/pros-and-cons-of-cloud-vs-server-691011844.html)**

comments: author: Rory Apperson
body: Thanks for the reply Diego. So how do you link to pages that aren't in your "recently viewed" list?


author: Rory Apperson
body: Thanks, I've read those but I still don't have an answer. How do I link to pages that aren't in my "recently viewed" list? How do I search for other pages in our Confluence site while creating a link?


Tags: cloud

confluence-cloud
How can I get admin rights for groups with only inactive admins
Asked by Ina Hundahl:

We have a wiki group in our company where we cannot provide new user licences due to the only group admins for this specific group no longer work with the company.

is there any way to solve this issue?


Answers:
author: Bastian Stehmann
body: Hi [@Ina Hundahl](/t5/user/viewprofilepage/user-id/2500776),

There are no group admins in Confluence, an Jira Administrater can add or remove users to any group that exists.

If you are using an external user database, this might be different.

comments: author: Ina Hundahl
body: Put what if the Jira Administrator is no longer present (inactive) ?   
is there then any way to get a new user granted admin rights?


author: Johan Soetens _Dumblefy_
body: An alternative is to use recovery mode but it implies downtime.

[Confluence - Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html)

If downtime is unacceptable, you'll have to fiddle a bit in your database but it's well documented.

[Retrieving the Jira Administrator](https://confluence.atlassian.com/jira/retrieving-the-jira-administrator-192836.html)


author: Bastian Stehmann
body: Hi [@Ina Hundahl](/t5/user/viewprofilepage/user-id/2500776),

[@Johan Soetens _Dumblefy_](/t5/user/viewprofilepage/user-id/1023314) is completely right, thanks for jumping in.
Migrate content from Zendesk to Confluence (Server)
Asked by Stephen Kairys:

Hello.

Does anyone have experience in migrating extensive content from Zendesk (ZD) to Confluence?

I tried a simple copy-and-paste, which superficially looks OK, but in reality has various issues, which I'd have to fix on a case-by-case basis.

1. Images are copied over as links to the original ZD article.
2. Anchor links within a document point back to ZD.
3. Same for hyperlinks to another document. (With or without a suffix representing an anchor link.
4. I copied a table with 3 rows, 1 columns. The 1st and last rows have an orange background in ZD but that coloring is lost in Confluence.
5. I suspect there are other issues I've yet to discover.

At this point, we're still evaluating whether to perform this migration.

Any thoughts on making this process more efficient would be appreciated.


Answers:
author: Stephen Kairys
body: HI.

We abandoned this project. Can the ticket be closed without my accepting an answer? Maybe delete the ticket? Thanks.


author: Stephen Kairys
body: Thanks Diego. The UWC sounds interesting; however, it does not currently support Zendesk. And it looks like it's far from seamlesds; so, manual intervention would be needed.

We'll be evaluating our options over the coming week or so; accordingly, please keep this ticket open.

Thanks.

comments: author: Stephen Kairys
body: HI. Can someone at Atlasian please delete this answer. .I wanted to enter a comment not an answer.


author: Stephen Kairys
body: Actually, cancel that request. I tried entering the above as a reply to Diego's answer, but it won't accept it.


author: Diego
body: Hello again Stephen!

As you have noted, UWC is **not a one click solution**. It does require tweaks so it can further assist migrations.

We can surely leave the thread going Stephen! Let us know about your findings.


author: Diego
body: Hello there Stephen!  
You may want to take a look into the Universal Wiki Converter:

**[Universal Wiki Converter](https://migrations.atlassian.net/wiki/spaces/UWC/overview?mode=global)**

There is currently no supported methods of importing foreign and unknown content into Confluence. The **UWC (Universal Wiki Converter)** is just a tool used to get the migration started,**not a catch all solution** for any content and platform migration into Confluence.

comments: author: Douglas Fidelis
body: Hello [@Stephen Kairys](/t5/user/viewprofilepage/user-id/544726) how did that go? did you manage to migrate pages from zendesk to confluence?


Tags: confluence-server

server
I want to use the JIRA issue/filter macro on a daily meeting page template, so I need...
Asked by Eric Sebian:

the list of issues collected to remain static for each day. Is this possible?


Answers:
author: Ryan Fish
body: [@Eric Sebian](/t5/user/viewprofilepage/user-id/698764)

The filter is a view of the issues returned by the JQL,

* build a query such as "project = *projectname* and status in (*status names here, and here*) and sprint in openSprints()" or some such.
* subscribe to filter (issues/ manage filters/ subscribe)

Hope this helps

Ryan

comments: author: Eric Sebian
body: Hi Ryan. I think that maybe I'm not explaining myself well enough. I'm familiar with creating the jql. I guess what I'm trying to determine is if there is a way to keep that info static for that period without specifying a specific date. for example I have the following jql in a template that will be generated for daily meetings:

project = JCD AND duedate = startOfday() AND duedate = endOfday() ORDER BY cf\[19500\] ASC

So today's meeting list of tickets (1/2/19) will be different from tomorrow's (1/3/19). But, because of the jql, if I look at the notes for (1/2/19) they have the list for (1/3/19). How do I freeze the data captured each day so that when I look at meeting notes from 2 weeks ago they're not reporting that day's list?

thanks.


author: Ryan Fish
body: [@Eric Sebian](/t5/user/viewprofilepage/user-id/698764)

The resulting subscription email contains a "snapshot in time" list of issues.

For example, a filter pulls all un-estimated sub-tasks for 7 teams, the subscription sends out an email at 3am EST.

* The email displays all un-estimated sub-tasks *as of 3am*.
* The drill through included in the email, unfortunately, displays *current* filter results.

Another option could be to use [startofDay()](https://confluence.atlassian.com/jiracoreserver071/advanced-searching-functions-reference-802172575.html#Advancedsearching-functionsreference-startOfDaystartOfDay()). That may be more appropriate :)


author: Eric Sebian
body: so I couldn't reference the actual meeting notes page in Confluence for an accurate list of JIRAs for that day, right?


author: Ryan Fish
body: Not that I know of, it would just hit the filter if linked from confluence. The result would be current issues returned from filter instead of the snapshot you are looking for.

Possibly could run a macro or manually pull from option #1 email.


Tags: confluence-server

server
Proper path to upgrade Confluence 5.4 to latest version and migrate to new server
Asked by AHRQ:

I'd like to accomplish couple things with the Confluence server including upgrade Confluence server from v5.4 to latest version 6.x; migrate Confluence server to a new server with newer version of Windows (MS Servers 2016); and migrate the database from external SQL server to database that running on the same server. While I can find individual steps how to accomplish each of those things but want to make sure what is the proper and possibly less steps.

I also want to know what is the prefer db that simple to manage and run on single server. Our environment is very small of 10 users. We user confluence mainly for document repository.


Answers:
author: Gonchik Tsymzhitov
body: Hi [@AHRQ](/t5/user/viewprofilepage/user-id/742567),

I see different ways to fix it.

1. Install new server

2. Setup RDBMS

3. Install a new version of Confluence

4. Disable mail notification

5. Backup from old server

6. Import into new one.

7. set as read-only old one.

8. Enable email notifications.

Of course, you need to think about your customisation etc.

If you setup based on VM.

Of course, easy way is using snapshot management.

1. Create backup from last snapshot.

2. Update server OS etc.

3. Adjust SQL server

4. Update Confluence installation

5. Change upstreams on reverse proxy

6. Dump and rsync (copy a new attachments)

7. set as read-only old one. Change the license to developer one.

Hope it helps

Cheers,

Gonchik Tsymzhitov


author: Bastian Stehmann
body: Hi [@AHRQ](/t5/user/viewprofilepage/user-id/742567),

I think you should check the confluence upgrade notes for all versions from 5.4 to the version you want to upgrade. There will be all required information you have to take care of for the upgrade.

I would upgrade first, then install the same version on the new server, connect it to the new database and do the import then.
Confluence page wont load after domain name change
Asked by TheKingArthas:

We have both JIRA and Confluence installed on our company, both connected to a MS SQL Server. A few weeks ago to perform an intranet domain name change (from "mydomain" to "mydomain.intra").

After changing the associate user to the JIRA service installation, JIRA load as normal, but I couldnt manage to do this on Confluence.

Any idea?


Answers:
author: TheKingArthas
body: Dears, thanks all your answers.

After a few more hours I was able to solve this issue.

I edited the file "confluence.cfg.xml" located at "C:\\Program Files\\Atlassian\\Application Data\\Confluence\\"

In this file, I modifiy the field "jdbc:sqlserver://**MYSQLSERVER.MYDOMAIN** ;databaseName=MYDB;instanceName=MYINSTANCE\</" to "jdbc:sqlserver://**MYSQLSERVER.MYDOMAIN.INTRA**;databaseName=MYDB;instanceName=MYINSTANCE\</"

Thanks all!


author: Federico De Luca
body: \<deleted\>


author: Claudiu Lionte
body: Hi Federico, happy new year!

When you changed the intranet domain names, did you also update the DNS records? In other words, is the Confluence URL accessible by Ping?

Also, you mentioned that Jira loads normally, but Confluence does not. Can you provide either a screenshot or some more details about the error that you get when you access Confluence?

Claudiu


author: Shannon S
body: Federico,

Is the domain you changed the base URL of Jira / Confluence, or are you saying that you changed the database URL on the MS SQL Server?

If you need to change the Confluence Base URL, you can do so following this article:

* [How do I manually change the Base URL?](https://confluence.atlassian.com/confkb/how-do-i-manually-change-the-base-url-310378877.html)

You mentioned you already changed the associate user to Jira service installation. I apologize, but I don't understand what that means. Can you please clarify exactly what you've done so far?

Regards,

Shannon

comments: author: TheKingArthas
body: [@Shannon S](/t5/user/viewprofilepage/user-id/510046)thanks for your repsonse.

Let me explain you my topology:

I have my Atlassian products installed in 3 virtual machines.

VM1: MS SQL Server installation with JIRA and Confluence databases.

VM2: JIRA application (with JIRA home)

VM3: Confluence application.

All 3 VMs have Windows 7 installed as OS.

What we changed is that, for example vm1.mydomain now is vm1.mydomain.INTRA


author: Shannon S
body: Federico,

Thank you for providing that information, but unfortunately this doesn't help clarify the issue.

1. What exactly what you've changed so far?
2. What is the URL format of your Jira Instance?
   1. Your Confluence instance?
   2. Your Database server?
3. What does associate user mean?
4. What happens when you try to go to Confluence?
5. What error messages are you seeing in your Confluence logs?

Thank you for your help!

Regards,

Shannon


Tags: confluence-server

server