youngmon/atlassian-qna huggingface dataset:
internal login becaus AD login fail
Asked by Automatisation JRT:

you have enable internal login but we don't have any admin user created on confluence and i need help please


Answers:
author: AnnWorley
body: Hi - I understand you cannot log into Confluence. You are using an external Active Directory user directory to manage users and the authentication via AD is failing. You don't have an admin user in the internal Confluence user directory.

If you are using Confluence 6.5.0 or previous versions, please use the SQL queries from: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/conf64/restore-passwords-to-recover-admin-user-rights-936511358.html) to create an admin user and otherwise set up the instance so you can log in (by enabling the internal directory, setting the admin password, etc.) Please go through all the steps rather than skipping to creating an admin user.

If you are using Confluence 6.5.1 or above, you can use the new method of creating a virtual user directory with a temporary admin account, as described in this article: [Restore Passwords To Recover Admin User Rights](https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html)

I look forward to hearing how it goes.

Thanks,

Ann

comments: author: Automatisation JRT
body: Thanks you very much for your Help !


author: Automatisation JRT
body: Thank you again. The problem is solved.

Best Regards,


author: AnnWorley
body: That's great news - thanks for keeping us in the loop!
Prevent Inserted images from the web
Asked by Francisco De Zuviria:

In relation with

<https://confluence.atlassian.com/confcloud/display-files-and-images-724765104.html>

We have a problem in our organization in which people make how-to articles pasting images from the web browser (e.g. webmail).

Those images get treated as 'Images from the web'. Then those images expire and become broken links.

We would like one of the following:

A) Have Confluence import and automatically convert images from the web to attached images.

B) Disable images from the web to our users

C) Warn the user when pasting images

We have cloud confluence but we have the same question for self hosted confluence.

Thanks.


Answers:
author: Thomas Deiler
body: Dear [@Francisco De Zuviria](/t5/user/viewprofilepage/user-id/1178480),

for A) Trigger a cron job, that regularly scans all pages for those external links and replaces them with real content - best done with the API.

for B) This [Link](https://community.atlassian.com/t5/Confluence-questions/How-to-disable-inserting-image-from-URL/qaq-p/218552) describes how to deactivate - but didn't work for me - probably outdated.

for C) This warning feature has to be done by Confluence - so Atlassian needs to implement.

So long

Thomas

comments: author: Thomas Deiler
body: Dear [@Francisco De Zuviria](/t5/user/viewprofilepage/user-id/1178480),

you didn't come back - meanwhile solved? Can I help you further?

So long

Thomas


author: Francisco De Zuviria
body: Hi Thomas, I'm back:

A) Any guide out there on doing this?

If there is not, at least can the cron job fire an email to the user's account with the warning so the user can fix it?

B) Thanks

C) Where can I vote for the feature request?

Best regards


author: Thomas Deiler
body: Dear [@Francisco De Zuviria](/t5/user/viewprofilepage/user-id/1178480),

A) This means coding a script or app that does the job. Do you have coding skills? And which language? If not, probably ask someone (some professional services) who could do, but this will not be for free.

C) Create a "Suggestion" at <https://jira.atlassian.com> for the product CONFSERVER.

So long

Thomas


author: Francisco De Zuviria
body: C) <https://jira.atlassian.com/browse/CONFSERVER-55015>

I'll mark you as accepted answer. Thank you very much champion.


author: Francisco De Zuviria
body: You can vote for the feature request here: <https://jira.atlassian.com/browse/CONFSERVER-55015>


Tags: image

permission
How to upload Cucumber reports into Confluence, preserving pass/fail colors etc.
Asked by devfor qa:

Dear Confluence gurus!

We need to upload daily Cucumber reports from Jenkins into Confluence (non-cloud), preferably preserving at least some of the coloring and formatting such as summary etc. from the original Jenkins report.

Requirements:

Some confluence users do not have rights to Jenkins.

We tested execute a Jenkinsfile (stored in git) to perform the report import into confluence.

I have tested just import the report as a zip file (with a timestamped report filename) to a report page, which works fine, with some minor formatting lost.

However that approach requires the end-user to download the whole zip down to hard-disk from Confluence, before being able to display the report.

