youngmon/atlassian-qna huggingface dataset:
Cannot download/find product license for Sourcetree.
Asked by Jake Valerio:

Hello!

I am using version 1.6.22, I understand this is an outdated version but it is what our university has. I cannot seem to find a license for this product, when I open the application I get the error stating the trial has expired and I need to import a license or register.

I do not have any licenses listed when I go to <https://my.atlassian.com/products/index> and when I try to register through the app I get and error: "The request was aborted: Could not create SSL/TLS secure channel."

Is there another way to get a license?

Thanks


Answers:
author: Andy Heinzer
body: Hi Jake,

I understand that you are looking for an updated Sourcetree license.

That won't be possible for Atlassian to generate licenses for Sourcetree any longer. We changed the way we license that product a while back (Mac v2.2 and Windows v1.8). As such, Sourcetree is free to use now. However you will need to update to a more recent version in order to continue to use it. We also have a KB on the error I think you are seeing over in ["Download your SourceTree license" link is broken on my.atlassian.com](https://confluence.atlassian.com/sourcetreekb/download-your-sourcetree-license-link-is-broken-on-my-atlassian-com-860006975.html).

You can download an updated version of Sourcetree by going to our <https://www.sourcetreeapp.com/> site and download it from there.

I hope this helps.

Andy
Can't clone a remote repo
Asked by noahmizrahi:

I just installed SourceTree on my mac and am attempting to clone a remote repository.

It says:

remote: Invalid username or password.

fatal: Authentication failed for 'git repo'

I've followed the install and setup instructions.

I'm able to pull and commit from the repo without source tree.

I'm obviously missing something like "Here's how you setup source tree to use your ssh key".

Plus I'm logged into source tree with my github login that HAS access to this repo.

What else do I have to do with sourceTree to get authenticated?


Answers:
author: noahmizrahi
body: Thanks. Great support for new users.
GitHub Personal Access Token not working
Asked by Eric Scheid:

Mac OS X 10.12.6 / SourceTree 2.7.6

I have a repo at github. I've created a clone on my laptop. On GitHub I created a Personal Access Token and assigned all the scopes.

In SourceTree I open Preferences, click Accounts, click the GitHub account, click Edit and past the PAT into the password field. It appears to accept that.

