Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Custom action not showing in repository browser

A custom action will not appear in the "Custom Actions" context menu that is accessed from the Repository Browser unless its Parameter starts with "$REPO"


Steps to reproduce


  1. Create a custom action
    • Set Menu caption as "Echo"
    • Set Script to run as "echo"
    • Set Parameters as "here $REPO"
    • Screen Shot 2019-02-23 at 10.09.21 .png
  2. Open the Repository Browser window
  3. Ctrl-Click a repository and open the Custom Actions menu.
  4. The "Echo" action is not showing
  5. Now edit the "Echo" custom action
    • Change the Parameters to be just "$REPO"
  6. Now open the Repository Browser window again
  7. Similarly Ctrl-Click a repository and open the Custom Actions menu.
  8. The "Echo" action is now showing.

This is occurring in SourceTree for Mac version 3.1.1 (213) on macOS Mojave 10.14.3.

The main issue is that I have a "Garbage Collect" custom action with the following settings:

  • Script to run: git
  • Parameters: -C $REPO gc --aggressive

This used to work but the menu option is longer appearing in recent versions of SourceTree.


1 answer

1 vote
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Feb 26, 2019

Hi @Sasmito Adibowo,

Our apologies for the hiccup and our thanks for the detailed information! Please file this as a ticket in our public issue tracker and we'll be sure to take a look for a future update.


Brian Ganninger
Principal Developer, Sourcetree

It seems the issue was not filed, but I did come to a similar conclusion and posted my findings in the comments of this issue: Would that suffice?

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events