I would rather the cucumber report shown directly in Confluence. Might not need be the whole report, but ought at least be an ( black and white ) overview (html) report page.

We may use a plug-in, if that is a solution.

Is this possible?

Thanks in advance for any ideas.


Answers:
author: Hamed Gara
body: hello, none has already publish html reports into confluence page ? using confluence publisher plugin in Jenkins ?


author: Nick Iles _AssertThat_
body: Hi

We have a plugin which allows you to:

- create and manage BDD (gherkin ) scenarios in Jira

- Link the scenarios to user stories

- Integrate with test automation frameworks

- Uploads automated test results (cucumber.json) report into Jira

- Triage test runs in Jira

- Updates scenario status in Jira so you can see the test scenario status alongside each user story.

- traceability matrix

If you would like a demo please get in contact

<https://marketplace.atlassian.com/1219033>

Thanks

Nick

Marketplace Vendor

comments: author: Alex Fanshawe
body: I don't want jira littered with my cucumber test results - i have hundreds of them.

<br />

I want the json report, currently on Jenkins, copied to confluence with css, and hosted there as a record of a releases End of Test Report.

Can you fix it?


Tags: cucumber

jenkins

jira

report

test

upload
How to macro today's date minus (days)
Asked by Matthew Singleton:

So this (as a macro) gives me today's date in a page:

$action.dateFormatter.formatGivenString("dd-MMM-yyyy", $content.currentDate)

But what I want to do is today's date - a number of days i.e. currentDate - 1d

Any ideas?


Answers:
author: Stephen Deutsch
body: This should work (current date - 3d):

```
#set ( $date = $action.dateFormatter.calendar )
$date.setTime($content.currentDate)
$date.add(6, -3)
$action.dateFormatter.formatGivenString("dd-MMM-yyyy", $date.time)
```

as a bonus, in Confluence-styled format:

```
#set ( $date = $action.dateFormatter.calendar )
$date.setTime($content.currentDate)
$date.add(6, -3)
<time datetime="$action.dateFormatter.formatGivenString('yyyy-MM-dd', $date.time)"/>
```


author: Matthew Singleton
body: Genius.. worked perfectly. I literally would never have worked this out.
How to share a outlook calendar on Confluence?
Asked by Akash Gupta:

We want to be able to have dates we add to Outlook Calendar also get shown on our Confluence Calendar


Answers:
author: Andreas Schmidt (yasoon)
body: Hi [@Akash Gupta](/t5/user/viewprofilepage/user-id/1182605),

I'm pretty sure this is not possible in Confluence by default.

