youngmon/atlassian-qna huggingface dataset:
Sourcetree cannot list all changes
Asked by YOUWEI QIN:

Hi all,

When I use sourcetree to view all the changes and modifications for a file, I encountered a problem. Sourcetree is unable to list all the changes between two commits. I suspect it is because I have too manly line in my file (over 10000).

Is there any options that can ask sourcetree to display all the changes for a file with tons of lines.

Cheers,

Youwei


Answers:
author: Seth
body: Diff limits can be set in Options \> Diff. I don't believe the limit can be removed entirely because SourceTree has serious performance issues with large diffs. You can always use the right-click menu to launch the diff in an external viewer, which should include all changes.

comments: author: YOUWEI QIN
body: Thanks Seth. Options \> Diff works for me.However, when I right-clicked the external diff, nothing happens. Do you know if there any software we need to install to use this behavior? Currently I am using winmerge.Cheers,Youwei


author: Seth
body: Winmerge should work, but it needs to be configured in that same Options \> Diff tab.


author: YOUWEI QIN
body: Thanks very much. It works fine.
how do I create an existing remote branch on my local machine in sourcetree
Asked by Diane MacRobie:


Answers:
author: rahuldanwade
body: Hi Diane,

checkout the branch on your local machine from source tree.

If you are using atlassian Bitbucket, Stash, Fisheye the option is available to checkout branch directly on your local machine.

For other hosting applications like "Github" you can add branch through terminal using below command

```
git checkout -b new-featrure  origin/new-featrure
```

I hope this will help you.

thanks

comments: author: Anton Ivanov
body: Where exactly is the option in Source Tree v2 to check out the branch to my local machine?

I have an existing repository but I just want to check out another branch that someone else created.
In what situation would I push local to a different remote branch?
Asked by Shawn Fox:

I have a followup question to the following thread.

[Why does the Push button in toolbar open a dialog with EVERY branch preselected instead of the branch i'm on?](https://answers.atlassian.com/questions/55159)

Why is there a drop down menu for the selection of a remote branch? In what situation would you want o have a local branch be named differently from the remote? Is that more of a GIT issue that GIT allows that, and source tree is just implementing the behavior that GIT allows or is there some other reason for this? I don't understand why a workflow would ever lead to that situation. It seems to me that doing that would only lead to significant confusion. The merge comments would use the local branch name so if you push do different remote then I don't see how that would be a useful thing to do.


Answers:
author: Seth
body: It's just full implementation of Git functionality.

This guy has one simple real-world example (though it still seems like a dangerous practice to me): <http://blog.supermatter.com/post/761870270/git-push-a-local-branch-to-a-different-remote-branch>

comments: author: Shawn Fox
body: Thanks. I learned recently that the following command changes the default behavior of the button. I thought that other readers might be interested in knowing that.git config --system push.default current
[Windows 10] SourceTree not correctly displaying difference between modified files
Asked by Dorian:

Hello there everyone!

I upgraded my system to **Windows 10** recently and reinstalled everything including SourceTree. And now the issue is that once I replace one file inside my project with a **exactly identica** l file *(meaning the content of it is the same but **creation date different**)* it shows as a newly added file in SourceTree which it did not on Windows 7.

I would like it to work as it did on Windows 7; once a file is replaced ***(ignore the creation date)*** show only difference between the content of the file and if same ignore.

Any suggestions/solutions are highly appreciated, thanks in advance!


Answers:
author: Seth
body: It seems incredibly odd that the file is showing up as *added*. This implies that the file with that name does not already exist. Does the list of modified files also show that file as being removed? If not, did you accidentally remove it in an earlier commit?
SourceTree Commit Dialog
Asked by Chase Sandmann:

My company requires that commits be structured in a particular way. My coworker wrote some git hooks that run whenever we commit to check if the commits have the required information, and if not, it prompts the user to enter that information. This works well in the command line, and the happy path works in SourceTree too, but when the message is not properly formatted, the commit just hangs when it gets to the input and never continues. Is there some way to bring up a dialog box when a script requests input from the user? I have read that something similar is done when a username and password is required.


Answers:
author: tristanlee85
body: Did you find a solution to this?


Tags: feature
Confiforms: Create Form with predefined rows
Asked by Piotr Gugnowski:

Hey [@Alex Medved _ConfiForms_](/t5/user/viewprofilepage/user-id/781630)

I would like to achieve something that goes like that:

* I create a page with form defined inside
* Newly created form should contain 5 rows at the beginning with predefined data (rows created automatically on page created event?)
* The order of those record shall not be random


Answers:
author: Maximilian Herbert
body: If I got your need right you want to have a table of your entries in the newly created page.

You use the IFTTT to create the page and in the body of the macro you can place a table view.

Set the filter for the Table view so only the data for the current entry gets shown.

If you want to customize the layout of the table view you just place the references to the field in the body of the table view.  

Hope that helps :)