I then click Push ... and I get this:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin refs/heads/master:refs/heads/master
Pushing to https://github.com/ericscheid/homebrewery
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/ericscheid/homebrewery/'
(etc)
Completed with errors, see above.?
```

Where am I going wrong?


Answers:
author: Nicolas Panero
body: Hi, did you find any solution to this problem? I'm facing the same issue

Thanks!

comments: author: Nicolas Panero
body: Just in case any of you are still looking for an answer, I finally ended up doing the following:

1- Go to "C:\\Users\\USER\\AppData\\Local\\Atlassian\\SourceTree"

2- Delete the file passwd

3- Open Sourcetree and make some action in the repository (push, fetch, pull)

4- Sourcetree is going to request the password and we are going to enter the PAT

5- Enjoy!

Apparently Sourcetree keeps an old version of the password in that file and doesn't replace it when we change it in the Tools -\> Options -\> Authentication.


author: P_ Mergey
body: You can also check answers to this [related question](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-use-a-personal-access-token-PAT/qaq-p/1263836 "How do I use a personal access token (PAT)") (and maybe more particularly [this one](https://community.atlassian.com/t5/Sourcetree-questions/Re-Re-How-do-I-use-a-personal-access-token-PAT/qaq-p/1777854/comment-id/39193#M39193)). In addition, an interesting summary of procedures can be found on [Stack Overflow](http://%20https://stackoverflow.com/a/68192394/4094098).


Tags: github
Checkout / Lock a file
Asked by Andreas:

Hi!

I have the same question like written here ... but unfortunatelly the answer does not help me.

<https://community.atlassian.com/t5/Answers-Developer-Questions/Check-out-and-lock-file-to-edit/qaq-p/507767>

My problem is: The files we are working an cannot be merged! They are pure binary files (LabVIEW source code). The idea behind GIT as distributed version control system is nice but I'm really missing the possiblity to show a user that he shall not work on a specific file because somebody else is currently working on it. If he does not care about about this hint: ok, that's another story but he shall at least get informed in some way that he should not work on a particular file.

Unfortunatelly I'm also very new on GIT / Sourctree - so I hope to get a hint if this kind of feature is available somewhere or not.

Thanks ind advance.


Answers:
author: Daniel Eads
body: Hey Andreas, welcome to the Community!

Git natively doesn't support lock files. The general idea is to use branches and then merge files when needed. As you found already though, this can be problematic with binary files.

Git LFS is an extension of Git designed for large files (and binaries count!). Git LFS *does* have a provision for locking files. Depending on where you're hosting your git repo, you can make use of the locking functionality in Git LFS.

For example, it's fully supported in Bitbucket Server, and [we have instructions on setting things up and using locking here](https://confluence.atlassian.com/bitbucketserver/working-with-git-lfs-files-970595880.html).

In Bitbucket Cloud however (bitbucket.org), we support Git LFS but currently not the locking functionality. There's an [open feature request to add locking capabilities in Bitbucket Cloud](https://jira.atlassian.com/browse/BCLOUD-14454) if you're using it to host and interested in seeing the lock functionality added.

I hope that helps you!

Cheers,  
Daniel
Adapt the page to the display
Asked by Y?cel Poyraz:

hello everyone, i would like to adjust the content of my confluence page so that it adapts to any monitor size. when i view my page on a 22 inch it looks organized but as soon as i drag it to my laptop it doesn't show the whole page. How can I set it to scale automatically?


Answers:
author: Kristian Klima
body: Hello [@Y?cel Poyraz](/t5/user/viewprofilepage/user-id/5490992) and welcome.

* Check the resolution and scaling on your screens. If your laptop's screen has fewer vertical DISPLAYED pixels than your external monitor, things will get bigger (you will fit less content on a screen, that's unfortunately, normal). It's all about physical pixels, displayed pixels, scaling and DPI.
* You can experiment with [themes](https://marketplace.atlassian.com/search?category=Themes%20%26%20styles&hosting=cloud&product=confluence) *yourdomain*.atlassian.net/wiki/admin/choosetheme.action
* Use an app to create a dedicated website for your confluence content - this will give you more options to tweak CSS and JS. For example, we're using K15t's Scroll Viewport on our <https://docs.emplifi.io/> and I know for certain that you can code in font resizing depending on the window size.


Tags: cloud

confluence-cloud
issue turning off Highlighted cells...
Asked by Keating Poteet:

Hello -

I'm having an issue with copied cells that are highlighted, not being able to remove the highlighting...

When I copy a cell that is highlighted, I'm not able to remove the highlighting - the no-fill option has no effect to remove the highlighting...

Please advise if this is a known issue...

Thank you,

Keating


Answers:
author: Josh Shepherd
body: This may or may not be the solution for you... I have pasted cells with highlights in the past that didn't seem to want to clear. My solution was to change it into a different colour, then change it to white. That 2-step fixed it for me.


Tags: confluence-data-center

data-center
Connect Confluence Whiteboards to Jira Software Data center?
Asked by Tina:

Is it possible to connect Confluence Cloud Whiteboard to Jira Software Data center?


Answers:
author: Brant Schroeder
body: [@Tina](/t5/user/viewprofilepage/user-id/390148) I am assuming that if you had an [application link](https://support.atlassian.com/jira-cloud-administration/docs/use-applinks-to-link-to-atlassian-products/) or an [application tunnel](https://support.atlassian.com/organization-administration/docs/connect-to-self-managed-products-with-application-tunnels/) setup that you would be able to identify Jira issues in Confluence Cloud Whiteboards just as you would be able to add an issue to any Confluence page. You would have to set one up to verify but I think it should work.

comments: author: Tina
body: Thanks for the answer [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) , Yes we have application link connected to the Jira DC and it is possible to connect to jira issue on confluence pages via Issue Legacy where it is possible to select the onpreem server. But we haven't find any similar from the Whiteboard - only the connected Jira cloud and the sandbox environment.


author: Brant Schroeder
body: [@Tina](/t5/user/viewprofilepage/user-id/390148) It looks like this feature is not available yet. I found this feature request that you can vote for and follow. <https://jira.atlassian.com/browse/CONFCLOUD-77674>


author: Tina
body: Thanks for the answer [@Brant Schroeder](/t5/user/viewprofilepage/user-id/769100) .


Tags: cloud

confluence-cloud

confluence-server

server
Identification and deletion of duplicate attachments in Confluence
Asked by Vinay Sharma:

Is there a way to:

a) Identify duplicate attachments in a Space and in an entire Confluence Instance

b) Delete duplicate attachments.


Answers:
author: Barbara Szczesniak
body: [@Vinay Sharma](/t5/user/viewprofilepage/user-id/1521468) You should also take into account that different pages may refer to different duplicates and that attachments with the same name are not necessarily the same actual file or version of the file. You will want to decide which one you're going to keep and update all references to point to that version before deleting the unwanted attachments.


author: Jack Brickey
body: Hi [@Vinay Sharma](/t5/user/viewprofilepage/user-id/1521468) , would the duplicates be constrained to the same space? If so you can view all attachments for a given space and delete the unwanted. Please see this article for more on managing attachments- [manage-uploaded-files](https://support.atlassian.com/confluence-cloud/docs/manage-uploaded-files/) .


Tags: confluence-data-center

data-center
User Macro to display the number of days since the last modification date
Asked by Anusha Wilson:

Hi,

I am creating a user Macro to display the number of days since the last modification date.It works on few pages,but on few pages it doesnt load. Could you help figure out if there is anything missing

## [@Param](/t5/user/viewprofilepage/user-id/1345631) pageReviewDays:title=Page Review Days\|type=int\|required=true  
\<html\>  
\<body\>

\<h2\>Outdated Pages\</h2\>

\<table border=1 id="t1"\>\</table\>

\</body\>  
\</html\>  
\<script\>  
window.alert("Setting Parameter");  
#set ($limit = $parampageReviewDays)  
var element = document.getElementById("t1")  
window.alert("Getting descendents $limit");

#foreach ( $descendent in $content.getDescendents() )  
var lmdate = "$descendent.getLastModificationDate()";  
var lm = lmdate.split(" ")\[0\];  
var lmsplit = lm.split("-");  
var lmjoin = lmsplit.join("/");  
var limt = "$limit";  
var today = new Date();  
var date = (today.getFullYear()+'/'+(today.getMonth()+1)+'/'+today.getDate()).toString();  
//window.alert(lmjoin);  
var days = daysdifference(lmjoin, date);

element. innerHTML = element. innerHTML + "\<tr\>\<td\>\<a href="+ contextPath +"$descendent.getUrlPath()\> $descendent.title \</a\>\</td\>\</tr\>";

#end  
//window.alert("loaded!")

function daysdifference (firstDate, secondDate){  

let startDay = new Date(firstDate);  
let endDay = new Date(secondDate);  
// Determine the time difference between two dates  
let millisBetween = startDay.getTime() - endDay.getTime();  
return Math.round(millisBetween / (1000 \* 3600 \* 24));  
}  
\</script\>


Answers:
author: Davin Studer
body: First off you should not include the html or body tags in the user macro. That means that you would have an HTML page structure like this, which is a HUGE HTML no no.

```
<html>
<body>

