youngmon/atlassian-qna huggingface dataset:
Why does the "Atlassian Companion App" exist?
Asked by Aron Ahlback:

Starting this morning i had to install the atlassian companion app to perform tasks which worked flawlessly already. As far as i can tell it does nothing, except handle redundant GUI elements which slow down some of my workflows with extra clicks for things which were a single click before and completely breaks one of my workflows for no apparent benefit.  

What does the companion app actually do, except bog down my existing workflows with redundant UI and slow down my workstation with an additional process?


Answers:
author: Davin Studer
body: Previously, in Confluence you could only edit Microsoft Office documents (Word, Excel, and Powerpoint) through Confluence without having to do the dance of downloading a copy of the attachment, editing the local copy, saving it, and then uploading it back into Confluence. The companion app adds that ability to other file types other than Microsoft Office. For instance you could attach a Photoshop file to a Confluence page and simply edit the file and save it without the hassle. If you do not like the Companion app or cannot use it because you are in an environment that does not support it (such as Citrix) you can disable that functionality and restore the old functionality through a [dark feature switch](https://confluence.atlassian.com/confkb/enable-edit-in-office-as-a-dark-feature-in-confluence-978217013.html).


author: Aron Ahlback
body: Thank you! I will reach out to my admins to see if this is a possibility for us.


Tags: confluence-server

server
Listener to monitor large attachments
Asked by Filip Labarque:

Hi,

I've created a listener in Scriptrunner for Confluence to monitor the upload of large attachments. I can get the attachment info (name, type, size) but how can I get the info on who uploaded the attachment (username, email)?

I'm using the AttachmentCreateEvent.


Answers:
author: Ilya Turov
body: I guess you can get list of attachments from the event (or a single attachment) and then look for those attachments creator(s).

I believe attachment's creator would be same person as the user who uploaded it.

```
event.attachment
```

would return you an [Attachment](https://docs.atlassian.com/atlassian-confluence/5.8.6/com/atlassian/confluence/pages/Attachment.html) object, then you can get the [ConfluenceUser](https://docs.atlassian.com/atlassian-confluence/5.8.6/com/atlassian/confluence/user/ConfluenceUser.html) object from it by doing

```
attachment.creator
```

and user then has (full)name and email fields you can access. well, it's all in the docs

comments: author: Filip Labarque
body: Thanks, in the mean time I've used:

```
user = AuthenticatedUserThreadLocal.get()
```

But I like your solution better.


Tags: com.onresolve.confluence.groovy.groovyrunner

confluence-server

scriptrunner

server
What does "last updated" mean when viewing a user?
Asked by Tom_tom:

For example, when you login as admin and click on a user to view their attributes and it shows,

Last Updated Nov 29, 2019 17:45

does this mean the last time a user has updated content in confluence? Or when content created by this user has been modified by another user? Or when this user has been mentioned?


Answers:
author: Sebastian Kurrek
body: Hello Tom Tom,

as far as i know it just displays the actions of this user. So the last time he created oder updated some content.

does this mean the last time a user has updated content in confluence?

- Yes

when content created by this user has been modified by another user?

- No

Or when this user has been mentioned?

-No

comments: author: Tom_tom
body: Ok thanks for the info


author: Pete Singleton
body: The last updated time against a user is the time the User Profile was last updated - not the time they last updated Confluence content.

comments: author: Tom_tom
body: Interesting: when a user update contents, won't that update a user profile in the "Activity" tab? The last updated seems to correlate with the date of the user's content change.


author: Sebastian Kurrek
body: I think that are two different thinks.

The Activity Tab will Update. But the Profile has its own "Updated" Attribute and this will update if the user profile was updated.

I Thought about the activity Stream


author: Tom_tom
body: Hmm, I know that I have not edited my profile today and my "last updated" shows today. The only action that I have done is to create a new page.


author: Pete Singleton
body: I'm using Confluence 6.14, and the Activity shows a list of most recent updates in Confluence.

The "last updated" against my user profile shows July 3rd 2019, which is when my account was created.


author: Sebastian Kurrek
body: Hope somebody can confirm or contradict my next information:

Im not sure if different authentications update your profile.

- like LDAP Sync

- or check your profile with every authentication


author: Tom_tom
body: That is interesting. The other user attributes ("Last login") are not updating and I'm using SSO via ldap, so maybe the "Last updated" is actually being mapped to the SSO's last login (my setup is not correct). Can anyone else confirm "Last updated" should only update when a user modifies their profile and doesn't make content changes?


author: Tom_tom
body: Yep last updated does not correspond to latest activity, been reviewing several users.


Tags: confluence-server

server
How can i see GIF in confluence?
Asked by Lisa Petit:

I do not have access to the gif in confluence


Answers:
author: Lisa Petit
body: I solve it it was a problem with the google chrome version!


author: Mike Bowen
body: Hi [@Lisa Petit](/t5/user/viewprofilepage/user-id/3659002)

Do you mean Giphy is not working, or just adding a GIF in general?

I just added my own gif, and published and it is working perfectly, however adding a gif from GIPHY withing the new editor, that does not seem to be working.

- Mike

comments: author: Lisa Petit
body: Thank you for your answer
bar text not displayed in Roadmap Planner
Asked by caroline.fonseca:

Created descriptive text for each bar in Roadmap Planner but bar display 'new bar' instead of the descriptive text. I can see the new text if I edit the bar.


Answers:
author: Jim Constant
body: I have the same problem. I edit the bar Description, it accepts it, but still it says 'New Bar' no matter what I do. I refreshed the page. I tried different browsers. I tried it on a Mac. I tried it on a Windows PC. Same thing.

How can the most basic thing you'd could possibly want to do with this macro not work?


Tags: confluence-server

server
How do I copy and paste a table from an older page to a new page (with new editor)?
Asked by Nicole Garnier:

The new version of the editor does not seem to recognize tables from pages originally made with the old editor. Why is this?


Answers:
author: Shannon S
body: Hello Nicole,

Welcome to Atlassian Community. It's nice to meet you!

When copying and pasting a table from the old editor to the new editor, you'll want to make sure to select the entire table, and not only the text inside the table. That may mean that you need to start your selection a line or two before or below the table, like this:

![Screen Shot 2019-12-03 at 17.19.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/74907iA3C7854FC11999FC/image-dimensions/509x259?v=v2 "Screen Shot 2019-12-03 at 17.19.36.png")

If I were to only select the text inside of the cells, then it only pastes the text of one cell. Is this what you are experiencing? If not, what is happening when you try to paste a table? Is the table nested?

Another option is to grab the table using Storage format. When viewing a page: **. . . \> View Storage Format**

You can then use a [source editor add-on](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=source%20editor) to paste the source into the appropriate place on a page.

Let me know if you have any questions about that.

Regards,

Shannon


Tags: cloud

confluence-cloud

copy

editor

paste

table
Content report table macro not showing all the pages in a space
Asked by Santhosh ESS:

Hi,

In Confluence cloud, we are using content report table macro. I added this macro to display all the pages with a label. But, one particular page is not getting displayed. No issue with permissions as I am the Site admin. Please advise.


Answers:
author: Shannon S
body: Hello [@Santhosh ESS](/t5/user/viewprofilepage/user-id/3592708),

Thank you for reaching out to us. As I understand, the support team was able to resolve this issue for you by running a full site reindex. Could you confirm that?

Regards,

Shannon

comments: author: Santhosh ESS
body: Yes, issue got resolved after re-index. Thanks much )


author: Shannon S
body: Thank you for confirming, Santhosh!

Have a pleasant rest of your week. :)