author: Alex Medved _ConfiForms_
body: Hi [@Piotr Gugnowski](/t5/user/viewprofilepage/user-id/5269638)

OK, and what blocks you from achieving that?

Alex

comments: author: Erik Riedel
body: I think Herbert Solution worked well ?


Tags: confiforms

confluence-server

server
Is there a way to export the content of all the sub pages in a hierarchy into PDF?
Asked by Harish R:

My confluence tree is structured as below:

* Digital Space
  * PRODUCT 1
    * Documentation
      * 00
      * 01
      * ..
      * 22
    * Installation
    * ...

Is there a possibility to export the entire content of "Documentation" (=23 pages) one shot into a PDF?


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Harish R](/t5/user/viewprofilepage/user-id/5299392) Welcome to the community!

Yes, you can by following the steps below:

1. Select **Space Settings** from the sidebar.

2. Select **Export space** from the **Manage space** card.

3. Select **PDF** then select **Next.**

4. Select **Custom Export**

5. Select the pages which you want to export only

6. Select **Export** [**Link to the full documentation**](https://support.atlassian.com/confluence-cloud/docs/export-content-to-word-pdf-html-and-xml/)

**Note:**You will need to have Space export permission to do this

I hope it helps!


author: Matthias Gaiser _K15t_
body: [@Harish R](/t5/user/viewprofilepage/user-id/5299392), what Sayed said, is correct.

If you search for easier ways to export a page and its whole subtree, you can give our app [Scroll PDF Exporter](https://marketplace.atlassian.com/apps/7019/scroll-pdf-exporter-for-confluence?hosting=cloud&tab=overview) a try. When you're on a page and want to export it, it allows you to export the whole subtree by checking a checkbox.

In addition, it comes with many styling options. So, depending on your needs, check it out or [discuss your use case with us.](https://support.k15t.com)


Tags: cloud
How to publish a paid app.
Asked by Jingao:

I want to publish a paid app, but the payment model can only be set as free.  
I have already added the following configuration to my plugin?  

```
app:
  id: ari:cloud:ecosystem::app/xxxxxxxxxxxxxxxxxxx
  licensing:
    enabled: true
```

Thanks.  
![????_20230823112524.png](/t5/image/serverpage/image-id/276554iE51B960AE017FC5C/image-size/large?v=v2&px=999 "????_20230823112524.png")  


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Jingao](/t5/user/viewprofilepage/user-id/5299074) welcome to the community!

I would suggest raising this question in <https://community.developer.atlassian.com/> as it is specifically designed for developers.


Tags: cloud

confluence-cloud
How do I limit a Policy rule to apply only to guest accounts (Export)
Asked by Scott Windus:

It's quite simple really. I want to restrict guest accounts from being able to export pages to Word/PDF, but not our internal users. I have applied this as a Policy with the new Data Security Polices tool, but it's not letting me set any conditions.

I'm sure there are many policies Admins would like to apply globally, but not always.

TIA


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Scott Windus](/t5/user/viewprofilepage/user-id/3536265) That is a very valid use case but I think at the moment the security policies can only be enforced on space level (only available in [Early Access Program](https://community.atlassian.com/t5/Enterprise-articles/EAP-App-Access-Rule/ba-p/2429115)) or product level specified in the policy coverage and it is not possible to do it based on groups or users.

comments: author: Scott Windus
body: Thanks for confirming the unpleasant news Sayed. Another Atlassian half-arse deployment


Tags: cloud

confluence-cloud
If new users are added to an existing space, can they view previous blog posts?
Asked by Grace Rosenberger:

When adding new users to a space, are they able to view blogs that were posted prior to their addition? We do not want new users to be able to view previous blogs, only blogs that have been posted after they've been added to the space. If this is not how Confluence works, is there a work around by setting specific/ granular viewing restrictions for these newly added users?

Thanks!


Answers:
author: Sayed Bares [ServiceRocket]
body: [@Grace Rosenberger](/t5/user/viewprofilepage/user-id/5299010) welcome to the community!

That is the expected behaviour, when someone is added to a Confluence space by default they will be able to view all contents unless the are restricted. For your specific use case, I would suggest adding [Adding page/blog restrictions.](https://support.atlassian.com/confluence-cloud/docs/add-or-remove-page-restrictions/) This way you can restrict contents to only people who are eligible to view or edit the content.


Tags: cloud

confluence-cloud
Is it possible to subdivide an instance of Confluence
Asked by Stephen Schaff:

We have a lot of data in our confluence instance. It covers a wide range of topics and categories.

I have a new use case for our confluence instance. But a primary part of this use case involves good search results.

I need a way so that when uses are accessing confluence for my use case, search results will be limited to pages entered for my use case.

Is there a way to subdivide confluence to have a separate section from the rest (especially for searching)? Kind of like a mulit-tenant solution?


Answers:
author: Stephen Schaff
body: Turns out you can just select a specific space when you search. This will work fine for me.

comments: author: Cassie the Jira Mechanic
body: [@Stephen Schaff](/t5/user/viewprofilepage/user-id/1134540) also remember you can separately permission them in case you want some users to see space A and the others to only see space B.  

Here is some more information about that if you should need it:  
[What are Confluence Cloud permissions and restrictions? \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/what-are-confluence-cloud-permissions-and-restrictions/)


author: Aron Gombas _Midori_
body: I think using [space categories](https://support.atlassian.com/confluence-cloud/docs/use-labels-to-categorize-spaces/) (aka space labels) are great to group similar spaces to the same category.


author: Logi Helgu
body: Im not sure I have the right context, but what I always try and do is to break things into spaces and then teaching people to search by spaces. So that each space is a category/product/theme...so that no other things are there, this helps a lot (and just in general ;)


author: Rodrigo
body: Hello Stephen,

Another alternative that could simplify this step is using Third-Party apps from the [Marketplace](https://marketplace.atlassian.com/search?hosting=dataCenter&product=confluence&query=Search).

Our team is behind Advanced Search, which allows you to create a search portal that you can customize by adding default CQL values so your users don't have to spend time and can jump directly to the results.

* [Advanced Search for Confluence](https://marketplace.atlassian.com/apps/1223563/advanced-search-for-confluence?hosting=datacenter&tab=overview&utm_source=bitvoodoo-apps.atlassian.net&utm_medium=referral&utm_campaign=Documentation%20ADVSEARCH)

The [use cases](https://bitvoodoo-apps.atlassian.net/wiki/spaces/BVSEARCH/overview?homepageId=9003894138#Possible-use-cases) are multiple, for example:

* A search portal for your users that only contains Pages with the label "Support" in the space "Documentation."
* Or a search field in one of your preferred pages that only shows Blog Posts in the last 30 days.

Perhaps this could help?

All the best  
Rodrigo


Tags: confluence-cloud

server
Create Space Templates in Cloud?
Asked by Alex Sramek:

I'd like to create custom Space Templates in cloud. That is, the templates that are available when creating a new space (e.g. Team, Documentation, Knowledge Base, Software Project).

I haven't found anything in the docs or admin control panel on how to do that.


Answers:
author: Ash Yadav
body: Hi [@Alex Sramek](/t5/user/viewprofilepage/user-id/5255877)

Hmm, looks like you've probably already had a look at <https://support.atlassian.com/confluence-cloud/docs/create-a-space-from-a-template/>

In that case can I ask if you're looking to create these space templates based off existing spaces?

If so, there is a thread on this that might be helpful: <https://community.atlassian.com/t5/Confluence-Cloud-questions/How-to-create-a-custom-space-template-from-an-existing-project/qaq-p/1759045>

Let me know.

Kind Regards,

Ash

comments: author: Alex Sramek
body: Hi Ash,

Yes, I've already seen both of those documents.

I know how to do the process \*manually\*, as the second document you linked suggested. I would like to add my own space template to the template list, so that when a user clicks "Create a Space", they can select a template that I've created from the list alongside ones like Team and Knowledge Base.


author: Ash Yadav
body: Hi [@Alex Sramek](/t5/user/viewprofilepage/user-id/5255877)

Adding to that template list isn't possible from what I've gathered but you're not the first to express interest in it, there was movement on this topic recently enough here:

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

As of now, the only alternative I can think of to the "manual" process is through some form of a plugin such as [https://marketplace.atlassian.com/apps/1214324/page-tree-creator-blueprint-template-former-space-tree?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1214324/page-tree-creator-blueprint-template-former-space-tree?hosting=cloud&tab=overview)

(Please note I'm not affiliated or associated with the developer in anyway, It just was one of the top plugins matching your requirements).

Kind Regards,

Ash


author: Alex Sramek
body: Thank you! I've just voted for and watched the issue. That's a LOT of votes on there, shame it hasn't been prioritized.


author: Ash Yadav
body: No problem, the good signs are that it's getting traction, I don't have much more information than that though :)


Tags: cloud

confluence-cloud
Is Atlassian considering to add syntax support for SAS and R code to the Code Block Macro?
Asked by Stephen Schwartz:

The current Code Block Macro for confluence supports Python and Scala, but not other commonly used statistical programming languages such as SAS, R, or STATA. It would be very useful for data science teams everywhere it it supported these too, natively.


Answers:
author: Aron Gombas _Midori_
body: Hmm, a quick search reveals that for Confluence Cloud, there are [at least 3 promising apps](https://marketplace.atlassian.com/search?hosting=cloud&product=confluence&query=syntax) that provide syntax highlighting for additional programming languages.

But, for Confluence Server (and Data Center), there aren't any... :-(

comments: author: Stephen Schwartz
body: Yep, my company uses server..


Tags: confluence-server

server
Unable to access Confluence
Asked by Maria Carolina Tuma:

I've been invited to contribute on a document, my email adress was entered by the author who invited me, yet when I try the link, access is denied to me.


Answers:
author: Trudy Claspill
body: Hello [@Maria Carolina Tuma](/t5/user/viewprofilepage/user-id/5298894)

Welcome to the community.

Can you provide us with a screen image of the message you are getting?

Are you unable to login to the Confluence site at all?

Are you getting a message that you have encountered restricted content?

comments: author: Maria Carolina Tuma
body: Thanks, the issue was resolved with a new invitation from the author.


Tags: cloud

confluence-cloud
Unable to click on menu tabs in Confluence
Asked by Marvin Mendez:

We recently implemented some Microsoft Edge hardening policies and now Confluence is not working properly. Is this being caused because there are some 3rd party site cookies that are needed to be allowed so that Confluence can load and give me the ability to click on the tabs?

Please let me know, thank you!


Answers:
author: Vronik
body: I understand that it is already solved, because it has been a while


Tags: cloud

confluence-cloud
how to activate my space ?
Asked by DHAVAL NANAVATI:

i have not used since long my confluence site; how can i activate it back again ?


Answers:
author: Jack Brickey
body: Hi [@DHAVAL NANAVATI](/t5/user/viewprofilepage/user-id/5298807) ,

If you cannot access your site please contact [Atlassian support](https://support.atlassian.com/contact/#/).


Tags: cloud

confluence-cloud
Automatically add labels to page attachments
Asked by Karrie Donbergs:

Is there a way to automatically add labels to new page attachments?

I know that labels can be included with a page template, so when a new page is created in a space the page labels will carry over. Is there anything similar for page attachments?

Thank you


Answers:
author: Helmy Ibrahim _Adaptavist_
body: Hi [@Karrie Donbergs](/t5/user/viewprofilepage/user-id/5298753)

Adding on to [@Aron Gombas _Midori_](/t5/user/viewprofilepage/user-id/502447) 's comment - your requirement is definitely possible with ScriptRunner for Confluence Cloud.

Please follow the following steps to set it up:

1. Create a [Script Listener](https://docs.adaptavist.com/sr4cc/latest/features/script-listeners)
2. Listen to the 'Attachment Created' event
3. Use the following sample script:

   ```
   attachments.each { attachment ->
       def attachmentId = attachment.idAsString

       post("/wiki/rest/api/content/${attachmentId}/label")
           .header('Content-Type', 'application/json')
           .header('Accept', 'application/json')
           .body([
               prefix: 'global',
               name: 'label-name'
           ])
   }
   ```

Currently, the script will add a label to all attachments created. Of course, you could tune the script by specifying various conditions so that it only runs when you want it to.

Please let me know if you have any further questions on this.

I hope this helps!

Kind regards,  
Helmy


author: Aron Gombas _Midori_
body: This use case sounds something typically solved with [Confluence Automation](https://support.atlassian.com/confluence-cloud/docs/what-is-confluence-automation/).

But:

1. There is [an action to add labels](https://support.atlassian.com/cloud-automation/docs/actions-in-confluence-automation/#Pages-and-blogs), but it works only for pages and blog posts.
2. And, there is [no trigger](https://support.atlassian.com/cloud-automation/docs/triggers-in-confluence-automation/) "attachment created"...

So, it won't work.

If you don't mind writing Groovy code to implement this automation, then [ScriptRunner](https://marketplace.atlassian.com/apps/1215215/scriptrunner-for-confluence?hosting=cloud&tab=overview) could solve this for you. It isn't a very hard problem. If you are lucky, Adaptavist (the vendor of SR) will be able to give you a ready-made script for this.


Tags: cloud

confluence-cloud
Can a confluence guest user VIEW Jira data?
Asked by Trevor Overstreet:

I created a Jira filter view table in a confluence space for a client who has guest permissions into confluence but she is seeing an error when table is populating. I

'm assuming since this user is not a license user they can not see the data even though they're a JSM Portal user?

Note: space has view permissions for everyone

Thanks!

![Screenshot 2023-08-22 at 12.01.37 PM.png](/t5/image/serverpage/image-id/276477iDB5409DAE1261DF3/image-size/large?v=v2&px=999 "Screenshot 2023-08-22 at 12.01.37 PM.png")


Answers:
author: Velizar Borisov
body: Hi [@Trevor Overstreet](/t5/user/viewprofilepage/user-id/4884238) ,

You are right in your assumption. Jira data is retrieved and stored in the page, but it is shown only if the user has valid Jira license. If it comes to issues, raised through the JSM portal, they can only see certain fields like Summary, Description and whichever they are supposed to fill in the form, but SLAs for example cannot be shown to the user.

Hope that helps!

Velizar

comments: author: Trevor Overstreet
body: Thank you for the quick response Velizar!

What about saving a Public filter query and embedding the query into a confluence space? Would it be the same result?

![Screenshot 2023-08-22 at 1.01.17 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/276493iCC4106EFE0FBAA10/image-dimensions/206x257?v=v2 "Screenshot 2023-08-22 at 1.01.17 PM.png")


author: Velizar Borisov
body: Yes. Setting a filter as a public, means anyone who is logged in Jira (has valid license) will be able to see the results from that filter. In addition, there's another level of permissions, which the filter will comply with and that is the project level. That means the user should have permissions to a project along with the Jira license in order to see the tickets.

Hope that helps!


author: Trevor Overstreet
body: Thank you Velizar!


Tags: cloud

confluence-cloud