youngmon/atlassian-qna huggingface dataset:
Typo in German translation
Asked by Oliver Gramberg:

[https://wiki......./plugins/inlinetasks/mytasks.action -](https://wiki......./plugins/inlinetasks/mytasks.action?-) does this point to a core function or a plug-in? Anyways,

"Sie sehen nicht all ihre Aufgaben? F?r mehr Flexibilit?t erstellen sie eine [Aufgabenbericht](https://wiki.swisscom.com/plugins/inlinetasks/mytasks.action#) Seite."

"ihre" --\> "Ihre"

"sie" --\> "Sie"

"Aufgabenbericht Seite" --\> "Aufgabenberichtsseite"


Answers:
author: Thomas Schlegel
body: Hi Oliver,

Aufgaben / Tasks is a core function in Confluence, no plugin needed.

Viele Gr??e aus Hamburg

Thomas


author: Oliver Gramberg
body: Anyway, any answers to my initial question?


author: Davin Studer
body: If you go to <https://translations.atlassian.com/> you can edit the translation so that it can be corrected in a future release. To fix it now in you system check out the [InProduct translation for Confluence](https://marketplace.atlassian.com/plugins/com.atlassian.translations.confluence.inproduct/server/overview) add-on. It allows you to override the default translations.

comments: author: Oliver Gramberg
body: I went to <https://translations.atlassian.com/>, but the search did not find the words in question. It seems I can only search for the original English? Useless.


author: Davin Studer
body: Yeah, that doesn't help much. Can you post a screenshot of those translations and I could tell you what the English is so that it would be easier to locate and re-translate?


author: Davin Studer
body: I think I found it on [translations.atlassian.com](https://translations.atlassian.com/dashboard/translate?lang=de_DE#/48/0/All Groups/ALL/Not%20seeing%20all%20your%20tasks%3F%20For%20more%20flexibility%2C%20create%20a). This link should take you right to the entry to re-translate it.

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


author: Oliver Gramberg
body: Thanks, that did it. Now, where can I go and suggest a function to search for the translated text, not the English original?


author: AnnWorley
body: <https://jira.atlassian.com> is our public issue tracker, you may open the suggestion there. :)


author: Davin Studer
body: [TRANS-808](https://jira.atlassian.com/browse/TRANS-808) Seems to request the ability to search by translation.


author: Oliver Gramberg
body: Thanks to all. I upvoted TRANS-808. Let's hope the best.
Scroll PDF Exporter: Create List of Tables
Asked by Marcel Woschek:

Hello guys,

while I was creating a new template for the Scroll PDF Exporter (Version 3.5), I couldn't find any generic way to create a list of tables or a list of images, equal to the TOC.

Is there any default placeholder or functionality to generate such a list?

Thanks in advance

Marcel


Answers:
author: Vero Rivas
body: Hi [@Marcel Woschek](/t5/user/viewprofilepage/user-id/853668)

Look at this posts, maybe can help you

<https://www.youtube.com/watch?v=r2ye_Kt537o>

[https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview\&hosting=cloud](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?tab=overview&hosting=cloud)

Cheers


Tags: addon-com.k15t.scroll.scroll-pdf

k15t

scroll-pdf
Why is the built in preview not working when utilizing the 'content by label' macro?
Asked by Thomas Berger:

When using 'content by label' to compile a list of content, the attachments (PDF) are not being previewed but downloaded right away.  
The preview function is working when I manually reference a PDF attachment on a page.  
Why is content by label not allowing the preview. This is a strange user experience (UX)!  
We don't want the attachments to be always downloaded, since that takes too long and user will keep outdated versions on their computer.  

How can we get the preview working for content type 'attachment' when using the 'content by label' macro?


Answers:
author: AnnWorley
body: It doesn't work for me on my Confluence 6.2.3 test instance, either, so I opened this suggestion for the dev team: [As a user I would like PDF attachments to preview when displayed via content by label macro](https://jira.atlassian.com/browse/CONFSERVER-52726)

I started to open it as a bug but I am not sure whether the intended behavior is to preview or download. As you pointed out, it is certainly an inconsistent experience as .png images do preview just fine in the content by label macro.


Tags: server
get-metadata macro inside profile macro
Asked by Pongsakorn Jirachanchaisiri:

Hello,

I create some page on confluence and

I get metadata value (Staff ID) such as AB12345 from Comala workflow

and I want it to refer in profile to show my name and email. So, I did

{profile: user={get-metadata: name=StaffID} }

It doesn't work. Somebody help me please, with many thanks.


Answers:
author: Pablo Gallego _Appfire_
body: Hi,

A workaround for your case could be using value references if you want to show the profile info of the user behind the StaffID value. This would only be suitable if you want to show the profile info in all the pages were the workflow is applied.

Adding the following page-header macro (or in a set-message macro) to the workflow would show the user profile info of StaffID user:

{pageheader}  
{profile: user=@StaffID@ }  
{pageheader}

Hope that helps

Pablo


Tags: comala

workflow
confluence API return http 500
Asked by rackhd:

.NoSuchMethodError: com.atlassian.crowd.embedded.api.CrowdService.authenticateWithHostname


Answers:
author: Andy Brook
body: Apaprently this was a cloud bug -

<https://jira.atlassian.com/browse/CONFCLOUD-55771>

Though I cant load it right now due to maintenance.

base64 authenticated rest calls are now working again.


author: Fernando Boucquez (PPL)
body: We are seeing the same problem in cloud.

The confluence's endpoint is /rest/api/content/search?cql=... fails when using basic authentication.

![Selection_596.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/3297iABF4BD36C8B9441C/image-size/large?v=v2&px=999 "Selection_596.jpg")

Note that the same operation works when No Auth.

![Selection_597.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/3296iACE10E1BC88A104B/image-size/large?v=v2&px=999 "Selection_597.jpg")


author: Lars Olav Velle
body: What are you trying to do?

-Lars
export username,emails,Phone number
Asked by Kasi:

I am the adming for confluence, i would like to export all usernames,email id and phone numbers.

<br />

note i to have access to postgress db.

<br />

i see all user id are under cwd_user and the phone numbers are under OS_PROPERTYENTRY table but somehow not able to link.  
Please help


Answers:
author: Kasi
body: Hi Andre,

Thanks for help but it did not helped.I am looking for 2 columns email and phone number.

Above query returned as below which will not help.

string_val \| username ----------------------------------------------------------+---------------------------------- XXX-XXX-XXXX \| c6aa8eee44dc96a00144dc985a4500ac XXX-XXX-XXXX \| c6aa8eee44dc96a00144dc985b3601da XXX-XXX-XXXX \| c6aa8eee44dc96a00144dc985a6e00e3 XXX-XXX-XXXX \| c6aa8eee44dc96a00144dc9859f50057 XXX-XXX-XXXX \| c6aa8eee44dc96a00144dc985b8a0255


author: Andy Heinzer
body: It looks like this same kind of question was answered over on [Solved: Which Database table stores User Profiles? - Atlassian Communities](https://community.atlassian.com/t5/Answers-Developer-Questions/Which-Database-table-stores-User-Profiles/qaq-p/535629 "Solved: Which Database table stores User Profiles?")  

From that post [@jing_hwa_cheok](/t5/user/viewprofilepage/user-id/781637)added this SQL query to locate that information from the SQL database:

```
SELECT? OS_PROPERTYENTRY.string_val, CONTENT.USERNAME
FROM OS_PROPERTYENTRY
INNER JOIN CONTENT
ON OS_PROPERTYENTRY.entity_id=CONTENT.CONTENTID AND OS_PROPERTYENTRY.entity_key='confluence.user.profile.phone';
```

<br />

This SQL query appear to be able to join the phone number field from the OS_PROPERTY table with the ID number in the content table that corresponds to the username. Perhaps this will help.


Tags: database

developer

export
I have a calendar on a page, but Users do not see "Watch"
Asked by Patrick Pisano:

Users are trying to Watch the calendar, but the option is not there. I can see the option in Calendars for other Spaces, but why can't they see mine?


Answers:
author: StephR
body: There are two ways to see a calendar with on a Confluence page. One is to view the calendar directly and the other is to place the Team Calendars macro on an existing page.

If you are viewing the calendar page directly, you will not see a Watch option in the upper right. You can also tell that you are viewing this type of page because the favicon in your browser tab will look like a little calendar.

If you are viewing this type of page, the way to watch is to to select the three dots next to the calendar name and choose the Watch option from the dropdown.

I hope this helps!
How to add all users as watchers for a space in Confluence Cloud?
Asked by Sharon Connell:

Is there a way (other than adding each user) to make all Confluence users a watcher of a space?


Answers:
author: AnnWorley
body: Based on this suggestion ticket, I don't think we will be able to add groups or batch add users as watchers any time soon. [Ability to notify a group when a page blog or space is changed (group watches)](https://jira.atlassian.com/browse/CONFSERVER-20118)

If email notifications are what is needed, please consider the workaround on the ticket: "...create a mailing list for the group, create a user in Confluence with the email address set to the mailing list, then add that user as a watcher on the page/blog you wish to watch."

comments: author: Sharon Connell
body: Thank you, Ann. I wanted to make certain I was not overlooking anything.


author: AnnWorley
body: Thank you for commenting on the ticket, Sharon. :)
Gadget giving an error in Confluence
Asked by sn:

hi,

users of Confluence 5.10 server.

im trying to add a activity gadget to a page and when i try to insert i get this error.  
Requests to <http://confluence.penske.com/rest/activity-stream/1.0/config> are not allowed. See your administrator about configuring a whitelist entry for this destination (<http://confluence.atlassian.com/x/KQfCDQ> ).  
Requests to <http://confluence.penske.com/rest/activity-stream/1.0/preferences> are not allowed. See your administrator about configuring a whitelist entry for this destination (<http://confluence.atlassian.com/x/KQfCDQ> ).

i tried adding the <http://confluence.penske.com/rest/activity-stream/1.0/config> to whitelist but it dint work.

when i click on the get the URL for gadget, i get below error

(<https://confluence.penske.com/rest/gadgets/1.0/g/com.atlassian.streams.confluence:activitystream-gadget/gadgets/conf-activitystream-gadget.xml>)

This XML file does not appear to have any style information associated with it. The document tree is shown below.

thanks !


Answers:
author: AnnWorley
body: The activity gadget works as expected on my 5.10.x test instances. You shouldn't have to whitelist the Confluence URL on the same Confluence instance. My theory is that something has gone wrong on the network (like a proxy configuration) or else the Base URL is not right as in this article: [Confluence Activity Stream Gadget is broken](https://confluence.atlassian.com/confkb/confluence-activity-stream-gadget-is-broken-777025940.html)

Please make sure the proxyName, proxyPort and scheme are inside the connector directive of your server.xml file if you have a reverse proxy in front of Confluence. Please see [Proxy Support](https://tomcat.apache.org/tomcat-8.0-doc/config/http.html#Proxy_Support) for details. The server.xml in Confluence is in the \<confluence_install\>/conf directory. The connector should be similar to this:

```
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"                maxThreads="48" minSpareThreads="10"                enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"                protocol="org.apache.coyote.http11.Http11NioProtocol"                 proxyName="www.example.com" proxyPort="80" scheme="http"/>
```

If you add proxy support to the server.xml, Confluence must be restarted to pick up the change.
How to execute a pig script in apache Airflow? I am trying to execute a pig script but getting error
Asked by parool singh:

This is my pig script

data =load 'textfile' using PigStorage('\\n') as (line:chararray);  
dump data;

This is the airflow dag script PigOperator configurations:

pig_script= open('/home/cloudera/pig_script.pig').read()  
t4 = PigOperator(  
task_id= 'pig_job',  
pig_cli_conn_id= 'hive_conn_inet',  
pig =pig_script,  
pigparams_jinja_translate=True,  
depends_on_past=False,  
dag=dag  
)

This is the error i am getting :

\[2017-06-28 06:55:15,047\] {models.py:1219} INFO - Executing \<Task(PigOperator): pig_job\> on 2017-06-28 00:00:00  
\[2017-06-28 06:55:15,093\] {pig_operator.py:50} INFO - Executing: data =load 'textfile' using PigStorage('\\n') as (line:chararray);  
dump data;  
\[2017-06-28 06:55:15,116\] {base_hook.py:53} INFO - Using connection to: 10.20.174.2  
\[2017-06-28 06:55:15,124\] {models.py:1286} ERROR - a bytes-like object is required, not 'str'  
Traceback (most recent call last):  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/models.py", line 1245, in run  
result = task_copy.execute(context=context)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/operators/pig_operator.py", line 52, in execute  
self.hook.run_cli(pig=self.pig)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/hooks/pig_hook.py", line 41, in run_cli  
f.write(pig)  
File "/root/anaconda3/lib/python3.5/tempfile.py", line 483, in func_wrapper  
return func(\*args, \*\*kwargs)  
TypeError: a bytes-like object is required, not 'str'  
\[2017-06-28 06:55:15,132\] {models.py:1298} INFO - Marking task as UP_FOR_RETRY  
\[2017-06-28 06:55:15,133\] {models.py:1327} ERROR - a bytes-like object is required, not 'str'  
Traceback (most recent call last):  
File "/root/anaconda3/bin/airflow", line 15, in \<module\>  
args.func(args)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/bin/cli.py", line 352, in test  
ti.run(force=True, ignore_dependencies=True, test_mode=True)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/utils/db.py", line 53, in wrapper  
result = func(\*args, \*\*kwargs)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/models.py", line 1245, in run  
result = task_copy.execute(context=context)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/operators/pig_operator.py", line 52, in execute  
self.hook.run_cli(pig=self.pig)  
File "/root/anaconda3/lib/python3.5/site-packages/airflow/hooks/pig_hook.py", line 41, in run_cli  
f.write(pig)  
File "/root/anaconda3/lib/python3.5/tempfile.py", line 483, in func_wrapper  
return func(\*args, \*\*kwargs)  
TypeError: a bytes-like object is required, not 'str'


Answers:
author: Nic Brough -Adaptavist-
body: I think you've landed in the wrong place. You'll need to explain what this has to do with Atlassian products if you have not.


Tags: bitbucket
Can you query an embeded calendar?
Asked by Tanya Cascun:

As a company we maintain a calendar in confluence to track birthdays, vacations and other personal events. I have additional spaces for each of our client projects which has a calendar that pertains to that client. However, I would like to embed a portion of our company calendar that involves the people working on that project only. For instance, I want to see the vacation scheduled for the people on the team for that space only. Is that possible?


Answers:
author: Vero Rivas
body: Hi [@Tanya Cascun](/t5/user/viewprofilepage/user-id/1134812)

Look at this post, maybe can help you

<https://support.atlassian.com/confluence-cloud/docs/embed-calendars-on-confluence-pages/>

Cheers


Tags: team-calendars-for-confluence
Personal Confluence
Asked by jack fieldman:

is anybody aware of a personal version available at any point?

I like the corporate one but would like to sign up for a personal confluence.


Answers:
author: Nic Brough -Adaptavist-
body: There is no "personal" licence for Confluence. You'll need to sign up to a 10 user Cloud licence or buy a 10 user Server licence (the server is a $10 annual cost!)
How do you keep the content of your site up to date and duplicate free?
Asked by Martin James:

Recently I've been wondering how does everyone keep the content of their site up to date and duplicate free?

We have a large instance with documents in their tens of thousands, with a large bulk of them being over 12 months old. I don't think I would have any sucess if I was to approach a user with 800 pages and say that 50% of their pages needs reviewing because of their age.

Also, how do you handle documents owned by unknown accounts?


Answers:
author: Frank Lippes
body: If you use Confluence cloud, you can try the free macro I created that lists the top most outdated pages. You can have your team look at the top 5 each day for example to have the outdated pages shrink over time.

[https://marketplace.atlassian.com/apps/1226276/keep-it-up-to-date?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1226276/keep-it-up-to-date?hosting=cloud&tab=overview)


author: Gary Pasquale
body: Hi Martin,

Not sure if this totally answers your question but we're planning to evaluate the following add-on:

<https://marketplace.atlassian.com/plugins/com.midori.confluence.plugin.archiving/server/overview>

It automates the process of ensuring Confluence pages are up to date and relevant.

Assuming your talking about pages rather than attachments...

Anything that is not can be archived/deleted.


Tags: confluence-administration
Search all pages with Metadata plugin used in it.
Asked by Alex Reed:

Hello

I was wondering if i can could get help with the information on the plugin - <https://marketplace.atlassian.com/plugins/org.andya.confluence.plugins.metadata/server/overview>

I need to find all pages where any macros of this plugin are present. As I see there is quite a number of those and there is a big change of missing them. I found that some info might be stored in **os_propertyentry** table. Like **"metadata.XXX".** But I'm not sure If I can select all macros using this syntax. As using the instruction I saw only description for finding metadata-list macro (see here - <https://community.atlassian.com/t5/Answers-Developer-Questions/confluence-4-x-understanding-where-quot-metadata-quot-is-stored/qaq-p/496305>).

Can anyone tell me the way (SQL in ideal way) I would be more than happy. Or I'd like to see some documentation on the plugin database structure if possible. Thank you.


Answers:
author: Nic Brough -Adaptavist-
body: You can just run "macroName: \<macro\>" in the search to get a list of pages it's used on.

With SQL, you're into searching the bodycontent table text for snippets of text referring to the macro, then joining with other tables to try to establish more information about the pages.

comments: author: Alex Reed
body: Indeed. Searching for each macro in Confluence earch tool was quite effective and too simple =)

I as still wondering if there is a way to search all macros from a particulat plugin without referring to each of the macro separately. Like as I don't know how many macros a particular plugin supports.

Anyway it is more of a food for thought. Thanks!


author: AnnWorley
body: Hi there Alex,

If you want to use SQL to find the macros you still have to know the macro names. The SQL is in this kb: [How to find all pages and spaces that use a specific macro via SQL](https://confluence.atlassian.com/confkb/how-to-find-all-pages-and-spaces-that-use-a-specific-macro-via-sql-747837116.html)

The macros are listed on this page: [Metadata macros](https://comalatech.jira.com/wiki/display/META/Confluence%20Metadata%20Plugin#ConfluenceMetadataPlugin-Metadatamacros).

Hope that helps,

Ann


author: Davin Studer
body: If you are using Confluence 5.10+ there is a Macro Usage page in Confluence Admin that shows you all the macros used in your system and groups them by add-on.

comments: author: AnnWorley
body: Well said! Thank you for mentioning that.


Tags: developer

metadata
Does anyone else who uses Cloud confluence & REST API+basic auth have connection error since GMT7am?
Asked by Lol Abrahams:

I cannot connect to conflence rest api(cloud based solution) using basic authentification, although If I put request in Browser it works(I have valid session and coockies there)


Answers:
author: Shannon S
body: Hello there,

On the 28th we were indeed having issues with REST API Authentication:

- [CONFCLOUD-55771](https://jira.atlassian.com/browse/CONFCLOUD-55771)

The issue has since been resolved. Can you please confirm if you are still having the issue?

Kind Regards,

Shannon


Tags: authentication

rest

rest-api
Confluence Mobile?
Asked by Antonio Abril Ledesma:

Hi everybody,

<br />

Anybody knows an app for confluence works? In negative case; Somebody knows if confluence will be available by mobiles app? Any news in the Atlassian roadmap?

Regards


Answers:
author: Davin Studer
body: If you access Confluence from a mobile device there is a mobile theme that is used. Also, if you use the Cloud offering there is an app for Confluence.

comments: author: Antonio Abril Ledesma
body: Thanks a lot Davin.


author: Christian Paredes
body: Well we are waiting for over a year for current apps to be active for servers. I don't see what problem would be to release it. It cannot be so hard to make it work for server isn't it?

Probably main reason of not doing it is to attack more clients to buy cloud! Something that I think is not wise for many companies.

During the last summit on one of the videos it was shortly started that apps will become available for server. But there is no release date or details anywhere else!

Inwould appreaciate a lot a bit more of transparency on the roadmap.

Same thing about getting new teams functionality and new look on server platform. No word about it. Quite disappointing from server user perspective. Does atlassian wants server users in the future at all? It surely does not feel like it.


author: Daniel Roller
body: If you are still interested in an mobile app for Confluence - we are currently working on a solution for iOS and Android that is in early beta: <https://marketplace.atlassian.com/plugins/net.seibertmedia.linchpin-mobile/server/overview>

We're supporting reading access to Confluence pages as well as to a selection of our own plugins. Evaluation is free until end of this year, so if you want just have a look at it - also we're happy to receive some feedback :)

Best wishes  
Daniel


Tags: mobile
Confluence => db (know the user logged in)
Asked by yaniv_shoshani:

Our security team would like to use a db firewall on the database,

For this firewall to work we will need to think of a way to add the user name that is logged in and doing the task to the query that is being sent to the db by the app.

Any ideas will be much appreciated.


Answers:
author: Nic Brough -Adaptavist-
body: If I understand this question, what you want is that when a query is run, to tie it back to "the logged in user who caused it to happen", so you can firewall based on them.

This is not going to happen because it can't work without rewriting the whole of Confluence.

The database is abstracted away from the users. There are queries that get run that simply aren't attributable to any specific user activities. You'll need to insert code in all sorts of places to pass the user activity back to the database driver for using it, and you'll still end up with a need for a "system user" to catch all the queries that you can't track to an individual. Finally, you'll need to consider what happens when a firewalled user attempts to write to the database. Without a complete rewrite, you will end up with a corrupted database.


Tags: confluence-development

confluence-server