Regards,

Shannon


author: erick.coimbra
body: I have got the same issue. Report only showing one page and I have other two pages created.


Tags: confluence-cloud

macro

report

table
confluence installation on server throws Database connection failed
Asked by 9Inquest!:

Installed Confluence on a new system since the working system is giving the problem Tomcat appears to still be running with PID 19405. Start aborted.  
If the following process is not a Tomcat process, remove the PID file and try again:

Copied the home directory completely, created the installation directory and extracted the gz. and followed the installation procedure as it is. When I start the new system from confluence user, it shows it is running in the Linux console. But when I browse, it searches for 15 to 20 min and throws "cannot connect to the database error"

Please tell me how to make confluence to connect to the embedded h2 database

Thanks


Answers:
author: Charlie Misonne
body: Does the system you copied the home directory from also use the embedded h2 database?

In that case:

* Check the path pointing to the h2 database is correct in the \<confluence-home\>/confluence.cfg.xml is correct
* Check the linux user running Confluence has permissions to access the h2 database  
  --\> Check file ownerships


Tags: confluence-server

server
Roadmap Planner content disappears when trying to edit (google chrome)
Asked by wkjl:

I've created a large roadmap planner and it acted normally. I went to edit today, and every time I hit the edit botton, most of the lanes disappear except for 4 and most of the text dissappears, though it does retain a couple words (almost like it's reverting to an earlier version). When I cancel out the entire roadmap comes back.