... Lot's of Confluence html stuff here ...

<html>                            -- 
<body>                            --
<h2>Outdated Pages</h2>           --
<table border=1 id="t1"></table>  -- Your user macro code on the left
</body>                           --
</html>                           -- 
<script>                          --
    your JS script                --
</script>                         --

... More of Confluence html stuff here ...

</body>
</html>
```

Secondly, your are using velocity to loop through the page descendants and thus duplicating the JavaScript that is output inthe process redeclaring the same JavaScript variables over and over. That is a JavaScript no no.

What are you trying to accomplish with this?


Tags: confluence-data-center

data-center
Issue with script to display the no. of days from the Last modified date
Asked by Anusha Wilson:

HI,

I have written the below user macro script to display the pages which have crossed the given number of days from the last modified date. The macro works on few pages. But on few pages the table does not load/the script doesnt work. Could you help to check if something is to be corrected.

## [@Param](/t5/user/viewprofilepage/user-id/1345631) pageReviewDays:title=Page Review Days\|type=int\|required=true  
\<html\>  
\<body\>

\<h2\>Outdated Pages\</h2\>

\<table border=1 id="t1"\>\</table\>

\</body\>  
\</html\>  
\<script\>  
window.alert("Setting Parameter");  
#set ($limit = $parampageReviewDays)  
var element = document.getElementById("t1")  
window.alert("Getting descendents $limit");

#foreach ( $descendent in $content.getDescendents() )  
var lmdate = "$descendent.getLastModificationDate()";  
var lm = lmdate.split(" ")\[0\];  
var lmsplit = lm.split("-");  
var lmjoin = lmsplit.join("/");  
var limt = "$limit";  
var today = new Date();  
var date = (today.getFullYear()+'/'+(today.getMonth()+1)+'/'+today.getDate()).toString();  
//window.alert(lmjoin);  
var days = daysdifference(lmjoin, date);

element. innerHTML = element. innerHTML + "\<tr\>\<td\>\<a href="+ contextPath +"$descendent.getUrlPath()\> $descendent.title \</a\>\</td\>\<td\>"+days+"\</td\>\</tr\>";

#end  
//window.alert("loaded!")

function daysdifference (firstDate, secondDate){  

let startDay = new Date(firstDate);  
let endDay = new Date(secondDate);  
// Determine the time difference between two dates  
let millisBetween = startDay.getTime() - endDay.getTime();  
return Math.round(millisBetween / (1000 \* 3600 \* 24));  
}  
\</script\>


Answers:
author: Andrii Maliuta
body: Hello [@Anusha Wilson](/t5/user/viewprofilepage/user-id/3558128) ,

Can you provide the error or issues you get on those pages the macro does not work?

What you need to pay attention to is use of "window.alert()" as the page loading is asynchronous and it can conflict with the AJS modules being loaded on page. You need to check if the page is fully loaded.

The JS code should be inside the "AJS.toInit()" method according to the documentation (<https://developer.atlassian.com/server/confluence/including-javascript-and-css-resources/#web-resource-configuration>) .

```
AJS.toInit(function () {
  // ... your initialisation code here 
});

