youngmon/atlassian-qna huggingface dataset:
Making selected files the default for commit...
Asked by Michael Richards:

Also would like to have select all as default. I could not find a way to do this in your faq or online or in the menus...


Answers:
author: stevestreeting
body: If you're using Mercurial, or you have 'Use the staging area' disabled in Preferences \> Git, then actually the default behaviour is always to select all files when you hit Commit.


author: KieranA
body: Hi Michael,

Currently if you highlight a bunch of files they will be selected when you hit "Commit". At the moment there is no default to select all, but there is a "Select All" checkbox below the file list in the commit window which you can use.

If you don't want to hit the "Select All" checkbox each time we could file an issue in our issue tracking system as a possible new feature?

Cheers


Tags: default
Resizing the commit message text area in SourceTree
Asked by Paul den Otter:

Since i absolutely love typing enourmous commit messages for my colleagues, i would like to resize the commit message text area in SourceTree but i think there is no way to accomplish that.

Am i wrong and is this the right place to ask about it or should i issue a feature request for this?


Answers:
author: KieranA
body: Hi Paul,

It's not currently possible, but it has already been filed for us to do at some point here: <https://jira.atlassian.com/browse/SRCTREE-1452>

Hope that helps
Git Flow Help Unavailable
Asked by Walter Stanish:

I have read previously about git flow models for various stuff and wanted to make use of them.

Clicking the **Git Flow** button on the toolbar I was presented with some prompts I wasn't totally sure I understood. In a rare display of convention, I actually clicked **(?)** to get some help.

SourceTree v1.5.7.1 reported that it was unable to open help.

As others will be in a similar position to myself grappling with the potential cognitive complexities of flows, this is surely a bug that should be resolved.


Answers:
author: KieranA
body: Hi Walter,

Sorry about that, seems like something happened to the docs in the latest version. I've filed an issue for this one here: <https://jira.atlassian.com/browse/SRCTREE-1455>

If you do a search in the help docs for 'git flow' the correct doc does show up, however, so it's still accessible.

Cheers


Tags: git-flow
Background activity indication + single-session disable option (bandwidth management)
Asked by Walter Stanish:

I travel a lot like I suspect many developers and often operate on low bandwidth connections.

Whilst the **Check default remotes for updates every \<x\> minutes** option is both configurable and possible to disable, it seems that I have had it running on poor connections with a high frequency (10 minutes) and have been wasting a lot of bandwidth.

It would be very useful to have some form of always-visible (but possible to disable) background process notification and and a corresponding option on the notifications to **disable background operations for this session**.


Answers:
author: KieranA
body: Hi Walter,

I've spoken to a few people about this before and it is an issue, especially when developers have 40 or so repositories but they're only using one of them for a month. They don't want their other repositories to refresh, only the one they're actively using. I've filed an issue for this one here: <https://jira.atlassian.com/browse/SRCTREE-1454>

Hope that helps

comments: author: Walter Stanish
body: Thanks Kieran. The one-per-month notion you mention is indeed close to my own workflow (though perhaps more like 3-4 per month).The enable/disable could get tedious if manually achieved. I still think an overall or session-based block on background updates would be a simple and workable solution.Often people are on low-bandwidth links for short periods (eg. at conferences, overseas, on mobile, etc.) and this saves them having to fiddle with their normal config.


author: KieranA
body: I think the option would be something really simple, like a checkbox next to a repo in the bookmarks list. More likely we'd have something like "24 days since last check" with a green/amber/red indicator so it's visually showing you what's going on without having to read anything. If you're happy with that you could make further comments on the JIRA issue and perhaps mark this as answered :)