Any help in trouble shooting would be great as it took me quite some time to make this (the editing window is a serious pain and you have to drag new bars down the lanes instead of creating them in the ones you're on - this was agonizing, and clearly a big mistake now)


Answers:
author: Shannon S
body: Hello [@wkjl](/t5/user/viewprofilepage/user-id/3658743),

Welcome to Atlassian Community. It's nice to meet you.

Can you tell me if you're able to replicate the issue, or does it seem like it was one-off? Was anyone else editing the page along with you? I'm curious if something went wrong with the collaborative editing.

If you're not able to replicate the problem, then you may want to raise an issue with the [Cloud Support Team](https://support.atlassian.com/contact) so we can look at your logs. If you need help raising a case with them, please let me know!

Regards,

Shannon

comments: author: wkjl
body: a


author: wkjl
body: a


author: wkjl
body: I actually just reverted to an earlier version and it fixed it. But now I can't trust it. It's incredibly unlikely that a session was started days ago where someone started editing when it had only 2 bars, then after all my work, a week later they saved, overwriting everything. Only 1 other person knew about the page. Some bug happened somewhere along the way and I lost sufficient time that I can't use this anymore. bummer.


author: Shannon S
body: Hello,

Thank you for confirming that reverting was able to fix the issue. To get a better idea of what happened exactly, we would need to see the actual server logs, which needs to go through the Support Team that I mentioned earlier.

I wasn't able to find any details on your Cloud instance based on your email address, but if you don't have a free license you can contact them directly via the [support portal](https://support.atlassian.com/contact?_ga=2.213261396.1594917007.1575284734-1642555208.1571221417), or I can help you to raise that issue.

Regards,

Shannon


Tags: cloud

confluence-cloud
Where is the macro "Code Block"
Asked by Andrea Strangis:

With the last update of confluence software the marco "Code Block" is disappeared.


Answers:
author: Mike Bowen
body: Hi [@Andrea Strangis](/t5/user/viewprofilepage/user-id/3658486)

It is now called **Code snippet** and can be accessed from the quick menu by pressing /

![Code snippet.png](https://community.atlassian.com/t5/image/serverpage/image-id/74652i83F62D1F05235A90/image-size/large?v=v2&px=999 "Code snippet.png")

- Mike
Bundles and plans.
Asked by Youssef Mohamed:

I want to know the details of standard and premium plans, and also their prices.

If I was a member before and I've already bought a bundle before, but they I closed it, Can I recover it now?


Answers:
author: Ste Wright
body: Hi [@Youssef Mohamed](/t5/user/viewprofilepage/user-id/3658426)

These are good resources for comparing the three different Cloud versions:

* Jira: <https://www.atlassian.com/software/jira/pricing>
* Confluence: <https://www.atlassian.com/software/confluence/pricing>
* Service Desk: <https://www.atlassian.com/software/jira/service-desk/pricing>

For recovering an old site you once had, I would advise contacting Support via <https://support.atlassian.com/> to see if there is an option to do this.

Ste

comments: author: Youssef Mohamed
body: I just want to reactivate an old site?


author: Ste Wright
body: Best to contact Support then as suggested above.

Ste
Connection between JIRA and Confluence
Asked by Thomas Taquet:

HI guys,

I have some trouble with the link between JIRA and Confluence.

For instance, from JIRA to CONFLUENCE :

* Notifications : OK
* Page creation from JIRA to Confluence (with plugin) : OK

But in CONFLUENCE :

* When I add the JIRA "create/filter" macro to a page, there's a window opening asking me to connect to Confluence... and it doesn't work, the window keeps poping...

When I finally get it through (with a lot of F5) :

* For "create a new demand" I get "Server error : 500"
* "recent history" and "JIRA Graphics" doesn't work as well

Any ideas ?

Thanks a lot


Answers:
author: Shannon S
body: Hello Thomas,

Thank you for contacting us about this.

Can you confirm with me what version of Jira and Confluence you are running?

I would recommend removing the application link on both sides and attempt to re-connect and see if that fixes things.

If it does not, you can proceed through the checklist from the [Application Links Troubleshooting Guide](https://confluence.atlassian.com/kb/application-links-troubleshooting-guide-718668765.html ). This will help you to narrow down the issue. If you continue to have issues, then you can let me know the details from that troubleshooting guide and we can proceed from there.

Regards,

Shannon

comments: author: Thomas Taquet
body: Hi Shannon,

JIRA version : 8.2

Confluence version : 6.1.3

But it doesn't seem to be relevant : we are testing JIRA V8.2 (was the same with the V7.6 before that) and Confluence V7.0.3 and that doesn't change a thing.

Thank you for your answer, we will take a look through the checklist form.

Regards,

Thomas


author: Shannon S
body: Thomas,

Thank you for confirming. Removing and re-adding application links does to fix any connection issues, so I hope that can work for you if you're not able to narrow-down the issue with the checklist.

Take a look at your logs as well when attempting to access Jira via Confluence, since there may be a hint as to what is wrong.

Regards,

Shannon


Tags: application-link

confluence-server

jira-server

server
Attaching image to Confluence page via restful API (Python)
Asked by norbert:

Hi,

I'm trying to attach image files to an existing Confluence page from Python, using the restful API. Other requests I am making (creating or updating pages) work fine, but I keep a getting a 500 Server Error whenever sending the POST request for attaching images.

I don't see what I'm doing wrong, but I also have very little HTTP experience. Here's my little bit of code:

```
with open(filePath, 'rb') as fp:
    # I know I am getting either .jpg or .png here, just extracting that info for the contentType
    contentType = 'image/%s' % os.path.splitext(filePath)[1].replace(".", "").lower()
    contentType = str(contentType.replace("jpg", "jpeg"))

    files = {'file': (filePath, fp, contentType)}
    headers = {'X-Atlassian-Token': 'nocheck'}

    # url, user, password and pageID are all correct values
    r = requests.post(url + "/%s/child/attachment" % str(pageID), 
                      headers=headers, files=files, 
                      auth=(user, password))
    r.raise_for_status()
```


Answers:
author: norbert
body: Solved this, the problem seemed to simply be "nocheck" instead of "no-check".

Bonus question though: is there any way to disable e-mail notifications when attaching or deleting attachements to a page?

I tried adding:

```
data={'version': {'minorEdit': True}}
```

But that doesn't seem to have an effect.


Tags: confluence-server

server
find/replace emoticon
Asked by Paul Joyce:

i have a confluence page with a table i have copied in from a spreadsheet. the cells contain ? or ?. i would like them to contain the confluence emoticons ![check.png](/t5/image/serverpage/image-id/74627iE39A334F55B2A5E7/image-size/large?v=v2&px=999 "check.png") and ![error.png](/t5/image/serverpage/image-id/74628i6CC39065C934966A/image-size/large?v=v2&px=999 "error.png") (shorthand for entry (/) or (x) ). if i find ? and replace it with (/) then i just get (/) literally in the cell.

how can i insert emoticons via find/replace?


Answers:
author: Mike Bowen
body: Hi [@Paul Joyce](/t5/user/viewprofilepage/user-id/1050443)

Short answer **NO**if you are using the old editor. The Replace field doesn't allow images and doesn't recognize the (/) as a shortcut. It sees that as the characters to be replaced. You can copy the new emoticon and paste over selected check, but it will be a manual process.

And it is a **NO** if using the new editor in confluence as it does not have the basic function of Search and Replace. For some bizarre reason Atlassian have removed it from the editor. :-(

However, you can in the new editor add your own emoji(s), give them a name (a couple of characters or a word) and then add them relatively quickly to your tables or pages by typing : and selecting it from the list OR typing : followed by shortcut character(s).  

Note: the shortcut name cannot contain brackets.

It is not the best solution but it works.

I thought perhaps it would be easier to do the search and replace from the source document, but I see Excel or Word doesn't support pasting in a emoji either.

- Mike


Tags: cloud

confluence-cloud
if there was anyway the settings in Confluence could be changed to open links in other tab?
Asked by Sandra Martin:

I was wondering if there was anyway the settings in Confluence could be changed to open links to documents in another tab. At the moment when I click on a hyperlink to a document, the document opens in the same tab. However if I am using Gliffy, the document opens in another tab. The preference is for all hyperlinks to open in a new tab.


Answers:
author: Ste Wright
body: Hi [@Sandra Martin](/t5/user/viewprofilepage/user-id/1635740)

There's not an option to set a default method and the suggestion for it - [CONFSERVER-11194](https://jira.atlassian.com/browse/CONFSERVER-11194) - was closed as "Won't Fix".

It does suggest an alternative though in the answer from Atlassian, including this [free app](https://marketplace.atlassian.com/apps/1211190/external-links-for-confluence?hosting=server&tab=overview) which might resolve it for you, or [this one.](https://marketplace.atlassian.com/apps/1217707/link-opener-for-confluence?hosting=server&tab=overview&_ga=2.176934816.484963950.1575263465-1320004881.1571559101)

Alternatively you could try these options (one of which is similar to embedding the links as HTML so you can clarify how links open):

* [Force Links to Open in New Window](https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html?_ga=2.228380440.484963950.1575263465-1320004881.1571559101)
* [Attachments Open in New Window](https://confluence.atlassian.com/confkb/how-do-i-make-my-attachments-open-in-a-new-window-or-tab-313459830.html)

See a long discussion on this [here](https://community.atlassian.com/t5/Confluence-questions/Confluence-hyperlink-which-open-a-new-tab-or-a-new-window/qaq-p/406092).

Ste

comments: author: Sandra Martin
body: Thank you. [@Ste Wright](/t5/user/viewprofilepage/user-id/1166470) very useful information.


author: Ste Wright
body: Let us know if one of these works - if it does, could you accept the answer so other users who locate this question know what to look for? :)

Ste


Tags: confluence-server

server
Searchablee published blog post not appearing in navigation
Asked by Mick F:

Hello!

I can find my published blog posts if searching for them. However they don't appear in the navigation pane.

Blog posts missing in navigation/menu:

![Screen Shot 2019-12-02 at 2.33.11 pm.png](/t5/image/serverpage/image-id/74608iB5951103E55720D4/image-size/large?v=v2&px=999 "Screen Shot 2019-12-02 at 2.33.11 pm.png")

Blog post appears in search results:

![Screen Shot 2019-12-02 at 2.36.05 pm.png](/t5/image/serverpage/image-id/74609i4EC2B99F405A351E/image-size/large?v=v2&px=999 "Screen Shot 2019-12-02 at 2.36.05 pm.png")

Thanks in advance for your help!

Cheers,

Mick


Answers:
author: Shannon S
body: Hello Mick,

Welcome to Atlassian Community. It's nice to have you!

The pages could be orphaned pages. Have a look at [Move, Copy, and Hide pages](https://confluence.atlassian.com/confcloud/move-copy-and-hide-pages-724764858.html) for how to check for orphaned pages:
> If you do not have *any* incoming links, your page will be an orphan. Confluence lets you see a list of orphaned pages in your space. This is useful if you're using [include page macros](https://confluence.atlassian.com/confcloud/include-page-macro-724765214.html) to pull content from one page onto multiple other pages. As you add and remove content over time, you can see which pages aren't being referenced anywhere by checking the **Orphaned Pages** list.
>
> **To view the orphaned pages in a space:**

*
  > Go to a page in the space
*
  > Choose **Space settings** from the sidebar \> **Content Tools** \>**Orphaned Pages**

Let me know if you have any questions about that.

Regards,

Shannon


Tags: confluence-cloud

new-to-confluence
Images - any way to lock an image from opening up in image viewer?
Asked by Wayne Jolly:

When you have added an image, the default is either it has a link attached, and will go to that link, or the image viewer opens. Wanting to know if there is any way to just have the image do nothing?


Answers:
author: Alex Koxaras _Relational_
body: Hi [@Wayne Jolly](/t5/user/viewprofilepage/user-id/3657920)

Unfortunately you can't do this. You could this in the server version (take a look at [this thread](https://community.atlassian.com/t5/Confluence-questions/Disable-document-file-preview/qaq-p/610685))


Tags: cloud

confluence-cloud