```

Also, some pages have last modification date as NULL, so you need to check for this too.


Tags: confluence-data-center

data-center
Inquiry Regarding Jira and Confluence Usage and Pricing
Asked by Mootez Ben abdallah:

Dear Atlassian Sales Team,

I hope this email finds you well.

I am currently using Jira with 25 users and I am interested in also utilizing Confluence for 10 users within my team. Could you please confirm if it's possible to have different user counts for each product?

Additionally, I would appreciate it if you could provide me with pricing information for both Jira and Confluence based on the user counts mentioned above.

I would be grateful for a prompt response as I am eager to make decisions regarding our software usage.

Thank you very much for your attention to this matter.

Best regards,


Answers:
author: Dave Rosenlund _Trundl_
body: Welcome to the community, [@Mootez Ben abdallah](/t5/user/viewprofilepage/user-id/5490857) ?

First, please note the Atlassian Community is a peer network of volunteer Atlassian customers/users. We are not Atlassian employees on the whole, although some Atlassians participate.

Second, Atlassian does not have a sales team in the traditional sense. Instead, it offers a combination of [online help/information on pricing \& licensing](https://www.atlassian.com/company/contact/purchasing-licensing#/) (self-help)and a global [network of local Solution Partners](https://www.atlassian.com/partners) (resellers) who can help with your questions and related needs.

Finally, yes --- you *can*have different user tiers for Jira and Confluence. Learn more here (it's always a good idea to search the community for an answer before posting ?):  

#### [Solved: Jira and confluence cloud integration: Different users accounts numbers](https://community.atlassian.com/t5/Jira-questions/Jira-and-confluence-cloud-integration-Different-users-accounts/qaq-p/1586651) {#toc-hId-323560342}

Hope this helps,

-dave


Tags: cloud

confluence-cloud

jira

licensing

pricing
Creating a Child navigation list with additional details
Asked by esaias_strandberg:

Hi,

We have a number of support articles, however it's a bit challenging to keep track of them all. I have found the Child makro that updates the tree structure automatically.   
![example_of_child_structure_display.png](https://community.atlassian.com/t5/image/serverpage/image-id/322054iCEE48CB802E31990/image-size/large?v=v2&px=999 "example_of_child_structure_display.png")

However I'd love to have this function ALSO updating with information such as  
\* status of the article   
\* Who created, who edited in it

\* date of creation

\* date of last edit

![details_of_child_structure_display.png](https://community.atlassian.com/t5/image/serverpage/image-id/322056i083254474C15E649/image-size/large?v=v2&px=999 "details_of_child_structure_display.png")  
So far we have done this manually but it is a bit of double job (that no one does) to update these details in a parallell list manually. It would be such a huge leap forward if this was done automatically.   
I have noticed that when i select the Child tree I can choose to configure it to show "rich content" however this doesn't seem to work; the result is just a blank page.  

Please advice!


Answers:
author: Kristian Klima
body: Hi [@esaias_strandberg](/t5/user/viewprofilepage/user-id/5490773) and welcome to the Community.

You can try Confluence Databases. Once you create a database with all the pages from your tree, you can create columns that will show you exactly what you're after.

In [this article](https://community.atlassian.com/t5/Confluence-articles/Use-Databases-for-your-docs-life-cycle-management/ba-p/2663479?), I explain how to do that.

EDIT: there's [Page Manager](https://marketplace.atlassian.com/apps/1232122/pages-manager-for-confluence-bulk-organize-edit-archive?hosting=cloud&tab=overview) app by Riksoft that should do the job.


author: Bal?zs Szak?l _META-INF_
body: Hi [@esaias_strandberg](/t5/user/viewprofilepage/user-id/5490773) ,

Good news, we got the solution you are looking for!

It is called [Advanced Content Navigator](https://marketplace.atlassian.com/apps/1218865/advanced-content-navigator-filter-pages-changes-statuses?tab=overview&hosting=cloud), which is a kind of Children's Display on Steroids.

![SCR-20240710-mglk.png](https://community.atlassian.com/t5/image/serverpage/image-id/334626iD97231CEA51612E4/image-size/large?v=v2&px=999 "SCR-20240710-mglk.png")

With ACNC you can

* visualize the page tree with
  * page status (also set them)
  * owner (creator)
  * creation/update date
  * and more
* highlight unread pages with purple
* filter for new, old, or specific pages by name, label, and more - in the context of the tree
* Save a view which is useful for you
* show and filter multiple spaces in the Space Navigator

Don't hesitate to send me feedback if you miss something! :)

Best Regards,

Balazs


Tags: child

cloud

makro
Ifttt confiform to jira ticket and email to assignee
Asked by Jag:

Hi there, I have created a Confiform to Jira ticket creation and I would like to IFTTT to email the Assignee. Could someone help with this please?


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Jag](/t5/user/viewprofilepage/user-id/5490391) and welcome to Atlassian community

Good pages to start with are as follows

* <https://wiki.vertuna.com/display/CONFIFORMS/Creating+embedded+form+with+ConfiForms+to+send+emails+directly+from+Confluence>
* <https://wiki.vertuna.com/display/CONFIFORMS/Creating+Jira+issue+from+Confluence+with+ConfiForms>

You just need to merge the two

Alex


Tags: addon-com.vertuna.confluence.plugins.confiforms

confiforms

confluence-data-center

data-center
How do you effectively manage attachment history to maintain complete document history?
Asked by Eric Czirr:

Is there a way to "archive" attachments on a page, or otherwise hide them from view so a user would only be able to see the current attachment associated with a page when looking at the attachment list? I could delete them, but I would like to be able to see a history of previous attachments associated with previous page versions in the page history.

Deleting them would remove them from view, but risks them being permanently lost, and means they have to be restored from the trash to be viewed with the historical page version.

Having all historical attachments in the page attachment list means the list grows the older the page is, and the more the page is updated...

Curious if others have faced this challenge.


Answers:
author: Camilo Galleguillos
body: Hi, [@Eric Czirr](/t5/user/viewprofilepage/user-id/5326889)

Confluence Cloud has an attachment versioning system by default. Each time you reupload a new file with the same filename to the same page (without removing the old one), a new version of the file is created, and only the last one will be visible from the page itself. You can see the attachment version history from the page's Attachments section inside the **...** menu at the top right of the page.

![Table showing different attachments and their version history in Confluence Cloud](https://images.ctfassets.net/zsv3d0ugroxu/7vnmh90EzssdJoghanmatc/d8f6b0f081d191456214d0d9f2743edd/Confluence_Cloud___Screenshot___Attachment_versions)

More information on attachments and versioning:  
<https://support.atlassian.com/confluence-cloud/docs/manage-uploaded-files/>


Tags: cloud