author: Walter Stanish
body: I believe session-disable is better than a bookmark checklist in many cases because: (A) Preference may be related to bandwidth management and therefore of a temporary nature (B) Single option that affects the current session and is restored later does not affect overall configuration (for example in normal environment) (C) Single option is less clicks (saves time) for the user (D) Single option can pop up or be otherwise made available even if you are working on a repo screen (as per suggestion of displaying somehow SourceTree's background activity) .. whereas the per-repo thing would mean leaving the normal working part of the program to go back to check/uncheck individual repos (E) Repos are potentially extremely numerous. For example I have 78 in my code dir at the moment.


Tags: image

notification
Is it possible to view the full file tree for a given commit?
Asked by Alastair Bain:

Is it possible to view the full file tree for a repository at a given commit (without checking it out and using an external tool)? Git Extensions has this feature and its very handy.


Answers:
author: KieranA
body: Hey there,

Not yet, although we have a lot of awaiting enhancements for the log view. I've filed an issue for you here: <https://jira.atlassian.com/browse/SRCTREE-1450>

Thanks very much!
SourceTree known hosts
Asked by Borislav Kapukaranov:

Hi,

My scenario is the following - I'm testing SourceTree for Windows. I'm trying to add a git repository through SSH that is secured with Gerrit.

I have configured the correct keys using Pageant and tested them with the console - it works there.

However when I try to pull to update the local repository with SourceTree I can't get it working. First everytime I try this SourceTree says it doesn't know the server's key and if I want to store it - everytime I say Yes, yet the key is never stored. Besides the key is already in my known_hosts file in my user's home directory but apparently SourceTree doesn't look there.

Then I retry and get this error:

```
fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.
```

Any ideas how I can connect to the Gerrit managed repos?

Thanks,

Bobby


Answers:
author: Leszek Krupinski
body: The problem with "Unable to authenticate \[preauth\]" is probably because terminal is using ssh and its configuration/keys, and SourceTree is using putty/plink. I had the same situation, and I solved the problem by converting openssh key to PuTTY format, starting plink manually, and loading the key. After that everything went smoothly. In my opinion SourceTree lacks transparency in that department.


author: KieranA
body: Ah yes, could you file a bug? (Sorry, didn't see the Windows at the top!) It's labelled as SRCTREEWIN in [jira.atlassian.com](http://jira.atlassian.com). Thanks very much!


author: Borislav Kapukaranov
body: As I said I tested the keys with the console(terminal) and it is working there. TortoiseGit and Egit are also working just fine with those keys.

It seems only SourceTree for Windows can't find them. I have correctly configured them in Pageant.

I'm trying to find out here how it is supposed to work and if it doesn't then I'll open a bug - that is expected because this version of source tree is still in beta.


author: KieranA
body: Can you pull changes from the terminal successfully? This looks to me like a problem to do with your SSH keys as that error isn't generated by SourceTree. Regardless of whether you can or not it'll help narrow down the problem. Thanks!
Custom "Repository action" fails due to "could not read Password ... Device not configured"
Asked by farmerpaul:

I have set up a few Custom Actions in SourceTree, and they have all worked fine for me. For instance, I have some custom cherry-pick commands that I use from time to time:

* **Name:** Cherry Pick (mainline=1)  
  **Script to run:** /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  
  **Parameters:** cherry-pick $SHA -m 1
* **Name:** Cherry Pick (mainline=2)  
  **Script to run:** /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  
  **Parameters:** cherry-pick $SHA -m 2
* **Name:** Cherry Pick (no commit)  
  **Script to run:** /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  
  **Parameters:** cherry-pick -n $SHA

However, I just created a new Custom Action that operates on the repository in general (not on a specific commit) and I just can't get it to work. Here is its description:

* **Name:** Push (force)  
  **Script to run:** /Applications/SourceTree.app/Contents/Resources/git_local/bin/git  
  **Parameters:** push --force

Each time I attempt to execute this Custom Action, I get this error:

**git push --force**   
**could not read Password for 'https://farmerpaul@github.com': Device not configured
Completed with errors, see above**

Does anyone have any idea why there is this authentication error when I try to simply to do a "git push --force" via a Custom Action?


Answers:
author: farmerpaul
body: Thanks for checking into it. I don't really care which protocol I use, so long as it's easy enough to set up. You've made me such a sucker for GUIs since SourceTree; the less I have to set up via the command line, the better!


author: KieranA
body: It's worth trying SSH (although requires a bit of setting up). We've got a guide here: <https://confluence.atlassian.com/display/BITBUCKET/Using+the+SSH+protocol+with+Bitbucket>

I'll still look into this HTTPS issue in the meantime, but I suspect using SSH in your case will resolve the issue.


author: KieranA
body: Well, this is a known error, and the answer is to use SSH instead of HTTPS, but that's not satisfactory. I'll take a deeper look and see what's going on here.


author: farmerpaul
body: Yup, that's working fine, but only if I use /usr/bin/git (which is the default). If I try to use /Applications/SourceTree.app/Contents/Resources/git_local/bin/git to do a push --force, it fails with a slightly different error:

**fatal: Unable to find remote helper for 'https'**

But it seems to fail with the former error in SourceTree, regardless of which git binary I choose for the Custom Action.


author: KieranA
body: This might be a silly question, but can you do a git push --force outside of this custom action generally?
Force a user to force update before commit
Asked by Gabriel Smith:

Even though they have been asked to update sourcetree before a commit they sometimes for get and it causes them to lose work and or mess up our git


Answers:
author: KieranA
body: Hi there,

This shouldn't be a problem as if they try to push and new commits have been pushed to the remote since their last pull then git/hg will ask them to pull and merge changes before pushing, so they shouldn't lose any work. DVCS's are designed to do this specifically so you don't lose any changes.

You can set up commit hooks which perform some action before a commit. If you browser to ".git/hooks/" in your project directory there's a number of ".sample" files, you'd want to use the pre-commit.sample file and enter a git command in there which will get exected before they commit. Rename the file to just "pre-commit" once you're done and it'll be exected before the commit happens.

I wouldn't suggest this, however, because you shouldn't be losing any changes at all in your process even in your case. There are many times I attempt to do a push and changes have been pushed since my last pull, but I never lose changes because I'm now allowed to push until I pull and merge changes. Perhaps there's something else wrong with the process here - in any case, I wouldn't suggest using hooks to get around the problem you're having. It'd be good to know more about your workflow to find out why this is happening.

Cheers
How to display the links of a ticket that reside in a different Jira instance?
Asked by E B:

Hello, need help configuring a table in Confluence that includes all of the tickets in a Jira Project (Project A) with a certain label (label-A), and all of the linked tickets which are in another Jira instance (Req4Jira, Project B).

I can create the table of Project A tickets in Confluence by adding a Jira issue/filter based on the query "labels=label-A" but when I configure that table and add the "Linked Issues" column, only the issues that are linked that reside in Project A appear, and none of the linked issue in Project B appear since those are in a different Jira instance.

How can I create this table to include the LinkedIssues in Project B based on the Project A tickets?


Answers:
author: Fadoua
body: [@E B](/t5/user/viewprofilepage/user-id/5099798)

Did you add the 2nd Jira instance to Confluence application links? You want to make sure that both applications can communicate with each other., then I am sure you will be able to add the Jira issues to Confluence

Let me know what you did.

Best,

Fadoua


Tags: confluence-server

jira

jql

r4j

report

server
Unable to publish page
Asked by Shipra Jain:

I am unable to publish a new page and also, schedule publishing a page. I tried different browsers, cleared cache, restarting the laptop, but nothing works. How do I resolve this?

![Screen Shot 2023-05-25 at 9.59.16 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/259577i6185591844276B92/image-size/large?v=v2&px=999 "Screen Shot 2023-05-25 at 9.59.16 PM.png")


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Shipra Jain](/t5/user/viewprofilepage/user-id/5228431) and welcome,

in order to perform a troubleshooting on issue that you are experiencing please perform the follwoing steps :

++In your browser:++

* Open developer tools in your browser, view the Network tab and reproduce the issue.

* After clicking Publish and observing the error on screen, look at the Network tab in developer tools.
* There will be a "\<pageID\>?status=draft" PUT request, which looks like this highlighted line:
  * ![](https://confluence.atlassian.com/confkb/files/967892422/967892413/1/1553286922885/image2019-3-22_15-25-45.png)
* Select this line to view the PUT request, and navigate to the "Headers" tab:
  * ![](https://confluence.atlassian.com/confkb/files/967892422/967892417/1/1553286922594/image2019-3-22_15-27-55.png)

Please let us know what is the result.

Fabio

comments: author: Shipra Jain
body: Hi Fabio,

Thank you for responding to my query. I am unable to follow the steps, this is the error I am seeing, please let me know how can I resolve this.

Thank you,

Shipra

![Screen Shot 2023-05-29 at 12.57.29 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/259970iC9D3DEF31A0661EA/image-size/large?v=v2&px=999 "Screen Shot 2023-05-29 at 12.57.29 PM.png")


author: Fabio Racobaldo _Herzum_
body: Hey [@Shipra Jain](/t5/user/viewprofilepage/user-id/5228431) , please take a look to the network tab


author: Justyna Gdowik _ Deviniti _
body: Hi [@Shipra Jain](/t5/user/viewprofilepage/user-id/5228431) !  
Seems like this topic was discussed in [this thread.](https://community.atlassian.com/t5/Confluence-questions/Cannot-publish-page-keep-getting-error/qaq-p/627161)

* Selecting everything on the page (Ctrl+A)
* Copying and pasting it right back in place (Ctrl+C then Ctrl+V)
* Save

Hope it helps ?

comments: author: Shipra Jain
body: Hi [@jus](/t5/user/viewprofilepage/user-id/3357156) I tried that does not work :( I am still unable to publish pages and also schedule publish.


Tags: cloud

confluence-cloud
Table Filter not working. Is this shut off on the server version?
Asked by Audra Bonacki:

![Screenshot 2023-05-25 115545.jpg](/t5/image/serverpage/image-id/259566i4585ED7189A27048/image-size/large?v=v2&px=999 "Screenshot 2023-05-25 115545.jpg")


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Audra Bonacki](/t5/user/viewprofilepage/user-id/737347),  

As Fabio Racobaldo _Herzum_ has kindly mentioned, the issue is not related to the type of your license. Only new Server trials and purchases are no longer available, otherwise everything should be working just fine. Please check [the app](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=server&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) on the Marketplace yourself.  

Maybe smth was done with the database of your Confluence? I can see that there is no vendor, no version, and no modules regarding the app. So, try to reinstall the add-on.  

If nothing helps, please refer to [our support](https://jsd.stiltsoft.com/servicedesk/customer/portal/2) where you'll be able to share logs and other required details confidentially.

comments: author: Audra Bonacki
body: The message I attached is what I see in the Marketplace. I cannot do anything to manage, reinstall or update the add on. I have sent logs to support. Thanks.


author: Fabio Racobaldo _Herzum_
body: Hi [@Audra Bonacki](/t5/user/viewprofilepage/user-id/737347) ,

[Table Filter plugin](https://marketplace.atlassian.com/apps/27447/table-filter-and-charts-for-confluence?tab=overview&hosting=datacenter) is still compatible with Confluence server version. Please, check log files in order to provide us more information about issue that you are experiencing on that.

Moreover, try to unistall and install it again.

Fabio


Tags: confluence-server

filter

server

table

table-filter

table-filter-and-charts
Listing labels that begin with the same word preceding an underscore ('_').
Asked by Alara YILDIZ:

Hello,

In Confluence, we utilize labels to organize our pages, and each label contains the department's name before the underscore to indicate its relevance. For example, we have labels such as 'hr_documents,' 'account_documents,' 'hr_prices,' and 'account_prices.' Our goal is to automatically generate a list of unique labels starting with each department name, such as 'hr,' 'account,' and so on. This way, every department will know what specific information they can search for. Is there a way to automate this process for each department?


Answers:
author: Laura Campbell _Seibert Media_
body: Hello [@Alara YILDIZ](/t5/user/viewprofilepage/user-id/5228265)

I don't believe this is any bulk create option available out of the box. You will need to take a look at some of the apps available on the Marketplace: [https://marketplace.atlassian.com/search?product=confluence\&query=labels](https://marketplace.atlassian.com/search?product=confluence&query=labels)


author: Marco Brundel
body: Hi [@Alara YILDIZ](/t5/user/viewprofilepage/user-id/5228265) ,  

Welcome to the Community.  
Have you already looked at the macro 'Labels list' ?  

[See this documentation](https://support.atlassian.com/confluence-cloud/docs/insert-the-labels-list-macro/).

Regards, Marco

comments: author: Alara YILDIZ
body: Yes, i have but it only allows listing all the labels.


Tags: cloud

label
Greek Characters in confluence PDFexports
Asked by mbitzis:

Greek characters not shown in confluence PDF Exports to jira DC, on version 7.19.1. could you help me ?


Answers:
author: Aron Gombas _Midori_
body: You have to add a new font that includes the Greek glypsh: <https://confluence.atlassian.com/confkb/special-characters-not-exported-to-pdf-1026048337.html>


author: mbitzis
body: Thank you very much for your response. If we still facing this problem, i will let you know!


Tags: confluence-server

server
I have created a confluence page and not want to restrict its access.
Asked by Sachin Pandey:

Hi team,

I hv created one page and now want to restrict its access but i getting below error.

"**You're not allowed to change these restrictions. It's either due to edit restrictions on the page, or permissions settings for this space.**"

How can i get access and how can i know who is the owner of my project.


Answers:
author: Juliette Lallement _Elements Apps_
body: Hi [@Sachin Pandey](/t5/user/viewprofilepage/user-id/5228154)

Are you a space admin for the current space where you're trying to change the page permissions?


author: Justyna Gdowik _ Deviniti _
body: Welcome to the Community [@Sachin Pandey](/t5/user/viewprofilepage/user-id/5228154) !

It appears that you currently lack "Restrictions" access within the designated space. If you are not the administrator of the space, please contact the relevant person and request them to grant you "restrictions" access through space tools / permissions.

Maybe ask your colleagues who is it or it may be a person who gives you access to Confluence.

comments: author: Justyna Gdowik _ Deviniti _
body: Good luck and if you want, you may read here about [Page restrictions](https://confluence.atlassian.com/conf66/page-restrictions-943961704.htm)
Getting error as you do not have permission to create attachments for this project
Asked by Priyanka Anil Ingle:

I am unable to add the attachment to the JIRA project as I am getting error as - You do not have permission to create attachments for this project.


Answers:
author: Justyna Gdowik _ Deviniti _
body: Hi [@Priyanka Anil Ingle](/t5/user/viewprofilepage/user-id/5228117) you may want to check if you have the permission to add an attachment. Check the permission scheme for your project. There you find the permission "Create Attachments".   
You may also have disabled attachments globally, and if you have administrator permissions, you may change it like that:

* Administration -\> System -\> Attachments
* Click on "Edit Settings and enable Attachments

[Configuring file attachments](https://confluence.atlassian.com/adminjiraserver/configuring-file-attachments-938847851.html)


Tags: cloud

confluence-cloud
User macro not working as expected after version upgrade and DataCenter migration
Asked by Oficina Calidad y Mejora Continua:

Server version before upgrade: 7.13.7

Data Center version: 7.19.8

Previously, we had this code and everything worked fine:

```
## @noparams
$action.dateFormatter.format($content.currentDate)
```

That displayed the format DD-MMMMMMMM-YYYY. Ex: 25-May-2023

After the migration, we found that the user's macro does not display anything, just "$action.dateFormatter.format($content.currentDate)". Just show the date with:

```
## @noparams
$content.currentDate
```

That displays the following format: Thu May 25 12:46:42 CEST 2023

Can anyone figure out this conundrum?


Answers:
author: Matt
body: You're hitting this known bug, sorry "feature" :-) : [\[CONFSERVER-82741\] Variables in user macro are not resolved - Create and track feature requests for Atlassian products.](https://jira.atlassian.com/browse/CONFSERVER-82741?src=confmacro)

There's a workaround or you can try to upgrade to 7.19.9.

Given the code in your user macro, this flag should work:

```
CATALINA_OPTS="-Dmacro.required.velocity.context.keys=action,req,content ${CATALINA_OPTS}"
```


Tags: confluence-server

server

user-macro