youngmon/atlassian-qna huggingface dataset:
Confluence: turn of anonymous access
Asked by A. S.:

Is there a way to remove the anonymous user from Confluence?

The configuration option under Global Permissions is not sufficient, as this only regulates the default and the assignment to a space is still possible.


Answers:
author: James Dellow
body: Unless the site wide setting in Global Permissions allows anonymous users, they won't be able to access spaces that have granted anonymous users access. Global Permissions is a site wide setting.

comments: author: Fabienne Gerhard
body: I'm totally with [@James Dellow](/t5/user/viewprofilepage/user-id/502478) - if you switch of 'Can use' for Confluence for Anonymous Users there is no possible way for users without personal access to get into any space.


author: A. S.
body: I would like to remove the possibility for Space Owners to grant rights to all Confuence users within our organization for a space. This is currently possible via anonymous and Confluence users. I'm not talking about 'public' access.

comments: author: Fabienne Gerhard
body: What about taking away restriction rights from space admins in space permissions. If I understand you right space owners are allowed to set those restrictions.

Not sure what you mean by anonymous and confluence users - do you mean the space admins open their space for anonymous and conflunence users?


author: James Dellow
body: [@A_ S_](/t5/user/viewprofilepage/user-id/855646) you might like to check the following past discussion related to to your question (and how to customise Confluence to address it) <https://community.atlassian.com/t5/Confluence-questions/I-would-like-to-remove-anonymous-access-as-a-choice-for-Space/qaq-p/231208> and also this open enhancement suggestion <https://jira.atlassian.com/browse/CONFSERVER-44116> (you should comment and vote on it, if you want to see this implemented)


author: A. S.
body: Thanks, the workaround described in the ticket is exactly what I need.


author: Kris G _Alacriz_
body: Hi [@A_ S_](/t5/user/viewprofilepage/user-id/855646) -

Can you explain what you mean by 'assignment to a space is still possible' if anonymous users are not allowed in the Global Permissions setting ?


Tags: confluence-server

server
$content.getTitle() is not rendered in user macro
Asked by Simone_Avossa:

Hello,

I have created a user macro that needs to print the following HTML tag:

```
## @noparams

<input type="hidden" name="xxx" id="xxx" value="$content.getTitle()" />
```

The user macro is then rendered in the page via the following expression placed in the Main Decorator of my space layout soon after the \<body\> tag:

```
...

<body #onLoadAttr() id="com-atlassian-confluence" class="$!theme.bodyClass $!sitemeshPage.getProperty("page.bodyClass") aui-layout aui-theme-default">
$helper.renderConfluenceMacro("{myusermacro}")?

...
```

This is, in theory, okay and I should expect to have the content title printed out as in the value attribute of my \<input\> tag.

However, for some reasons, the $content.getTitle() expression is not rendered in the HTML and what I get in my page HTML source code is the following output:

```
...

<body #onLoadAttr() id="com-atlassian-confluence" class="$!theme.bodyClass $!sitemeshPage.getProperty("page.bodyClass") aui-layout aui-theme-default">
<input type="hidden" name="xxx" id="xxx" value="$content.getTitle()" />

...
```

Instead of:

```
...

<body #onLoadAttr() id="com-atlassian-confluence" class="$!theme.bodyClass $!sitemeshPage.getProperty("page.bodyClass") aui-layout aui-theme-default">
<input type="hidden" name="xxx" id="xxx" value="My Page Title" />

...
```

Please, can you help me solve this mystery?

Many thanks!


Answers:
author: Alex Medved _ConfiForms_
body: Simone, in user macro you can access current page through **action** object, which is available is the context

```
${action.page.title}
```

comments: author: Simone_Avossa
body: Thank you [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630). I tried as suggested, but $action.page does not seem to be available either...


author: Alex Medved _ConfiForms_
body: Why not to use this in a page layout?

Main decorator does not know about the page, I afraid


author: Simone_Avossa
body: Using Page Layout solved the issue!


author: Bill Bailey
body: I think your issue has to do with the difference in context. $content.getTitle(), is intended to be used in a page, i.e., the content is the page.

Used in the Main Decorator, there is no content per se. There is probably something like $currentPage.getTitle() that would work. You would have to look through the API docs to find the correct reference.


Tags: confluence-server

server

user-macro
Confluence: possibility to show the sum of story points?
Asked by Simon Keppeler:

Hi,

we use Confluence and Jira Software both as cloud version.

Are there a free solution to show the sum of story points of an filter in confluence?

