youngmon/atlassian-qna huggingface dataset:
Is SourceTree for Windows 2.0.20.1 using out-of-date LibGit2 with known security issues?
Asked by Richard Taylor:

I believe SourceTree for windows is using LibGit2 v0.24.0 from March 2016 which has 5 subsequent versions that fix known security issues including 2 CVEs.

I'm basing this on "C:\\Users\\\<users\>\\AppData\\Local\\SourceTree\\app-2.0.20.1\\NativeBinaries\\amd64" containing the file "git2-785d8c4.dll". The file properties say the version is 0.24.0, and the "785d8c4" matches the hash on that version. See <https://github.com/libgit2/libgit2/releases/tag/v0.24.0>

I looked into this because 2 of my repos crash SourceTree 2.20.0.1 in this dll (having upgraded from 1.19.x to this based on the security advisory). I've tried building my own version of LibGit2 v0.24.6, but SourceTree fails to start with it.

I'm hoping that someone can tell me I'm wrong about this, as it seems like somewhat of an "out of the security frying pan, into the security fire" problem, with a bonus of it crashing and being unusable.


Answers:
author: minnsey
body: Hi we are in the process of upgrading and testing these dependencies.  

There is an existing Beta release, without those upgrades, which addresses a series of crashes related to libgit2's handling of repositories with possible data corruption, it can be downloaded here: <https://downloads.atlassian.com/software/sourcetree/windows/beta/SourceTreeSetup-2.1.0-beta-002.exe>  

It is a beta, as such it will install alongside the GA/Production release and will not share data with the production release.

comments: author: Richard Taylor
body: Thanks Michael,

I've just tried it and unfortunately get the same crash in the same location with the same git repo folder. To be honest this one crashed quicker than 2.0.20.1, though the timing is a bit variable so I wouldn't neccessarily say it's a different issue.


author: Richard Taylor
body: Hi Michael,

Is there any update on this? It's now 2.5 months and several release later, and the same, vulnerable, LibGit2 dll is being used (in version 2.1.2.5, the current latest on your website). This also means that my repos continue to crash in sourcetree.

I look forward to hearing some good news soon!


Tags: security
Cannot authenticate with github on Sourcetree 2.0.20.1
Asked by kubawalinski:

Following the security advisory (<https://confluence.atlassian.com/sourcetreekb/sourcetree-security-advisory-2017-05-10-900820365.html>) I started using Sourcetere 2.0.20.1. I am using 2FA on github so I generated a new personal access token with "repo" access to use with the new version of sourcetree.

When I enter the token in the github login popup while pulling the output is:

Logon failed, use ctrl+c to cancel basic credential prompt.

remote: Invalid username or password.

I have double-checked that the token does not contain any whitespace at either end and that my github username is correct. What other troubleshooting steps can I take?


Answers:
author: TT
body: I re-did my OAuth with github under Tools-\>Options-\>Authentication

Then I did a pull from the repo. (Had never been done before because it was a fresh clone.)

Then it worked again.

Possibly related links:

<https://community.atlassian.com/t5/SourceTree-questions/Sourcetree-keeps-asking-for-login-and-password/qaq-p/146765>

<https://community.atlassian.com/t5/Questions/SourceTree-username-authentication-grayed-out/qaq-p/155503>

<https://confluence.atlassian.com/bitbucketserver/permanently-authenticating-with-git-repositories-776639846.html>


author: thiennguyenvan
body: It work, thanks for your answer Tyler


Tags: 2-factor-authentication

github
Not able to clone GIT repository using source tree.
Asked by Kuldeep Singh:

I am getting authentication fail error.

While I am able to access GIT using WEB URL.Whenever I tried to connect to GIT server using source tree my account got lock out

![Source_tree_error.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/1128i3DF24F327D0F389B/image-size/large?v=v2&px=999 "Source_tree_error.JPG")


Answers:
author: Ana Retamal
body: Hi Kuldeep, have you added a remote account already? If so, can you check that the credentials stored in **Tools \> Options \> Authentication** are correct?

If the problem persists, can you let us know:

* From which system are you cloning (Bitbucket Server or Cloud, Github, etc...)?
* Version of Windows
* Version of SourceTree

Best regards,

Ana

comments: author: Ana Retamal
body: You can also refer to [Clone a repository into SourceTree](https://confluence.atlassian.com/sourcetreekb/clone-a-repository-into-sourcetree-780870050.html) to make sure you're following the right steps :)
Why is the sourcetree 2.0.20.1 package publisher Mike Minns, Mike Corsaro instead of Atlassian
Asked by Paul Moors:

When I tried to de-install package sourctree 1.9.10.0 I saw that the Publisher for this and package 2.0.20.1 differ w.r.t the Publisher

![Screenshot_4.png](/t5/image/serverpage/image-id/1118iECB6236AB4B0055B/image-size/large?v=v2&px=999 "Screenshot_4.png")


Answers:
author: minnsey
body: Hi, yes that was an unexpected side-effect of our switch in installer technology. We will fix this going forward. The new installer and app is still signed by Atlassian, whihc hopefully provides re-assurance.

comments: author: Ana Retamal
body: Just to clarify, Mike Minns and Mike Corsaro are SourceTree developers here in Atlassian :)


author: Paul Moors
body: Thx for the update


author: Ana Retamal
body: You're welcome Paul!

Have a good day :)