[We offer an addin](https://marketplace.atlassian.com/plugins/com.yasoon.calendar/server/overview) that allows you to show \& edit all kind of Outlook Calendars (personsal, Shared Folders, Rooms, etc).

It is very similar to the Atlassian Team Calendar, it just loads the data from the Outlook calendars.

Hope that helps!

Best Regards,

Andreas
updating link to external location on multiple pages
Asked by Addy_Free:

Within Confluence, is it possible to mass-update 2+ external links? Say I have links out to the same application server from two different pages. If the application server address changes, is there a solution for updating all of the external links?

I've searched for a directory/macro solution to no avail. Thoughts? I'm new to Confluence and am implementing it as a knowledge base solution.


Answers:
author: AnnWorley
body: Hi - You should be able to use the same methods described in this article: [How Do I replace all 'hard' links to my old Base URL](https://confluence.atlassian.com/confkb/how-do-i-replace-all-hard-links-to-my-old-base-url-284366235.html). The use case there is a little different but basically you would need to search and replace the application server address in a backup and then restore the backup. Please check out the article and let us know what you decide.

comments: author: Addy_Free
body: Hi Ann. Thanks!Good stuff. That would meet my need.

My ideal would be to find something that a user could do--perhaps a user is the primary administrator for a compliance reporting site and needs to update the link to that site. I'd rather they be able to do that themselves, easily (to avoid errors), without involving an admin.

*You can't always get what you want*   
*But if you try sometime you find*   
*You get what you need*


author: Stephen Deutsch
body: Hi Addy,

I wrote a user macro to be able to search and replace the code of multiple pages at a time:

<https://streamline.atlassian.net/wiki/spaces/STRMLN/pages/5144578/Search+and+Replace+User+Macro>

However, it's pretty powerful, and since it can change the underlying code of pages (and can therefore cause page errors) you may want to still restrict who can access it. However, it would certainly be much faster than changing the links in a backup and restoring.

comments: author: Liza Top
body: Nice work! This helped me out a lot.
How can I link a confluence page editor template with a Jira issue?
Asked by Andres Guzman:

I created a page template in Confluence and I need to use it in Jira and when I am resolving the issue I need to create a page based on that template.

Yo can link a page already created using the Confluence tab in the link section in the issue creation, so I tried using the URL, if I use the whole address I can use it just one time, once I publish the page that link does not work anymore and if a I use the part of the link that never change I get the blank page editor.


Answers:
author: AnnWorley
body: Hi Andres,

Here is the workaround I came up with. Instead of trying to link the ticket to the page template, I added a page and put the Create From Template macro on the page, designating the desired template in the macro. I was able to link it on several tickets. It's a extra click but it may work. I look forward to hearing what you think.

![Screen Shot 2018-02-02 at 12.13.15 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/13933iBC802DEBB4AB6482/image-dimensions/434x343?v=v2 "Screen Shot 2018-02-02 at 12.13.15 PM.png")

Thanks,

Ann


Tags: issue

jira

page

template
Export Confluence page including inline comments
Asked by David Grant:

Relatively new to Confluence and I was wondering if there is a way to export a Confluence page including the associated inline comments.


Answers:
author: Igor M.
body: Hello,

Unfortunately, this is not yet possible, however, there is a feature request opened for that, please have a look and confirm if this is what you are looking for

[CONFSERVER-38240](https://jira.atlassian.com/browse/CONFSERVER-38240)

Please vote and watch the feature request so that your opinion on this issue may be heard by our development team, comments are also very welcome. The feature will be addressed in accordance to our [new features policy](https://confluence.atlassian.com/support/implementation-of-new-features-policy-201294576.html)

Regards,

Igor
how to delete an attached image?
Asked by Klein:

The documentation says,

"If you delete a file or image in the editor, the attached file isn't deleted.  
Go to ![](https://confluence.atlassian.com/confcloud/files/724764616/724764617/1/1427771566359/ellipsis.png) \> **Attachments** to delete the attachment completely from the page."

The only place I see that icon (![](https://confluence.atlassian.com/confcloud/files/724764616/724764617/1/1427771566359/ellipsis.png)) is in the lower-right corner, and the only options there are *Preview* and *Delete Unpublished Page*.

I don't think this is a permissions problem, because I have no problems *adding* images.


Answers:
author: Thomas Deiler
body: Dear [@Klein](/t5/user/viewprofilepage/user-id/347887),

click on the paper-clip icon next to the title. There you can manage your attachments.

And its is right that if you remove an image of a page (where text is written) it doesn't vanish from the attachments.

So long

Thomas

comments: author: Thomas Deiler
body: And, it can be a permission problem, too. There is a permission called "Delete Attachments" also as "Add Attachments".


author: Klein
body: I wanted to delete it completely. It sounds like a permissions problem. I'll bring it up with my admin.


author: Michal Koziel
body: [@Thomas Deiler](/t5/user/viewprofilepage/user-id/484715)   

Is deleting files from attachments when deleting from a page in editor something that will be implemented, or is at least requested? This should of course be an option if you don't want to do that. It is extremally annoying to go through multiple attachments and delete one by one by looking on the filename or opening each one individually to make sure you delete the right one.


author: Thomas Deiler
body: Dear [@Michal Koziel](/t5/user/viewprofilepage/user-id/4901936)

unfortunately, I can't answer your question. We as community leaders are working as volunteers. We have no influence on the product development nor do we know the plans of the future. But feel free to raise a suggestion at <https://jira.atlassian.com/secure/Dashboard.jspa>

So long

Thomas
Hyperlink files from harddrive into confluence?
Asked by Jolly Roger:

Hey guys,

is it possible to just create a hyperlink from an existing file on a (shared) drive?

I want to avoid to upload the file and I just would like to link it into a certain topic. I didn't find a different option so far.

Is that possible?

Thanks in advance for your help!

Regards,

Markus


Answers:
author: Thomas Schlegel
body: Hi,

you can create a file link like that:

```
file://path/to/file/filename
```

But, this kind of link only works in Microsoft Browsers, with Chrome and Firefox, you need to install extensions.


author: Thomas Deiler
body: Dear [@Jolly Roger](/t5/user/viewprofilepage/user-id/1182527),

can you give me an example of one of your hyperlinks?

Thanks

Thomas


Tags: link
Pages starting with an underscore (_) not opening in Edit mode
Asked by Ronnie Kelly:

Hi, at our company we have an on-prem instance of Confluence (version 6.4.3) where we have over a long period of time created page artefacts that are referenced across numerous other pages using the Include macro. We use an underscore at the beginning of the pagename to identify they are for this type of purpose so something like _summary or _contact.

We are now moving to the cloud instance and experiencing problems opening a page that begins with an underscore. It allows you to create the page with _ at the beginning and allows content to be added and saved but when you try to edit all you get is a blank screen?

I have noticed if i name the page say _testpage, the url has striped the underscore out so it read /testpage, not /_testpage. In ver 6.4.3 the underscore appears in the url.


Answers:
author: Shannon S
body: Hi Ronnie,

Are you still having an issue with this? I'm testing in the latest version of Confluence Cloud but I am not able to replicate your issue.

Are only the pages that were migrated from Server with an underscore not opening, or even if you create a new one in Cloud does the same occur?

What messages do you see in the Developer Console in your browser when you attempt to open the page?

Shannon


Tags: confluence-cloud

page
I have accidentally deleted a Space from Confluence. How should I restore it back?
Asked by Nikhil Kadam:

I have accidentally deleted a Space from Confluence. How should I restore it back? Is there any scheduled backup which is running to backup the Confluence Database? And If yes, please tell me the steps to perform it.


Answers:
author: Thomas Deiler
body: [@Nikhil Kadam](/t5/user/viewprofilepage/user-id/1180649), the space is lost as soon as you delete. But you could replay a backup from file if made one before.

I had a situation in the past, where even the file backup didn't help. Luckily our database admins where able to revert the DB status to any date in the past. That saved our life. Therefore you need to shut down confluence, first.

I wish you good luck.

Thomas

comments: author: Nikhil Kadam
body: [@Thomas Deiler](/t5/user/viewprofilepage/user-id/484715) Thank you Thomas.


author: Nikhil Kadam
body: I want to specify you that our database is Cloudbased. In this case would anything change?


author: Thomas Deiler
body: That depends on the cloud service, that you have contracted. Buy yes in theory also possible there. Also a Cloud DB is a DB like oracle, mysql ...


author: Nikhil Kadam
body: [https://www.atlassian.com/licensing/cloud](https://www.atlassian.com/licensing/cloud?)  

This is where it is staged.


author: Sloan
body: You are using Confluence Cloud?

If you want to know if your Space can be recovered you need to contact the Atlassian Support.


author: Sloan
body: Hi Nikhil,

assuming you are on Confluence Server there is a scheduled backup job, but only if you never disabled it.

Read about this built in Backup here: [Configuring Backups](https://confluence.atlassian.com/doc/configuring-backups-138348.html)

If you haven't disabled this job, you can find a full backup of last night in your confluence home stored under *backups*.

This is a full site backup, you'd need to import it into a staging Confluence, then export the single space, and import it into your productive Confluence.

If your confluence has many pages and spaces I recommend on backing up confluence with your own [Production Backup Strategy](https://confluence.atlassian.com/doc/production-backup-strategy-38797389.html).

Cheers Niklas

comments: author: Nikhil Kadam
body: Thank you Niklas! I would surely try this..


author: Nikhil Kadam
body: Here I want to specify you that our database is Cloudbased. In this case would anything from the above change?
Cannot access public blog posts on the mobile version on Confluence when not logged in.
Asked by Lauren Hanyok:

Some of our team do not have Confluence accounts but must still have access to our blog posts. They can see the overview page just fine, but when they click on a blog post, they get the following error:

"That page ID is invalid. Page IDs can only contain numbers. Double-check the URL and give it another shot."

The URL contains the name of the blog post as opposed to a pageID. They can still see the blog posts in desktop mode on their home computers, but we really need the mobile access (we can't afford the more expensive package for more accounts).

Is there a way to force the pageID version of the URL in mobile, do we need to enable something in our settings? I have found no guidance on this, as everything says we should be able to access the blog posts publicly (the permissions are set for public).

Thanks!


Answers:
author: Sloan
body: Hi Lauren,

this is odd. Can you show us an URL for example (only if it doesn't hurt your companies privacy or compliance), the bit after the base-URL. Is every blogpost affected?

If you want to force pageID in the URL just add one of these characters to the title of a blog post or page: ! \* ' ( ) ; : @ \& = + $ , / ? # \[ \]

To learn why this happens look here: <https://confluence.atlassian.com/confkb/confluence-page-urls-contain-pageid-instead-of-the-page-title-278692715.html>

Cheers  
Nick  

comments: author: Lauren Hanyok
body: Hi Niklas! Thanks for such a speedy response! Unfortunately I can't share one of the blog posts, but this does affect every blog post. We used to put ",", ":", and "()" in our post names but they still came up with the same error. We actually thought it was the problem :/


author: Sloan
body: And this happens only on the mobile view of Confluence, right?

Can you tell me on what version of Confluence you are?


author: Lauren Hanyok
body: Correct, only the mobile view. The team can see the blog posts on the desktop view no problem.

Confluence Cloud 1000.0.0


author: Sloan
body: Hi Lauren, if you can, try reaching out to the Atlassian Support.

I think this could be a Cloud Specific problem.


author: Lauren Hanyok
body: will do, thanks!


Tags: blog

mobile
Search trough user profile
Asked by Nadja Agreiter:

Hello everyone,

in our company we want to find persons with specific knowledge through the search field in the person section of confluence.

![Personensuche.png](/t5/image/serverpage/image-id/13572iCD43D99661DDE0BC/image-dimensions/561x109?v=v2 "Personensuche.png")

In the profile there's a field called "information about me". We want to use this field to show people's qualifications and search them with the person search field.

My colleague and I are sure that the search worked a while ago but now it doesn't.

Greedings,

Nadja


Answers:
author: Davin Studer
body: There is nothing built-in for that but the add-on [User Profiles for Confluence](https://marketplace.atlassian.com/apps/29106/user-profiles-for-confluence?hosting=server&tab=overview) allows you to create extra fields in profiles to store data that can then be searched on.


author: Shannon S
body: Hi Nadja,

Per [Search the People Directory](https://confluence.atlassian.com/doc/search-the-people-directory-201706.html), that search will only allow you to search by name.

There's a feature request below to be able to search additional information, such as keywords:

* [CONFSERVER-8632](https://confluence.atlassian.com/doc/search-the-people-directory-201706.html)

Please feel free to vote on the request if you'd like to see the feature in the future. You can comment there as well with your exact usage case.

Let us know if you have any questions!

Regards,

Shannon


Tags: profile

search
Page properties report macro order
Asked by Armando Arruda:

How can I order by title? Is it just possible?

Thanks!  

Armando


Answers:
author: Christo Mastoroudes _Adaptavist_
body: Hi,

I think it is possible from reading the documentation.

<https://confluence.atlassian.com/doc/page-properties-report-macro-186089616.html>

Seems like you just need to add the column heading name of the column you would like to sort. Note that you will have to click the "show" options button when editing the macro to see all the options.

If this answered your question please mark it as answered.
Can't add inline comment starting with Chinese character "?"
Asked by Naomi:

Recently posted a page, whenever we want to add an inline comment of character "?", we get a notice that it cannot be saved like below.

But if we copy the content of the page to another one, we can add the inline comment.

Not sure about the cause, hope somebody can help, thanks!

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


Answers:
author: Shannon S
body: Hi Naomi,

I'm attempting to replicate this on Confluence Server 6.6.2, but I am not able to. I tried selecting both English and Chinese text and commenting with "?", per your example.

1. Could you tell me what the error translates to in English that you're seeing?
2. What errors do you see in your Confluence Server logs at the same time as generating the error?
3. Do there happen to be any emoji on the page?
4. Lastly, what version of Confluence are you using?

Thank you for your help!

Regards,

Shannon