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

Custom action not showing in repository browser

Sasmito Adibowo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 22, 2019

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
bgannin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 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.

Cheers,

Brian Ganninger
Principal Developer, Sourcetree

dalvinio
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2019

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: https://jira.atlassian.com/browse/SRCTREE-5822. Would that suffice?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events