Ana


author: Michael Benz
body: Also found this confirmation reassuring.


Tags: windows
install SourceTree 2.0 on Windows via internal software distribution
Asked by Kai-Uwe Rommel:

We use SourceTree in our company on about 50 seats. Therefore I would like to distribute and update it with our internal software distribution system. That has worked well with 1.9 but does no longer work with 2.0.

Unfortunately, SourceTree 2.0 does no longer come with a conventional setup tool and - to make things worse - installs into the users Windows profile. That means that a) it is not available for "all" users but everyone needs to install it separately (this is a problem on Windows terminal servers) and b) is "bad" in the sense that companies usually forbid executing program files from within a users profile directory via group policies.

Does anyone have an idea/proposal how to solve those problems?

Apparently, SourceTree 2.0 is kind of a "portable" application. So I guess I can simply copy it around as I want and create some own simple setup script. Any problem to watch out for?


Answers:
author: Ana Retamal
body: Hi Kai-Uwe. Last year, we removed the notion licensing and asked our developers to register the product by creating an Atlassian account. Atlassian account, allows our developers to easily accept Atlassian's Customer Agreement and have a single login for all of our cloud products. Additionally, it ensures that SourceTree is distributed with respect to US Export Control laws.

We really appreciate you wanting to standardize on SourceTree, but unfortunately, we don't have an elegant way to package and distribute it pre-installed on multiple machines.

We are tracking direct feedback on this specific request at <https://jira.atlassian.com/browse/SRCTREEWIN-4666>. Please feel free to add your feedback, and specifics around your teams' needs.

Regarding the script, keep in mind that every user will need to use their Atlassian account to register SourceTree. Apart from that, it will depend on how complex you want to make it.

Best regards,

Ana
Unable import Space
Asked by Rhishavdas K:

I'm trying to upload the software documentation as a XML file from my vendor, however, we were unable to upload the file and it's showing the below error message.  
**ERROR: insert or update on table "content" violates foreign key constraint "fkk6kbb7suqeloj82nx7xdcd803"**

I tried both import site and import space, and both xml and html file I'm getting the error message with both uploading options.

Please assist with uploading my documentation to confluence.


Answers:
author: Marc - Devoteam
body: Hi [@Rhishavdas K](/t5/user/viewprofilepage/user-id/5342554)

I suggested to re-export and try importing again.

I would suggest if that doesn't work to contact Atlassian support and reference the following Jira ticket.

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

I see that you are on a free plan in Cloud, this will not allow you to reach Atlassian Support.

A work around for this it to temporary active your free trail on the standard plan and raise an issue, then revert back o the free plan when you issue is resolved

comments: author: Rhishavdas K
body: sure, Let me try that.


Tags: cloud

confluence-cloud
Calendar Events
Asked by dinhbri@gmail.com:

Hello, I've recent migrated from SharePoint over to Confluence. After watching many videos and searching I am still not able to figure out how to display events on my home page. Is this possible with Confluence? I'm hoping to display upcoming events on the right hand side of my homepage. Thanks!  

![Events.PNG](/t5/image/serverpage/image-id/286615iFAFE6FD3C18B86BA/image-size/large?v=v2&px=999 "Events.PNG")


Answers:
author: Brant Schroeder
body: [dinhbri@gmail.com](/t5/user/viewprofilepage/user-id/5342503) Welcome to the Atlassian community

If you have premium and have team calendars you could add the calendar widget to the main page. Other than that you will have to keep doing what you are doing. Learn more about team calendars here: <https://support.atlassian.com/confluence-cloud/docs/create-add-and-edit-calendars/>

