youngmon/atlassian-qna huggingface dataset:
When deleting single instance of repeating event, all previous entries removed too
Asked by Helen Griffiths:

We've had a user report that when he has tried to remove a single instance of a repeating event in Team Calendars, that it has removed all previous entries of the same event type too.

I've tried to replicate the issue, however have been unsuccessful. There is nothing written in the logs that would suggest an issue / bug and I've had a scout around Google and the only bug i've found relates to an older version of Team Calendars which we aren't using...([https://jira.atlassian.com/browse/CONFSERVER-49406)](https://jira.atlassian.com/browse/CONFSERVER-49406)?)

We are using Confluence v6.0.1 and Team Calendars v5.3.16.

Has anyone come across anything like this before? ...or have any pointers as to what could cause the issue?

Any help would be gratefully received :)


Answers:
author: Brant Schroeder
body: [@Helen Griffiths](/t5/user/viewprofilepage/user-id/527821) I have never heard of a bug like this. Are you sure that they user did not just delete all events?


Tags: team-calendars-for-confluence
Anyone else having issues with gliffy diagrams not rendering correctly in confluence cloud?
Asked by Ian Knight:

All my gliffy diagrams are rendereing in a 2cm strip. If I edit the page they render correctly. Preview does not finish, it can't seem to render the gliffy diagram. Even diagrams created years ago.

If I export the space to a .pdf the gliffy diagrams render correctly.

Tried to raise a support ticket with Atlassian, they pointed me to Gliffy support so I have now raised a gliffy support ticket.

Just trying to find out if it is just us or is a wider problem


Answers:
author: Robert Bakker
body: same issue here. Very annoying - a reload sometimes helps.


Tags: cloud

gliffy
Can I create partial templates to be inserted in pages?
Asked by ThomasMldr:

Is there a way to create partial templates that can be used in pages?   
For example a section that could be repeated multiple times on a page, without having to copy paste the previous section and altering the content everytime. Kind of like a snippet that can be inserted with all the normal behaviors of a template page like helper text etc.

I read that you can create user macros, but that doesn't seem to be very user friendly for what I'm trying to achieve.


Answers:
author: Nic Brough -Adaptavist-
body: Not in the way you describe it. I think your look at "user macros" probably is the way to do it.

I have done this before, for pages that are talking about groups of servers. Imagine I've got 5 JIRA servers to talk about and I want each reference to one of them in my text to be a link to the server information page. I wrote a macro that displays the text and link when a user uses \[jira: 4\] or \[jira: 2\] etc.

A related case - use include or include-excerpt so that you can have pages of data that you want to repeat. You edit the source page once, and all the places you've referred to it display the new data automatically.


Tags: snippet

template
I want to validate every Link on my Confluence Instance
Asked by BastianO:

Hello there

I have a lot of external Links in my Confluence. And as you know, every day there are Link beiing changed. They won't work. Now my question is, is there a Plugin or even something in Confluence integratet, where i can check if all my Links a properly working?

Thanks in advance.

Sincerly,

Basti


Answers:
author: Branno
body: I think this was answered in [Link validation in Confluence for links inside HTML Macros](https://community.atlassian.com/t5/Answers-Developer-Questions/Link-validation-in-Confluence-for-links-inside-HTML-Macros/qaq-p/565146 " Link validation in Confluence for links inside HTML Macros"), specifically there was [a blog post](https://www.atlassian.com/blog/archives/scanning-confluence-for-content-errors "a blog post") from an Atlassian techwriter in 2011 that included a Python script that will validate links embedded in Confluence pages.

Hopefully, this is what you were needing.

comments: author: BastianO
body: Hello Stephen

Thanks for your Answer. I think this will be the thing i was looking for. Now I'm just struggling to understand how to run the script...


author: Jeff Selfa
body: Late in reply, but for others that find this as I did...  
The script was written in late 2011, is not being maintained, and is using a soon-to-be unsupported API. Plan on updating the script in order to get it to work, though the bones ought to be good.


Tags: confluence-server

link

validation
Hide a user-macro when page is included in another one
Asked by Benjamin DUPUIS:

Hi,

I use an user-macro to display a floatting toc (<https://gist.github.com/Poil/dac77d2966491818dd898910754cc6da>)

But when I include a page that have this user-macro, I don't want to have this macro displayed.

Is there anyway in a user-macro to detect if the current page is included in another one ?

Best regards


Answers:
author: Benjamin DUPUIS
body: Ok, I've got it

```
#if ($content.id == $globalHelper.getPage().id)  ## my toc-right code#end
```
steps to set up Confluence Intranet
Asked by mandeep josan:

In our office we want to set up confluence Intranet and want to make sure user should not be able to login to confluence from external machine or external network. Will you please advise on steps for this setup.


Answers:
author: tousifs
body: hello,

external network - Can be done by your network team where only internal user should have access.

external machine- Can be validated by network team before transfering request to internal confluence,

you may need to override confluence default authonticator to custom authonticator where you can define validation rules.

thank you,

Tousif Shaikh.


Tags: intranet
Not able to open a wiki page I created yesterday, I lost 2 hours edit...
Asked by Chen Helen:

Not able to open a wiki page I created yesterday.

I lost 2 hours edit...

It's justing loading and show nothing in the page.

Could you please contact me in email that I could share the wiki page link to you seperately?

Thanks.


Answers:
author: Chen Helen
body: Thank you Saleh.

The problem is that there is no error in browser's console, but for the request in Network it just showing viewpage.action?pageId=#######... pending...

May I know how I could contact support?

Looks like I have to recreate the pages by myself again. sigh.


author: Saleh Parsa
body: You need to contact support or if you need help here, you may need to tell us what kind of stacktrace you are seeing in your logs or browser developer console :-)
Error with ScriptRunner Custom Macro example
Asked by Dave Hollinden:

Hello,

I'm attempting to create a ScriptRunner custom script macro by following the example at:

<https://scriptrunner.adaptavist.com/latest/confluence/macros/CustomMacros.html#_cql_search_macro>

When I enter the macro code from the example, I get the following errors:

![Screen Shot 2017-04-20 at 8.24.52 PM.png](/t5/image/serverpage/image-id/525iCE449EE4A269DD74/image-size/large?v=v2&px=999 "Screen Shot 2017-04-20 at 8.24.52 PM.png")

I'm on Confluence 6.0.6 and using ScriptRunner 4.3.17.

I'm a newbie, so any help would be very much appreciated.

Thanks,

Dave


Answers:
author: JohnsonHoward
body: Hi Dave,

Can I see which classes you are importing please?

Thanks

Johnson

comments: author: Dave Hollinden
body: Hi Johnson,

I copied the entire script from the example at the link in my original post pasted it into my script macro, as follows:

import com.atlassian.confluence.api.model.Expansion  
import com.atlassian.confluence.api.model.content.Content  
import com.atlassian.confluence.api.model.pagination.PageResponse  
import com.atlassian.confluence.api.model.pagination.SimplePageRequest  
import com.atlassian.confluence.api.model.search.SearchContext  
import com.atlassian.confluence.api.service.search.CQLSearchService  
import com.atlassian.confluence.xhtml.api.XhtmlContent  
import com.onresolve.scriptrunner.runner.ScriptRunnerImpl  
import groovy.xml.MarkupBuilder

def cqlSearchService = ScriptRunnerImpl.getOsgiService(CQLSearchService)  
def xhtmlContent = ScriptRunnerImpl.getOsgiService(XhtmlContent)  
def maxResults = parameters.maxResults as Integer ?: 10

def cqlQuery = parameters.cql as String

def pageRequest = new SimplePageRequest(0, maxResults)  
def searchResult = cqlSearchService.searchContent(cqlQuery, SearchContext.builder().build(), pageRequest, Expansion.combine("space")) as PageResponse\<Content\>

def writer = new StringWriter()  
def builder = new MarkupBuilder(writer)

if (searchResult.size()) {  
builder.table {  
tbody {  
tr {  
th { p("Title") }  
th { p("Space") }  
}  
searchResult.results.each { content -\>  
tr {  
td {  
p {  
"ac:link" {  
"ri:page"("ri:content-title": content.title, "ri:space-key": content.space.key)  
}  
}  
}  
td { p(content.space.name) }  
}  
}  
}  
}

if (searchResult.respondsTo("totalSize")) { // confl 5.8+  
builder.p("Showing ${Math.min(maxResults, searchResult.totalSize())} of ${searchResult.totalSize()}")  
}  
}  
else {  
builder.p("No results")  
}

def view = xhtmlContent.convertStorageToView(writer.toString(), context)  
view

Thanks for your help.

Dave


Tags: scriptrunner
integrating Junit report macro
Asked by Abhay Raj Singh:

I am integrating Junit test results to confluence. I am getting below error:

Error rendering macro 'junitreport' : com.atlassian.renderer.v2.macro.MacroException: Error parsing JUnit report file: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 50; White spaces are required between publicId and systemId.

Has anyone seen this in past?


Answers:
author: Shawn Doyle - ReleaseTEAM
body: I have not seen this before.

Sorry shamelessly answering an older unanswered question to see if the "Oldie but goodie" badge works.

Feel free to shame me....
Turn off users ability to "Restore this Version"
Asked by Thomas B:

As a Confluence Administrator I want to be able to turn off the setting that allows all users to "Restore this Version" of any page. This is crazy but I can't find a way to change this. Literally any user can restore a version of any page...

Help, please and thank you.


Answers:
author: MattS
body: I guess it comes with the Edit permission on a page

comments: author: Thomas B
body: That's unfortunate. I have a solid base of users that should only be able to edit and I turned off the ability for them to delete anything. If they can't delete anything why can they restore an entire page? Weird... Thanks!


Tags: confluence-development

questions-for-confluence
Loss of images since upgrade to 6.1.2 WTF?
Asked by John Appleton:

lots of documents were created, even word documents which were uploaded, contained images. Under version 5.9.x they worked fine. Since the upgrade to 6.1.2 they are now listing as an empty box with a symbol in the top left as if to indicate they can not be found. this is very annoying and i dont wish to re-import all of the documents again just for this.

Help anyone?

![confluence error.PNG](/t5/image/serverpage/image-id/514iF3569430400D39FA/image-size/large?v=v2&px=999 "confluence error.PNG")


Answers:
author: Saleh Parsa
body: This is something that you may need to dig into the logs to find the cause as well as HAR file. However, after upgrade it would be good to rebuild the search indexes and plugins caches, specially with major versions. Other than that, it would be good if you double confirm and check if your attachments exist under ... \> Attachments of the page or not.


Tags: documentation

upgrade
RTL CSS Confluence Task-list macro
Asked by yaniv_shoshani:

Hi guys,

I am writing a css scrip to make confluence RTL, does anyone have an idea on how to do this for the Task List option.

even just the name of the macro in css will help me a lot.

any help will be mush appreciated,

thanks in advance!

![eeCapture.PNG](/t5/image/serverpage/image-id/508i46C2CB5D727DD7E9/image-size/large?v=v2&px=999 "eeCapture.PNG")


Answers:
author: Ansar Rezaei
body: Hi

You can use this:

.wiki-content ul.inline-task-list\>li {  
line-height: 30px;  
text-align: right;  
direction: rtl;  
padding-right: 18px;  
background-position: right 6px;

But unfortunately you are not able to checked and unchecked items in list. If you find any solution, please share it here.


author: Hermance NDounga
body: Hey

I found

.wiki-content ul.inline-task-list\>li {

but I think without the li, it would work?


Tags: css

html

macro

script
Migrated Confluence from one server to another server.
Asked by pawarsachin84:

Hello Team,

Need your help.

We have migrated Confluence from one server to another in Linux. Now the

Dir path is changed

For old it was under - /Data/appdata/wiki

New it is - /newapp/appdata/wiki

Could you please confirm me what all file I need to change the path?

like installation dir path / home dir path / attachements path / if I miss anything else?

Please suggest me path and file name that I need to update/change?

THanks \& Regards,

Sachin Pawar


Answers:
author: pawarsachin84
body: Also, while restarting Confluence getting error.

Cannot find classpath.sh

Regards,

Sachin


Tags: migration
Can Confluence 5.5 support it's own media?
Asked by Klaus:

I'm looking in a alternate solution in migrating media from a 3rd party provider to confluence 5.5, soon in upgrading to 5.10. Can I house media as attachments and play them within confluence or do I need to spin up a new media server in housing the videos?


Answers:
author: Saleh Parsa
body: I believe you can embed the multimedia content in your Confluence by the steps in [this doc](https://confluence.atlassian.com/conf56/embedding-multimedia-content-658737039.html).


Tags: video
Use of Gallery macro in a reaction on a page
Asked by Patrick_Vanhoof:

Using Confluence 5.10.6

I wanted to show in a reaction on a page how the Gallery macro works. So I added it, changed some parameters. I use the preview for the result and it looks ok. Then I save the comment, and the macro says that there are no images attached to the page.

Is this a known issue?


Answers:
author: Craig Nodwell
body: Correct this was a known issue with 5.10.6

comments: author: Patrick Vanhoof
body: :)


author: Craig Nodwell
body: :)


Tags: gallery

macro
Display Weekday in Confluence Date Picker result
Asked by Alex Baumgartl:

Hi,

it would be helpful for us if the weekday is displayed along the date which was picked in the date picker, e. g. like THU 20-Apr-2017

According to this ticket this won't be implemented by Atlassian:

[https://www.google.de/url?sa=t\&rct=j\&q=\&esrc=s\&source=web\&cd=1\&cad=rja\&uact=8\&ved=0ahUKEwjc6fTP8rLTAhWCLsAKHRf5CwoQFggsMAA\&url=https%3A%2F%2Fjira.atlassian.com%2Fbrowse%2FCONF-37469\&usg=AFQjCNFP9OJWCKNRveE4pk7hwGSqoiCd2w](https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjc6fTP8rLTAhWCLsAKHRf5CwoQFggsMAA&url=https%3A%2F%2Fjira.atlassian.com%2Fbrowse%2FCONF-37469&usg=AFQjCNFP9OJWCKNRveE4pk7hwGSqoiCd2w)

Is there another way/add-on/browserhack to display the weekday?

Cheers,

Alexander


Answers:
author: Mirek
body: It was possible to view the date in Team Calendar since 5.3.11 version

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


Tags: date-picker
Can we create users with very minimal permissions?
Asked by DeanF:

We allow anonymous access to most of our site but we want to restrict access to some pages and have created a group to do this. This works OK (using permissions), but we do not want the users who login to see these pages to also see menus, their profile, the People directory, or anything else.

Is there a way to do this - I don't see anything is User admin or Global Permissions.


Answers:
author: AnnWorley
body: You may be able to use a custom theme or CSS to hide the features on the spaces where you allow the limited permission users. However, these customizations would also apply when the users with full permissions view the spaces.


author: Nic Brough -Adaptavist-
body: No, if someone can log in, then they can use the functions that let them use Confluence.


Tags: questions-for-confluence
Standard confluence captcha is compromised. How to use different captcha for Spam Prevention?
Asked by Max Pavlov:

Hello. Confluence ships with an embedded Spam Prevention mechanism that enables admins to turn on captcha for comments on an open wiki, so when an anonymous user wants to post a comment, it must validate that it's not a bot via entering a captcha.

Even with captcha enabled we are getting a ton of Spam comments on our indexed pages. I suppose spam bots are having an easy time going through the standard captcha that Atlassian currently ships with Confluence.

Is there a way, a plugin perhaps, that allows using a different captcha implementation on comments?


Answers:
author: jriley-es
body: I am looking to migrate a Knowledgebase into Confluence and we would like to have anonymous comments, if possible.

As OP asks, can we get a different Captcha? or Captcha API?

Can we get Comment moderation?

Stronger Captcha? or a configurable challenge/turing test question?


author: AnnWorley
body: I did not find an add-on that will apply a different captcha for anonymous comments.

As Nic points out in [captcha bypassaed](https://community.atlassian.com/t5/Confluence-questions/captcha-bypassaed/qaq-p/236437), the captcha mechanism in general is not the most bullet-proof.

Have you considered disabling anonymous comments or is that functionality necessary for your instance?


Tags: server
how can I set watch for page tree?
Asked by Hanazono Haruyo:

Corrently my unerstanding is I just set watch just one page, one SPACE.

But, we usually make a main topic page, and sub topicks set under the topic page.

That case, we want to set watch just set one pange and under this page.

Is it possible to set on conflunce?

e.g.) I woud like to wathc under A main topic.

SPACE

A main topic \<---watch

--- A sub topic 1 \<--- watch

----A sub topic 2 \<--- watch

----- in the future, will add A sub topic 3 new page \<--- watch

B main topic

--- B sub topic1

......


Answers:
author: Pavel Shkleinik
body: The closest thing ~~in case you use slack~~ would be slack notifications: <https://support.atlassian.com/confluence-cloud/docs/use-slack-and-confluence-together/> it is still suboptimal and is not out of the box solution, but is something.


author: Juan Carlos
body: Anything available for Cloud?

comments: author: Daniel
body: Hey [@Juan Carlos](/t5/user/viewprofilepage/user-id/1170098) and [@Asaf Mesika](/t5/user/viewprofilepage/user-id/838204)

if you are still looking for a cloud solution, have a look at [Deep Watch](https://marketplace.atlassian.com/apps/1220460/deep-watch?hosting=cloud&tab=overview). That plugin allows you to watch a hole page tree with a single click and you'll get notified for new, changed and moved pages below the watched page.

Disclaimer: I am the author of that add-on.

If you have any questions let me know.


author: Thomas Schlegel
body: Hi Hanazono,

another add-on is "[Tree View](https://marketplace.atlassian.com/plugins/de.edrup.confluence.plugins.tree-view/server/overview)". We are using that and it works great. And it is for free!

comments: author: Hanazono Haruyo
body: Hi

Thank you so much for your information.

I will try it soon!

BR // Haruyo


author: Asaf Mesika
body: Not available for cloud


author: Steffi Frank
body: Hi Hanazono

it is possible with <https://marketplace.atlassian.com/plugins/com.adaptavist.confluence.enterpriseNotifications/server/overview>

Steffi

comments: author: Hanazono Haruyo
body: Hi,

Thank you so much for your help!!

I will try it.

BR // haruyo


author: Asaf Mesika
body: Not available for Cloud


Tags: watch
Can not change Startpage
Asked by Timo Schmidt:

Hi,

i try to set dashboard as our Startpage.

But nothing changes... When I click on our logo, I always land on the previous one.

Any Ideas?

![Screenshot 2017-04-19 23.22.07.jpg](/t5/image/serverpage/image-id/478iE70421680DDEF588/image-size/large?v=v2&px=999 "Screenshot 2017-04-19 23.22.07.jpg")


Answers:
author: Marcelo Horlle
body: Hey Timo,

Did you performed this change using the Site Administrator role ? Else, the change might end up being visible to you only.

Also, make sure that you don't have a start page settled on an user level, since it will override the entire site experience. You can check this on [this page](https://confluence.atlassian.com/doc/edit-your-user-settings-1016023.html).

Hope it helps!
Turned email notifications off, still receiving emails
Asked by Daniel St. Clair:

Screenshots speak louder than words:

![Screen Shot 2017-04-19 at 1.48.15 PM.png](/t5/image/serverpage/image-id/477iD7C9BFDF30896D69/image-size/large?v=v2&px=999 "Screen Shot 2017-04-19 at 1.48.15 PM.png")Yet still receving emails of the sort "There's x new edits on this page" with a link to view the page. When I clicke "Manage notifications" in the email, it takes me to the page I screenshotted above. This is quite annoying - advice?


Answers:
author: Kirstin Seidel-Gebert
body: Your screenshot shows the general notification settings. To me it seems, that you are still watching some pages. These watches will not be removed by changing the general settings.

Click **Stop Watching Page** in the notification mail to not receive notifications anymore.

Have a look on tab **Watches** in your profile to see what you are watching and to remove these watches.

Cheers,  
Kirstin

comments: author: Daniel St. Clair
body: Thanks for the reply! That doesn't seem to be the case:

![Screen Shot 2017-04-20 at 9.44.35 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/520i719AFD363C4277D5/image-size/large?v=v2&px=999 "Screen Shot 2017-04-20 at 9.44.35 AM.png")However, I haven't received any email notifications since the last one I got yesterday morning. Perhaps there was a delay in changing my settings and the settings actually taking effect. I'll consider this resolved and post again if I receive any more notifications.


author: Cory Beck
body: I have the same exact issue as Daniel. All of my email settings are unchecked and I am not watching any spaces or pages. Nor am I following any user. Any ideas?


Tags: email
Issue Statistics Gadget throws 'Uncaught Exception' when searching for Filters
Asked by Tyler O'Neal:

I am using the 'Issue Statistics' macro the Atlassian has for Confluence. However, just recenlty I have noticed that when trying to setup a new gadget, I am getting all types of errors:

I receive 'dashboard.item.error.required.query' when clicking into the 'Project or Saved Filter' - 'Quick Find' field.

In the Web browser console, I see the following:

Uncaught TypeError: Cannot read property 'current' of undefined  
at f.displayDropdown (jira.webresources:autocomplete.js:3)  
at f.\<anonymous\> (jira.webresources:autocomplete.js:3)  
at f.aspect \[as renderSuggestions\] (com.atlassian.auiplugin:ajs-gadgets-base.js:3)  
at Object.params.success (jira.webresources:autocomplete.js:9)  
at Object.successHandler (jira.webresources:util-lite.js:54)  
at Object.success (com.atlassian.gadgets.publisher:ajax.js:24)  
at Object.AG.ajax.handleCallbacks (com.atlassian.gadgets.publisher:ajax.js:6)  
at Function.AG.ajax.trustedApps.handleResponse (com.atlassian.gadgets.publisher:ajax.js:15)  
at com.atlassian.gadgets.publisher:ajax.js:15  
at processResponse (auth-refresh.js?v=5d17277...\&container=atlassian\&debug=0:327)

Anyone know what is happening?


Answers:
author: Tyler O'Neal
body: I have no idea why this was happening, but it looks like this Macro has an issue with spaces in filter names. When searching for filters that have spaces in the name, I was able to put underscores in replace of the spaces.

Example:

Name of filter: Testing Atlassian Issue Macro

searching within Confluence: Testing_Atlassian_Issue_Macro

Once doing that, my filter appeared within the Macro window and I didn't get this error.


Tags: jira