In Jira reports (e.g. sprint report) you can find these.

But I can?t find this in confluence as a function.

Thanks a lot for your help.

![Screenshot_StoryPoint_Sum.jpg](/t5/image/serverpage/image-id/54317iB5385E5D4946ECA9/image-size/large?v=v2&px=999 "Screenshot_StoryPoint_Sum.jpg")


Answers:
author: Dave Theodore [Coyote Creek Consulting]
body: The [Two-dimensional Filter Statistics Dashboard Gadget](https://confluence.atlassian.com/jira064/adding-the-two-dimensional-filter-statistics-gadget-720416991.html) can do this. You'd need to set up a Filter that displays the issues you're after, and then use it to feed the gadget.

comments: author: Simon Keppeler
body: Hi Dave, thanks for your fast answer. I have tried this gadget but I don?t find the StoryPoints there. I can choose a lot of porperties, but not the StoryPoints. Can you help me? :)


author: Craig Hurley
body: I have the exact same requirement, and tried the same suggested solution without success. Story points is not listed, which is shame because it would be very useful.


author: Sthiven Pinilla
body: Same request here, I'm surprised "Story Points" is not available in most of the Gadgets.


author: Andy
body: Same here


author: Suvendu Banik
body: Story Point is a custom field that is why it is not available in most of the tools.


author: GC
body: That's actually not accurate, Story Points is not a custom field its standard Jira out of the box - how else would they support Scrum if it wasn't provided as standard?

The reason story points doesn't show up in this gadget as an option is because most gadgets can only use fields that are of certain formats - ie this gadget doesnt work with numeric values


Tags: cloud

confluence-cloud
Scheduling Projects
Asked by James Allen-Lewis:

We're looking for a way to better plan the work of our developers. Currently issues are assigned and developers jump around projects as required. To better plan for the future we'd like a calendar type view with all the developers and the ability to easily assign developers to one or more projects on a day to day basis.

Can anyone suggest a way of doing this or a suitable plugin?

We have both Jira Cloud and Confluence.


Answers:
author: Diego
body: Hello there!

James, we could use the *Timeline View* for the Team Calendar macro in Confluence. This would look like this in *Edit* *Mode*:

![Screen Shot 2019-05-15 at 17.43.12.png](https://community.atlassian.com/t5/image/serverpage/image-id/54698i0AF1055CB7401E6A/image-dimensions/560x305?v=v2 "Screen Shot 2019-05-15 at 17.43.12.png")

And like this in *View Mode*:

![Screen Shot 2019-05-15 at 17.45.16.png](https://community.atlassian.com/t5/image/serverpage/image-id/54699i68D2DBBE3E984380/image-dimensions/549x361?v=v2 "Screen Shot 2019-05-15 at 17.45.16.png")

If we look at the "swimlanes" the macro has given us, we can see who is invited to those events. Also, if we have enough permissions editing those events is then possible. With this power, developers can be re-assigned to another project easily.

What we could do is:
> 1. Create a *New Calendar*
>    1. **[Create, add and edit calendars](https://confluence.atlassian.com/teamcal/create-add-and-edit-calendars-654213559.html)**
> 2. Add events as needed
> 3. Add the Calendar Macro from Team Calendars in a page where you could access it
> 4. Switch to *Timeline View*
> 5. Publish the page

Hey James, let us know if this helps you out! Looking forward your reply.


Tags: team-calendars-for-confluence

atlassian-marketplace

confluence-cloud

jira

jira-cloud
How can I link text to navigate to a certain section of the page?
Asked by Nischal Sharma:

I want to link a word to a particular section of my confluence page. Every time the user would click on this word they would be navigated to that particular section in the page. Is there a way to do this?


Answers:
author: Andrew
body: Hi [@Nischal Sharma](/t5/user/viewprofilepage/user-id/1232924) ,

Look anchor links <https://confluence.atlassian.com/confcloud/insert-links-and-anchors-724764900.html>

B.R.


Tags: cloud

confluence-cloud
Error export pages to pdf or WORD files
Asked by ?????????? ???????:

Hello!  
Faced with the problem of exporting pages to the files of MS WORD.  
I use Confluence Cloud, I export to the format I need, the export is successful, but in the html document itself.  
Tell me, what needs to be done to fix this?

![Screenshot from 2019-05-13 11-08-10.png](/t5/image/serverpage/image-id/54295iF6841C7D92FB0682/image-dimensions/597x336?v=v2 "Screenshot from 2019-05-13 11-08-10.png")


Answers:
author: Shannon S
body: Konstantin,

Thank you for contacting us about this. I'm happy to help!

I'm a bit confused about the results of your Word export. The example you're showing me appears to be an email's raw text.

1. Can you explain exactly what you're trying to export?
2. Does this occur for all pages?
3. Can you show me what the content of a page looked like before and then the result of the export?
4. Can you confirm that you're not using any add-ons or 3rd party products in order to accomplish this export?

Thank you for your help!

Regards,

Shannon

comments: author: ?????????? ???????
body: Hello!  
I am trying to export a regular page, the only thing there are Russian characters:

![Screenshot from 2019-05-15 06-02-26.png](https://community.atlassian.com/t5/image/serverpage/image-id/54583i25BD864A58B7197E/image-dimensions/541x304?v=v2 "Screenshot from 2019-05-15 06-02-26.png")

Next, using a pair of tools, I export this page:

![Screenshot from 2019-05-15 06-02-32.png](https://community.atlassian.com/t5/image/serverpage/image-id/54584iB509B206F30E1387/image-dimensions/539x304?v=v2 "Screenshot from 2019-05-15 06-02-32.png")

And open the saved document:

![Screenshot from 2019-05-15 06-08-31.png](https://community.atlassian.com/t5/image/serverpage/image-id/54585i16A757B867CD0428/image-dimensions/538x303?v=v2 "Screenshot from 2019-05-15 06-08-31.png")

PS On the server version did not meet such a problem.


author: Shannon S
body: Konstantin,

Thank you for providing those details. I see now that you are running into this bug:

* [CONFCLOUD-26113](https://jira.atlassian.com/browse/CONFCLOUD-26113) *Export Page to Word should support Office, Open Office and Google Docs*

Please click **This affects my team** and watch the case in order to receive any updates about this in the future.

Lastly, can you confirm if you can open the same document in Microsoft Word? I'm not able to replicate it myself, so I believe this bug might be related to the fact that you're using LibreOffice.

If you're not able to test with a copy of Microsoft Word, then I would recommend the workaround as mentioned from the bug ticket:

Export the page as a PDF, and convert the PDF to Microsoft Word Format:

1. Export the page to PDF. Once you do this, you can follow [this documentation](http://support.microsoft.com/kb/187700 "Follow link") to convert it to .doc.
2. Use [this](http://www.adobe.com/products/acrobat/pdf-to-word-doc-converter.html "Follow link") PDF to Word Doc Converter.

Can you try that and let me know if you're able to get the Word document?

Regards,

Shannon


Tags: cloud

confluence-cloud
Viewing and Editing Files Mode
Asked by Beatriz Manjarr?s:

In Confluence file editing, there's some way to block the file if someone else has it in edit mode.  
Or that it can only be visualized if someone is editing it.

Thanks!


Answers:
author: Shannon S
body: Hello Bea,

Welcome to Community; it's nice to meet you!

I believe you're referring to the Atlassian Companion app, which can be used to [edit files in Confluence](https://confluence.atlassian.com/confcloud/edit-files-724765124.html).

There's not a way to prevent simultaneous edits within the Companion App, but we do have a feature request below:

* [CONFCLOUD-65425](https://jira.atlassian.com/browse/CONFCLOUD-65425) *Block simultaneous edits for Atlassian Companion*

In addition, we have two similar requests to improve the functionality, since, at the time of this post, changes are not currently merged when a document is edited at the same time:

* [CONFCLOUD-62098](https://jira.atlassian.com/browse/CONFCLOUD-62098) *Improve Atlassian Companion to allow multiple saves*
* [CONFCLOUD-65595](https://jira.atlassian.com/browse/CONFCLOUD-65595) *Implement concurrent editing of documents using Companion App*

Please do vote on the requests above that apply to your situation. You can watch them in order to be updated of any progress.

Thank you for your understanding, and do let me know if you have any questions.

Regards,

Shannon


Tags: confluence-cloud
Macro not working with some users
Asked by Teemu Niemi:

Some of users are experiencing small annoyance when using Jira macro in Confluence. They are using Mozilla Firefox -browser and for some reason, when they add https:// -link for Jira issue, it doesn't auto-resolve to Jira macro. Link stays as an normal www-link.

Macro works perfectly when they add {jira:key=ABC-1234}. I believe this is something to do with their browser settings, because when I am adding https:// -link, it autoresolves correctly.


Answers:
author: Diego
body: Hello there!

As I understand, when specific users copy and paste a specific Jira Issue link into Confluence the link is not converted automatically. Is that right?

If the above is correct, we can try a set of different things:
> 1. The same users try *another*browser
> 2. The same users try *incognito mode* in Firefox
> 3. A non-affected user tries Firefox *in another machine*
> 4. A non-affected user tried Firefox *in the same machine*of one of the affected users
> 5. Try to add the links into *another page*

I also found one of our articles about this specific behaviour, here:

**[JIRA links fail to auto-convert to JIRA macros in Confluence editor](https://confluence.atlassian.com/confkb/jira-links-fail-to-auto-convert-to-jira-macros-in-confluence-editor-800862617.html)**

With the content above in mind, we could try and check if the following add-ons are enabled:
> * JIRA Macros Plugin
>
> * jira-connector
>
> * Confluence Paste Plugin

Would it be possible for you to check if those plugins are enabled?

Let us know from you Teemu. Looking forward to your reply.

comments: author: Teemu Niemi
body: We have tested this in our enviroment for sometime. Problem seems to be some kind of browser setting. Internet Explorer auto-resolves correctly, also Mozilla Firefox version 60.6.1esr. Users are reporting errors when using Google Chrome or at least Mozilla Firefox 66.0.5.

I have read earlier that article and all plugins are enabled. Problem seems to be some what related to earlier security patching to Confluence version 6.6.13, because before that auto-resolving was working. Or both Google Chrome and Mozilla Firefox -browsers have received some updates, which have broken this feature.


Tags: confluence-server

server
OAuth Result: oauth_problem=permission_unknown with 2-leg OAuth
Asked by mk_scisystems:

Currently we integrate our own application with confluence and get an oauth_problem=permission_unknown result even though i gave permission for the application. After that, we received the verification code over the authorization url. If i now try to get an access token, i get oauth_problem=permission_unknown as result.

Can anybody tell me whats going wrong here?


Answers:
author: Andy Heinzer
body: Hi,

What version of Confluence is this? I'm curious to see if you find any other exceptions along with this permission_unknown error. Typically when we see this there are also other errors along the lines of 'token_rejected', if that is the case here then I would recommend trying to walk through the KB [OAuth error oauth_problem=token_rejected](https://confluence.atlassian.com/kb/oauth-error-oauth_problem-token_rejected-720406738.html).

If you are not seeing that specific error, it might help to try to completely remove the application link and attempt to recreate it in order to see if we are seeing other precursor errors in the logs that might give us more information here.

Andy

comments: author: mk_scisystems
body: Hi,

it's the latest version 6.15.4. There're no ohter exceptions in the result. We recreated the app link, error is still the same. Can you tell me the specific log file an log level to see any detailed info / error messages about the oauth processing?

Michael


author: Andy Heinzer
body: The information I would expect from this would be in the $CONFHOME/logs/atlassian-confluence.log file. For an error like this, there is not an additional logging package for us to debug on.

Could you provide us with the complete error message as it appears in the logs? I'm curious to see if we can learn more about this with a complete error message. I am afraid that we are only seeing this error without sufficient information about the environment to be able to help troubleshoot this.

Andy


author: mk_scisystems
body: Hi Andrew,

actually we run through the whole OAuth Dance and checked the log. There is no error thrown in the log and the return code is still 401 with oauth_problem="permission_unknown".

Michael


author: liuyangyi
body: first you need get http://\*/plugins/servlet/oauth//authorize?oauth_token=DZZfvRy\[redactedtoken\]avcW and click allowed permission


Tags: confluence-server

server
Is it possible to switch the output format of Word export?
Asked by Steffen Schmidt:

Dear Community,

last Tuesday we upgraded the Confluence Installation of one of out Customers to release 6.15.2. A few days later the Customer noted, that the word export now produces a .doc file instead of a .docx file.

Since my own attempts to switch the file format or find out if it is even possible to switch the format were in vain. I would like to ask you, if this can be done or if we are wasting or time on this one and should just get an extension to create word exports?

Thank you in advance

- Erik


Answers:
author: Steffen Schmidt
body: So I contacted our Customer and found out, that you were both absolutely right. The local Administrator had tested a few export tools because they wanted to change the layout of the default pdf export without editing css.

At the time I administrated the update the tools were no longer installed, so I did not expect anything of this sort. Some of the addons probably left their marks on the Confluence Installation and somehow caused the Word Export to be .docx by default.

Thank you for your help

Have a great Week

- Erik

comments: author: Shannon S
body: Thanks Steffen! Glad to hear you were able to determine the add-ons were providing the .docx functionality.

Take care, and have a pleasant rest of your week.

Regards,

Shannon


author: Shannon S
body: Hello Erik,

That's a very interesting case, thank you for bringing it up there.

For as long as I can remember, and when testing with previous versions of Confluence, the Word exports are created in .doc format, and not .docx. I've reviewed past tickets as well and can confirm this.

The .doc format for me is more universal because then I can open it in more applications than support .docx files, and I believe this might be the reasoning behind the choice to export to .doc.

If your exporter was previously creating .docx files, there's a possibility you were using an add-on.

If you aren't sure which add-on was providing that functionality, I believe [Scroll Word Exporter for Confluence](https://marketplace.atlassian.com/apps/24982/scroll-word-exporter-for-confluence?hosting=server&tab=overview) might provide that? I see that .docx is supported but it's not clear to me if it will export in that format, but it would be worth taking a look at.

Let me know if you have any questions!

Regards,

Shannon


author: Steffen Schmidt
body: Hello Shannon,  
hello Nils,

thank you for your reply!

I will make contact with our customer and find out if any extensions were used. We have not installed anything of this sort, but there is of course always the possibility that someone else installed a trail version on an addon which is no longer active now.

I will report back once I know more ;)


author: Nils Bier _K15t_
body: Hi [@Shannon S](/t5/user/viewprofilepage/user-id/510046)

Yep, our Scroll Word Exporter creates \*.docx files. [@Steffen Schmidt](/t5/user/viewprofilepage/user-id/1839728) could it be possible that you've used our app here before?

Cheers,  
Nils


Tags: confluence-server

server
Using word marco for multiple pages
Asked by Sibi Mathew:

Hi,

I am trying to use WORD macro for add around 150 documents. Is there a way to automate this?

<br />

Regards,  
Sibi


Answers:
author: Shannon S
body: Hello Sibi,

Happy to help you with this.

Could you tell us a bit more about your situation?

1. What is your Confluence version?
2. Are the documents already uploaded into Confluence, or do you need to automate this as well?
3. Are all the documents in a single page or space?
4. Do you need to be able to create pages?

Thank you!

Regards,

Shannon

comments: author: Sibi Mathew
body: Hi Shannon,

Thanks for getting back. I probably will refine my question. I am changing the topic to HTML from WORD.

I have a folder with 400 HTML files and around 8 JPG files. These are part of a specification and I can navigate between this using say Internet explorer. Now I want to add these to Confluence and have the same navigation easiness.

Is it possible to add them in one go?

My confluence version is

### Confluence 6.6.7 {#toc-hId-1060431733}

Regards,S  
ibi


author: Shannon S
body: Hello Sibi,

Thank you for clarifying that. Unfortunately it's not possible to do something like this out-of-the-box, but you might be able to [find a Marketplace Add-on](https://marketplace.atlassian.com/search?product=confluence&query=import%20html) that provides this functionality.

You can find our current import options below:

* [Import Content into Confluence (for 6.6.\* versions)](https://confluence.atlassian.com/conf66/import-content-into-confluence-943961917.html)

Another option would require you to convert the HTML files to Confluence XML, and import them using [the REST API](https://developer.atlassian.com/server/confluence/confluence-server-rest-api/).

Lastly, we have two feature requests open for this (one for Server, one for Cloud):

* [CONFCLOUD-1072](https://jira.atlassian.com/browse/CONFCLOUD-1072) *HTML import into Confluence (Cloud)*
* [CONFSERVER-1072](https://jira.atlassian.com/browse/CONFSERVER-1072) *HTML import into Confluence (Server)*

I encourage you to vote on the one that is related to your version, and watch in order to be updated of changes.

One more thing, but your Confluence version of 6.6.7 is currently open to exploit. We had a security advisories in March and April. At this time you will need to upgrade as soon as you can to avoid being exploited.

For more information, please read below:

* [Confluence Security Advisory - 2019-03-20](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-03-20-966660264.html)
* [Confluence Security Advisory - 2019-04-17](https://confluence.atlassian.com/doc/confluence-security-advisory-2019-04-17-968660855.html)
* [Confluence CVEs and common questions](https://community.atlassian.com/t5/Confluence-articles/Confluence-CVEs-and-common-questions/ba-p/1062634)

Let me know if you have any questions about that.

Regards,

Shannon