comments: author: Brant Schroeder
body: [dinhbri@gmail.com](/t5/user/viewprofilepage/user-id/5342503) can you accept this answer to help others?


Tags: cloud

confluence-cloud
How to reorder Confluence macros?
Asked by Colin_McDermott:

In confluence, when you create a page. You can add Macros via the "+" icon.

A lot of these macros we do not use regularly (some not at all).

Others like "Code Block" we use regularly.

Anyone know how to reorder or add/remove macros from the "+" icon?


Answers:
author: Laurie Sciutti
body: Hi [@Colin_McDermott](/t5/user/viewprofilepage/user-id/4842323) \~ not sure if you can reorder them but you can definitely disable them if you're a Confluence admin. Navigate to **Manage Apps** , filter for **macro** , click the **Modules** **Enabled** link, hover over the one you want to disable and click the **Disable** button. HTH

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

comments: author: Colin_McDermott
body: Thank you for offering that I can disable some of these macros.

After searching I found this in the backlog

[https://jira.atlassian.com/browse/CONFSERVER-23368?error=login_required\&error_description=Login+required\&state=c3c5e2bb-d4cf-4f23-9859-c0fa397f3f1a](https://jira.atlassian.com/browse/CONFSERVER-23368?error=login_required&error_description=Login+required&state=c3c5e2bb-d4cf-4f23-9859-c0fa397f3f1a)

\^Atlassian product owner for Confluence... -\> Do this!


author: Laura Campbell _Seibert Media_
body: Another option is the use the shortcut \[ and then start typing the name of the macro. That way you don't have to scroll or search for the macro you want, just insert it directly on the page.


Tags: confluence-server

server
Smart values not working
Asked by Christine Beason:

I am trying to use smart values to alert me when an article reached a year old. I created an automation rule to send me an email when an article reaches a year old. I get the email, but the values are blank. I used this:

Page {{page.title}} at {{page.url}} is a year old and needs review.

But this is what comes in the email:

Page at is a year old and needs review.

What am I missing?


Answers:
author: Christine Beason
body: This condition: ![sv1.png](https://community.atlassian.com/t5/image/serverpage/image-id/286776iDCF8ADA0D80994B5/image-size/large?v=v2&px=999 "sv1.png")

Sends this action:![sv2.png](https://community.atlassian.com/t5/image/serverpage/image-id/286777iFCA81391D0E494B4/image-size/large?v=v2&px=999 "sv2.png")

What is even more strange is that I have another rule with similar conditions that works:

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

Returns this:

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


author: Jack Brickey
body: Hi [@Christine Beason](/t5/user/viewprofilepage/user-id/4475431) ,

I just did a quick test and it seem to work OK for me. I use the exact same smart values.

could you share an image of your automation rule?

comments: author: Jack Brickey
body: That is strange for sure. I Don't do much with Confluence automation to be perfectly honest. I wonder if it's possible that it is a permissions issue. By that I mean, is the page private? Though I think that's a longshot. This might be a question for Atlassian support.


Tags: cloud

confluence-cloud
How can I put on a dashboard number of created or modified Confluence pages?
Asked by El?sabet Halld?rsd?ttir:

Hi

As a part of a knowledge sharing I would like to count how many knowledge pages are created or modified over a period of time, do you have any recommended way to do that?

Or any other way that you would measure the knowledge sharing within a team?


Answers:
author: Rodrigo
body: Hello [@El?sabet Halld?rsd?ttir](/t5/user/viewprofilepage/user-id/5342123), and welcome to the Atlassian Community!

Confluence has some macros that can help provide this information, like the [Recently Updated Macro](https://support.atlassian.com/confluence-cloud/docs/insert-the-recently-updated-macro/) or the [Space List](https://support.atlassian.com/confluence-cloud/docs/insert-the-spaces-list-macro/) macro; however, deeper functionality or information can be found in [Confluence Analytics](https://support.atlassian.com/confluence-cloud/docs/view-analytics-to-see-how-content-is-performing/), which is available for premium and enterprise.

Here, another possibility includes using third-party apps from the [Marketplace](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=analytics). We, bitvoodoo, created [Viewtracker Analytics for Confluence](https://marketplace.atlassian.com/apps/28637/viewtracker-analytics-for-confluence?tab=overview&hosting=cloud), to illustrate content is being used and interacted with.

![Content & Usage - Content.png](https://community.atlassian.com/t5/image/serverpage/image-id/286708i7CC656E7047A973E/image-dimensions/185x116?v=v2 "Content & Usage - Content.png")

I hope this is helpful, and we are open to questions and [demos](https://bitvoodoo-apps.atlassian.net/servicedesk/customer/portal/3/group/9/create/40).

With friendly regards  
Rodrigo

comments: author: El?sabet Halld?rsd?ttir
body: Thanks - i will try this


author: El?sabet Halld?rsd?ttir
body: One Question:

Can I Export / copy the result from the Recently updated Macro? It seems I am not able to do that


author: Aron Gombas _Midori_
body: The [Better Content Archiving app](https://marketplace.atlassian.com/apps/123/better-content-archiving-for-confluence?hosting=cloud&tab=overview) displays dashboards that have gadget with those exact numbers!

You can those number for your whole site:

![Confluence-site-dashboard.png](https://community.atlassian.com/t5/image/serverpage/image-id/313750i82C110398DA95832/image-size/large?v=v2&px=999 "Confluence-site-dashboard.png")

...or for any single space:

![Confluencespace-dashboard.png](https://community.atlassian.com/t5/image/serverpage/image-id/313751i9A880587B54DCADA/image-size/large?v=v2&px=999 "Confluencespace-dashboard.png")

It is super-easy to to use, give this a try!

*(Discl. it is a paid and supported app developed by our team. Free for 10 users!)*


Tags: cloud

confluence-cloud
User Macro not working after upgrade
Asked by Augustin Luton:

Hello,

Could you please help me on this code?

This is a user macro which displays a table with all spaces and their administrators, whatever the current user's permission.

It does not work since upgrading from 7.13 to 7.19

Thanks a lot for your help!

> \<table class="confluenceTable"\>  
> \<tr\>  
> \<th class="confluenceTh"\>Spaces\</th\>  
> \<th class="confluenceTh"\>Admins\</th\>  
> \</tr\>  
>
> #foreach ( $space in $spaces )  
> #if((!($space.isArchived())) \&\& ($space.isGlobal()))  
> \<tr\>  
> #set($result=$space.getDescription().getDescriptionTitle())  
>
> \<td class="confluenceTd"\>\<a href="$req.contextPath$space.getUrlPath()"\>$space.getName()\</a\>\</td\>  
> \<td class="confluenceTd"\>  
> #foreach ($permission in $space.getPermissions())  
> #if ($permission.isUserPermission() \&\& $permission.getType() == "SETSPACEPERMISSIONS")  
> #usernameLink($permission.getUserName())\<br\>  
> #end  
> #end  
> \</td\>  
> \</tr\>  
> #end  
> #end  
> \</table\>


Answers:
author: Augustin Luton
body: This error message is displayed when editing the user macro:
> User Macro **display-all-spaces** may use context keys **\[** spaceManager, req**\]** which are not set in system property **macro.required.velocity.context.keys**. If the macro is not rendered as expected, try to manually add those keys into the system property.


Tags: confluence-server

macro

server

upgrade

user-macro
Issue Exporting PDF and Word Document versions of pages
Asked by luke herbert:

Had this issue come up recently. Occasionally we have need to print some of our confluence pages off to give to various departments, and these can be quite long and in depth. recently we needed to print a 25 page document off however after page 17 images were not exported to the word document showing "this picture can't be displayed."

The PDF was even worse with images resizing, overlapping and not being usable at all.   

any suggestions or input? would be a huge help!


Answers:
author: Dan Breyen
body: Hi [@luke herbert](/t5/user/viewprofilepage/user-id/5342063) welcome to the community! I took a look at Atlassian's Jira site (jira.atlassian.com) and came across this issue: [CONFCLOUD-31714](https://jira.atlassian.com/browse/CONFCLOUD-31714) .

I believe this is the problem you are encountering. If it is, feel free to vote for and watch it for further updates. I voted for it too.


author: Rodrigo
body: Hello [@luke herbert](/t5/user/viewprofilepage/user-id/5342063) and welcome to the Atlassian Community!

Working with PDF's can be a bit complicated with the default functionality (I am crossing my fingers for improvements).

For these cases, I like to recommend a third-party app called [Scroll PDF Exporter](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview), which adds and improves the exporting functionality and results in a neat and quite customizable export that can be saved as a template for future use. Perhaps you can give them a shot or contact their team directly for a demo?

All the best  
Rodrigo


Tags: cloud

confluence-cloud

pdf
Affichage dans un tableau jira du dernier commentaire jira
Asked by Tamby:

Je voudrais afficher dans Confluence des Jira avec leur dernier commentaire


Answers:
author: Thibaut Subra _Elements_
body: Hello [@Tamby](/t5/user/viewprofilepage/user-id/5337540)

Welcome to community!

Can you tell us more about what you're trying to achieve exactly?

In the meantime, if you're willing to use a third party app, I can suggest our application called [Elements Publish](https://marketplace.atlassian.com/apps/1225519/elements-publish-create-confluence-pages-from-jira-issues?tab=overview&hosting=cloud&utm_source=community&utm_medium=forum&utm_campaign=question-2506859) that allows you to publish data from Jira issues (Summary, description, fields, attachments, etc.) directly into Confluence, as well as the [latest comment](https://doc.elements-apps.com/publish-to-confluence/latest/how-to/copy-jira-comments-to-confluence-pages?utm_source=community&utm_medium=forum&utm_campaign=question-2506859).

With a bit more context, I'm sure we can help you more!

Regards

Thibaut

comments: author: Tamby
body: Bonjour

Mon besoin : Suite ? la r?union sur les anomalies Jira, je voudrais afficher dans mon compte rendu d'anomalie Confluence les jira trait?es en r?union pour lesquelles on a mis un commentaire

Actuellement, je reprends chaque jira trait?e et remet le dernier commentaire dans Confluence d'o? ma question de r?cup?rer le dernier commentaire de la jira afin de l'afficher dans mon tableau Confluence

Je ne suis pas s?re de pouvoir utiliser [Elements Publish](https://marketplace.atlassian.com/apps/1225519/elements-publish-create-confluence-pages-from-jira-issues?tab=overview&hosting=cloud&utm_source=community&utm_medium=forum&utm_campaign=question-2506859) si celui-ci ne fait pas partie ni de Confluence ni de Jira. Confluence et jira ?tant ? la main de mon client

Cdt


author: Brant Schroeder
body: [@Tamby](/t5/user/viewprofilepage/user-id/5337540) Welcome to the Atlassian community

You will need to vote for this feature enhancement as it is not available in the delivered product.

* Cloud - <https://jira.atlassian.com/browse/CONFCLOUD-32764>
* Server - <https://jira.atlassian.com/browse/CONFSERVER-32764>

You could check the Atlassian marketplace for an app that provides that functionality.
I cant change restrictions on my documents
Asked by Oziel Carrillo:

Hello, I need to add restriction to my documents but the system says I cant, ,


Answers:
author: Chris
body: You have to be confluence or at least spaceadmin to be able to set restrictions.

(server, datacenter)

KR

Chris

comments: author: Oziel Carrillo
body: I think thats the issue, how can I know my credential's level or who can adjust my user level?

thank you


author: Chris
body: That\`s a task for your confluence administrator, or your user administration, or both (depends if you use active directory in the background, or the internal one).

Not being able to set restrictions suggests that you have normal read/write/comment rights.

KR

Chris


author: Trudy Claspill
body: Hello [@Oziel Carrillo](/t5/user/viewprofilepage/user-id/5342039)

Welcome to the Atlassian community.

What version of Confluence are you using?

Can you provide a screen image of the actual message you are receiving when you try to set page restrictions?


Tags: confluence-server

server
Change Theme for Gantt chart
Asked by Bianca Strauss:

Hi,

is it possible to change the used Gantt Chart Theme in Draw.io? I am using the Mermaid API and according to documentation there are about 5 different themes offered (<http://mermaid.js.org/config/theming.html>) and I would like to switch here. Is that supported by the Draw.io plugin?


Answers:
author: David Benson _draw_io_
body: It's not supported. Mermaid support isn't a core feature of the app, more a bolt-on, so there's limited feature support.

You might be better off using a purpose built Mermaid plugin like [https://marketplace.atlassian.com/apps/1226567/mermaid-diagrams-for-confluence?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1226567/mermaid-diagrams-for-confluence?hosting=cloud&tab=overview).

comments: author: Bianca Strauss
body: Thanks a lot for the information.


author: Bastian -drawio Diagrams-
body: Hi Bianca. Just saw your request and at least wanted to share the link <https://drawio-app.com/blog/increase-productivity-with-gantt-charts-in-draw-io/> with you. Following this blog post, you can create Gantt charts once you downloaded and embedded the gantt custom library. This way, you don't create Gantt charts via Mermaid, but you will be nearly as quick (and you can define the chart yourself, change colour settings etc.


Tags: cloud

confluence-cloud

draw.io